Dear all,
I developed a simple program on LPC55S28-EVK board that turns ON and OFF the on board RGB LEDs.
It works perfectly and I can debug it.
But if I move the software from default location (0x00000) to 0x10000 the program works but it is not possible to debug it.
Did you have similar problem ? How did you fix it ?
Thank you very much for your help and cooperation
regards
已解决! 转到解答。
Hello @_Ferrari_
luimarma is right.
Just add based on comments from luimarma.
If you just want to debug, there is a method as below.
make sure that "soft reset" is used once the app is programmed in flash at the given address, forcing the debug stub/server to use the entry point found in the app.
BR
Alice
Hello @_Ferrari_
luimarma is right.
Just add based on comments from luimarma.
If you just want to debug, there is a method as below.
make sure that "soft reset" is used once the app is programmed in flash at the given address, forcing the debug stub/server to use the entry point found in the app.
BR
Alice
I believe that you need a second boot loader that points to 0x10000 so you jump to the correct location within the debugger.
At least this happens for me, if I have not installed the second boot loader then the debugger cannot find the code. When the SBL is installed it jumps to 0x10000 and then I get the break point at my main function to resume the debugging