- Sat Aug 02, 2008 9:25 am
#53046
Hello everyone, first post. I bought a LPC2468 OEM board from Embedded Artists, and their flash tools documentation is lacking (particularly in the OpenOCD dept). I have two problems with OpenOCD (last version from svn) :
1 - While I can write the internal flash through ISP with Flash Magic, and then use the 'dump_image' command of OpenOCD to verify flash read capabilities, the first 16 DWords always come out as garbage. That would correspond to twice the size of the vector table. The rest of the dump is accurate.
2 - 'flash write_image', while not returning any error, does not modify the flash. However, 'mww' returns 'memory write caused data abort'. I guess write_image does too, but the error does not display. What causes data aborts on write to internal flash? Do I need to disable protection registers first?
Thank you.
Joel
1 - While I can write the internal flash through ISP with Flash Magic, and then use the 'dump_image' command of OpenOCD to verify flash read capabilities, the first 16 DWords always come out as garbage. That would correspond to twice the size of the vector table. The rest of the dump is accurate.
2 - 'flash write_image', while not returning any error, does not modify the flash. However, 'mww' returns 'memory write caused data abort'. I guess write_image does too, but the error does not display. What causes data aborts on write to internal flash? Do I need to disable protection registers first?
Thank you.
Joel