dlbeer / mspdebug

Debugging tool for MSP430 MCUs
GNU General Public License v2.0
187 stars 80 forks source link

Can't write 2 bytes into word peripheral space #64

Closed tgtakaoka closed 6 years ago

tgtakaoka commented 6 years ago

mw command can't write 2 bytes data into word peripheral space, 0x100 <= addr < 0x200.

$ mspdebug sim
...
(mspdebug) simio add timer TA3
Added new device "TA3" of type "timer".
(mspdebug) md 0x0170 0x10
    00170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff |................|
(mspdebug) mw 0x0170 0x11 0x22
(mspdebug) md 0x0170 0x10
    00170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff |................|
(mspdebug) mw 0x0170 0x11 0x22 0x33
(mspdebug) md 0x0170 0x10
    00170: 11 22 00 00 00 00 00 00 00 00 00 00 00 00 ff ff |."..............|
(mspdebug) 
tgtakaoka commented 6 years ago

This issue should be addressed by pull request #62.

tgtakaoka commented 6 years ago

Fixed.