Feedback from user of Versaloon:
> If Versaloon reads first sector of FLASH memory from LPC13xx, either with
> vsprog or openocd, it often gets a 16kB BOOT ROM contents instead. The
> solution is to write "2" into register at address 0x40048000, then the
> contents are read well. Otherwise, the memory dump is nonsens at the first

> sector.

For LPC1100 and LPC1300, if the checksum of the vectors is invalid,
SYSMEMREMAP will not be set to Flash Mode, so the first sector of the
flash address is not mapped to flash. SYSMEMREMAP should be written
to Flash Mode, which is '2'.
For LPC1700, I haven't found SYSMEMREMAP register.

-- 
Best Regards, SimonQian
http://www.SimonQian.com <http://www.simonqian.com/>
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to