How to download and debug in SDRAM use JLINK

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

How to download and debug in SDRAM use JLINK

1,835 Views
liyuxiao_tech
Contributor I

   I want to download and debug directly on  SDRAM based RT1060 EVAL board.

   I have downloaded to SDRAM successful by CMSIS-DAP but cannot set breakpoint and step debug.( IAR IDE )

   But I download failed and debug failed with JLINK...

   

   I got that the RT1050_SDRAM_Init.scp file is important to debug on SDRAM, but I don't know how to use it.

   I want to know how to download and debug on SDRAM by JLINK ?

   Waiting for any reply...   

   Thanks.

Labels (1)
0 Kudos
Reply
1 Reply

1,716 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Jason Lee,

    Please check my test result with the MIMXRT1060-EVK on board CMSIS DAP debugger and the external JLINK debugger.

    I am using the NXP official SDK test it.

1. On board CMSIS DAP debugger:

pastedImage_1.png

2. External JLINK debugger

  Remove J47,J48,J49,J50, connect the Jlink to j21.

  pastedImage_2.png

You can find it works OK and the breakpoint also works.

Please note, you need to select the sdram_debug under workspace, JLINK interface is SWD, not JTAG.

pastedImage_3.png

You can find evkmimxrt1060_sdram_init.mac under:

SDK_2.6.2_EVK-MIMXRT1060\boards\evkmimxrt1060\demo_apps\led_blinky\iar

Other project is the same.

Please try it again, with the newest SDK project.

I can confirm it works.

Wish it helps you!

Any updated information, please kindly let me know.

Have a great day,
Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you

0 Kudos
Reply