J-link

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

J-link

2,565 Views
Nadia
Contributor III

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.

 

0 Kudos
19 Replies

2,379 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Nadia,

Try to check whether it can enter ISP mode, refer to UM11295:

Alice_Yang_0-1624612949082.png

then connect to Flash Magic to connect.

https://community.nxp.com/t5/LPC-Microcontrollers-Knowledge/Flash-Magic-Programing-LPC/ta-p/1152763 

 

BR

Alice

0 Kudos

2,352 Views
Nadia
Contributor III

@Alice_Yang 

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?

0 Kudos

2,302 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Nadia,

Could you please take a video or screenshot show what you said .

0 Kudos

2,558 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello.

How about a simple hello world SDK demo?

And please take a video or screenshot show your steps.

 

BR

Alice

0 Kudos

2,555 Views
Nadia
Contributor III

@Alice_Yang I have loaded the hello world demo.

The same thing happens to me, the J-link led stops glowing for a moment.

0 Kudos

2,547 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello,

Does your board can work well before?

If yes, please erase all flash first, then re-connect board, debug.

Erase steps as below:

Alice_Yang_1-1624526320173.png

 

Alice_Yang_0-1624526313993.png

 

BR

Alice

0 Kudos

2,538 Views
frank_m
Senior Contributor III

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.

0 Kudos

2,531 Views
Nadia
Contributor III

Error..

0 Kudos

2,545 Views
Nadia
Contributor III

I can't delete it.

This is my first time using this microcontroller. I used to work with the LPC546XX, and I had no problems. Now I am working with the LPC55SXX, and I am not able to load the program.

0 Kudos

2,543 Views
Nadia
Contributor III

This is the SwDio signal data. Does anyone know why this might be happening?

0 Kudos

2,527 Views
frank_m
Senior Contributor III

I suppose the debug adapter switches the JTAG/SWD outputs to high-Z when he is done.

Not necessarily a hardware issue.

0 Kudos

2,521 Views
Nadia
Contributor III

@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

0 Kudos

2,524 Views
Nadia
Contributor III

@frank_m How?

0 Kudos

2,525 Views
Nadia
Contributor III

what?

0 Kudos

2,515 Views
frank_m
Senior Contributor III

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 ...

 

0 Kudos

2,512 Views
Nadia
Contributor III

@frank_m @Alice_Yang I don't know. 

0 Kudos

2,500 Views
frank_m
Senior Contributor III

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.

0 Kudos

2,511 Views
Nadia
Contributor III

@frank_m @Alice_Yang Is there a way to reset the microcontroller externally?

0 Kudos

2,329 Views
Nadia
Contributor III

Resolved.
An incompatibility between the external oscillator and the internal clocks of the MCU.

0 Kudos