AnsweredAssumed Answered

RT1052 & JLink

Question asked by Etienne Cochard on Jan 29, 2019
Latest reply on Jan 31, 2019 by Kerry Zhou

Hello,

I am using a SOM (RT1052) board from Embedded Artist  and I have some trouble with JLink debugging.

I used a jlink script file coming from NXP Evboard.

 

When I do not use this script file, I cannot start debugging (It seem that external ram is not ok when using jlink).

With this script file, the JLink cannot erase flash (external qspi), but i can debug. even if sometimes systick interrupt is not fired...

 

(I have to say that without JLink everything is ok & my program is always running correctly)

 

So:

1. I need to first flash my program the device without script

2. I restart the process with a script file to debug, praying for systick is generated.

 

I think the point is in the script that set clock & RAM layout...

Can somebody help me on writing a correct jlink scriptfile specific to my board ?

iMX RT1052 OEM using the NXP i.MX RT1052 SoC - Embedded Artists 

Outcomes