Hi,

I am using open-ocd to talk to Microchip Explorer 16 with Plug in module 
PIC32MX.

I tried to flash a word (0x0). But I can't restore it back.

I ran a command like this

 > mdw 0x9d000000
0x9d000000: 0f400038

 >flash fillw 0x9d000000 0x0 1
device id = 0x50938053 (manuf 0x029 dev 0x0938, ver 0x05)
flash size = 12kbytes
device id = 0x50938053 (manuf 0x029 dev 0x0938, ver 0x05)
flash size = 512kbytes
wrote 4 bytes to 0x9d000000 in 2.539032s (0.002 KiB/s)

 > mdw 0x9d000000
0x9d000000: 00000000

But when I try to do restore back the earlier value, it says

 > flash fillw 0x9d000004 0x0f400038 1
Verification error address 0x9d000004, read back 0x00, expected 0x38
in procedure 'flash'

How can I restore the value, am I missing anything here?

Thanks!

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to