Content originally posted in LPCWare by Jaecko on Mon Dec 20 01:01:39 MST 2010
We are using an LPC1114/301 for one of our products. To make a firmware update possible, we divided the flash into 3 sections; 1 sector for a bootstrap (fixed), 2 sectors for the bootloader (updateable) and 5 sectors for the firmware (also updateable). In the XPresso-Workspace, there are 4 projects: Bootstrap, Bootloader, Firmware and CMSIS.
After changing the linker script in a way, that all program sections reside in the correct place, it's not possible to use the debugger (LPC-Link) anymore (LPC Xpresso 3.5.0 and 3.5.6). When starting the debugger, an error message with "15: Target error from Write Memory" appears.
We don't use any not-existing memory areas; all addresses are in valid memories according to the .map-file.
Do you know, what causes this problem or how to solve it?
Regards