Content originally posted in LPCWare by Mattia Berton on Tue Apr 29 02:53:14 MST 2014
Good morning,
I'm using an LPC1114/301 with optimization O1 and a linker modified for handling flash saving and a secondary UART bootloader. However, when I try to debug with the LPC-Link debugger, I obtain the error "15: Target error from Write Flash: Wt:41: Vectors still have erased values" with Vector catch = True; I'm using LPCXpresso 4.1.2, but I also tried with 7.1.1 and the Flash write error appears again.
I can debug, the firmware seems to have the correct behaviour, but the error in the beginning of the debug session scares me! What does the error mean?
It also seems that this error is Firmware dependent, since reducing the code to debug make the error disappear. Also, the supply is ok, I measured it from the DSO, and it's perfectly on 3.3V.
Do you have any idea of what this error " Wt:41: Vectors still have erased values" is related to? Is it possible to flash the MCU without having to be worried?
Thank you,
Mattia