Good afternoon, I'm having a lot of problems trying to load a program on the MCU LPC55S14, with MCUXpresso IDE v11.3.1_5262, the SDK of the LPC55S14 are the 2.9.1.
My problem is the following, I compile the code, and I load it and I get the following message: Break at address "0xeffffffffe" with no debug information available, or outside of program code.
Looking at the j-link I notice that the green led turns off for a moment, but I don't know what the problem is.
If someone could tell me what could be my problem.
Thank you very much.
Hello Nadia,
Try to check whether it can enter ISP mode, refer to UM11295:
then connect to Flash Magic to connect.
https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763
BR
Alice
Why do I have to change lines of code to be able to access the interface to configure the peripherals and pins?
I mean, I create the project for the LPC55S14, and there are some lines where it says LPC55S16, and by changing them I can access the interface to configure the pins and clocks, otherwise I cannot.
Is this normal?
Hello Nadia,
Could you please take a video or screenshot show what you said .
Hello.
How about a simple hello world SDK demo?
And please take a video or screenshot show your steps.
BR
Alice
@Alice_Yang I have loaded the hello world demo.
The same thing happens to me, the J-link led stops glowing for a moment.
Hello,
Does your board can work well before?
If yes, please erase all flash first, then re-connect board, debug.
Erase steps as below:
BR
Alice
As a sidenote, the JLink driver installation usually comes with several tools, including a "J Flash Lite" application, which could be used standalone for this purpose.
Usually found under Programs->Segger-J-Link.
I suppose the debug adapter switches the JTAG/SWD outputs to high-Z when he is done.
Not necessarily a hardware issue.
@frank_m Yes, the debugger works perfectly with the LPC546XX microcontroller. I am currently using the LPC55SXX microcontroller and I am not able to load a program on it, and I have noticed that the data being sent or received by the debugger is not very good. But I don't know why
@frank_m How?
what?
I think there is nothing wrong with your JLink adapter.
I have no experience with the LPC55S14, and the "security enhancements" (a.k.a. EdgeLock) this Cortex M33 device contains. Most probably this is a Flash security related issue, which NXP staff could help to resolve. Hopefully ...
@frank_m @Alice_Yang I don't know.
Since I have neither the experience with this Cortex M33 nor such an eval board, I cannot help you in this case.
But I guess it is a Flash protection issue - this seems a common theme, judging by the treads here.
@frank_m @Alice_Yang Is there a way to reset the microcontroller externally?
Resolved.
An incompatibility between the external oscillator and the internal clocks of the MCU.