RT1010 bootloader sample code flash error

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

RT1010 bootloader sample code flash error

1,302 Views
Omar_hong
Contributor IV

Hello NXP,

  I was flash NXP evkmimxrt1010_flashloader sample code to RT1010 EVK ,

but the result was fail. Attached is my flash error log. Could you give me any advice or help?

==========================================================

NXP: MIMXRT1011xxxxx

DAP stride is 1024 bytes (256 words)

( 65) Chip Setup Complete

Connected: was_reset=true. was_stopped=true

( 70) License Check Complete

File 'evkmimxrt1010_flashloader.axf' load failure: Ef(11). No flash configured at the specified address.

(100) Target Operation Failed

Unable to perform operation!

Command failed with exit code 1

==========================================================

Here is my IDE and SDK version, and I have try this on different workspace, but it still can't work.(I got this SDK from https://mcuxpresso.nxp.com/en/dashboard)

Omar_hong_0-1726108617017.png

 

Following is my building and flashing method .

==============================================

Build 

Omar_hong_1-1726109046048.png

 

==========================================

Flash 

Omar_hong_2-1726109046280.png

 

 

Omar_hong_3-1726109046345.png

 

 

Omar_hong_4-1726109046474.png

 

Omar_hong_5-1726109046401.png

=========================================

I've tried other sample project(Hello_world  & iled_blinky) and they seem to work fine

Omar_hong_6-1726109357767.png

 

The following is the configuration status of my EVK board

Omar_hong_7-1726109372290.jpeg

In addition, after we load the flashloader sample code to RT1010, 

Should  we be able to see the log from RT1010?

Omar_hong_8-1726109611057.png

 

 

 

0 Kudos
Reply
3 Replies

1,271 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Omar_hong ,

Hope you are doing well!

In fact, this is because the flashloader project is a project that links to RAM and does not need to flash to external memory. The GUI tool you are using tries to do this and then reports an error. If you want to run the demo, just use the Debug button in the shortcut tool.

Best regards,
Gavin

Gavin_Jia_0-1726125371674.png

 

0 Kudos
Reply

1,258 Views
Omar_hong
Contributor IV

Hi @Gavin_Jia ,

    Thank you for your reply !

    If I want to flash this project code to external memory,what config do I need to modify ?

Or if this project can't be adjusted in this requirement, could you please provide the

corresponding sample project?

0 Kudos
Reply

1,242 Views
Gavin_Jia
NXP TechSupport
NXP TechSupport

Hi @Omar_hong ,

Currently this official NXP demo is linked to RAM, there is no official information to do what you are talking about. Maybe the OTA project material can help you learn bootloader.

But the program you mentioned is achievable. The specific idea is to use the flashloader as the firmware, copy the firmware to RAM in the program running in flash, and then, jump to RAM to execute this firmware.

We have a Chinese document which provides this case, you can check and refer to it: https://www.nxpic.org.cn/module/forum/thread-620172-1-1.html

Best regards,
Gavin

0 Kudos
Reply