MCUXPresso IDE check Link application to RAM burn error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MCUXPresso IDE check Link application to RAM burn error

1,602 次查看
jarman_zhou
Contributor I

Hi,

I used MCUXPresso IDE to import a project evkmimxrt1020_iled_blinky, checked Link application to RAM, and compiled successfully. However, the following errors occurred when downloading to the EVK board, please help to analyze the problem,thanks.

20221024203805.png20221024203721.png20221024204215.png

0 项奖励
回复
5 回复数

1,583 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @jarman_zhou ,

Since the application is link to SRAM, it needn't flash. But it seems you want to program it to flash. You method won't work.

To download SRA</SDRAM application to flash, lease refer to this post.

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/I-MX-RT-How-to-booting-to-SDRAM/ta-p/1125054

 

Regards,

Jing

0 项奖励
回复

1,579 次查看
jarman_zhou
Contributor I

Hi.@jingpan,

Thank you for your reply!

I tried to operate it according to the link document you provided, but failed. The following are my steps and results.

1.Add DCD by MCUxpresso IDE

I completed steps 1-6 according to the article,Then use MCUBootUtility to download.s19 files to NOR flash,The following error message is displayed:

1.png

2.Add DCD by MCUBootUtility

In step 3, set the Device Configuration Data,I choose to C:\Users\Admin\Desktop\NXP-MCUBootUtility-master\src\targets\MIMXRT1021\evkmimxrt1020_xip_boot_header_dcd.bin,The following error is displayed when you click OK:

2.png

Regards,

jarman

0 项奖励
回复

1,565 次查看
jingpan
NXP TechSupport
NXP TechSupport

Hi @jarman_zhou ,

Where do you want the application run, SDRAM or DTC or OCRAM? All of them need to put the application at base_address+0x2000. Please try the second method again. I don't know why there is "permission denied" in your log. Is there security issue?

 

Regards

Jing

0 项奖励
回复

1,563 次查看
jarman_zhou
Contributor I

Hi,@jingpan

Thank you for your reply.

I put MCUBootUtility into another directory to successfully burn the application. I ran the application in SDRAM, but the program did not run after the burning, and there was no print out of the serial port. Here are my specific operation steps.

1.Memory configuration, specify RAM as SDRAM and modify the offset address.

1-1.png

2.Select Link application to RAM.

1-2.png

3.Compile the project and generate the.s19 file.

1-3.png

4.Configuration of DCD and burn the image.

1-4.png1-5.png

1-6.png

The above is my detailed operation steps.

When I tried to run in DTC, the LED was blinking but the debugging serial port still did not print.

Regards

Jarman

0 项奖励
回复

1,555 次查看
jarman_zhou
Contributor I

Hi,@jingpan

The problem has been solved, the reason is the IDE inside also want to add DCD macro, thanks.

Regards

Jarman

0 项奖励
回复