Unable to run the application with image header using custom bootloader in IMX RT1170

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

Unable to run the application with image header using custom bootloader in IMX RT1170

128 Views
Ragnar
Contributor III

Hi NXP,

          I'm trying to develop a custom bootloader for my board and when I try to jump to the application. I was unable to reconfigure the device from the application using image_header.

1. When it try to run the application without image_header. I was able to jump to the application and run it with the existing bootloader device configuration. But it is only limited and if I load the different bin file other than existing with different configurations it is getting failed.

2.When I try to run the application with the image_header. It is jumping but stucking at the start itself.

I am using RT1170EVK 

My boot loader starts at 0x30000000 and ends at 0x30010000

Application starts from 0x30010000 ends at 0x31000000

So, can you please help me with this problem.

Regards,

Ragnar. 

0 Kudos
2 Replies

107 Views
Habib_MS
NXP Employee
NXP Employee

Hello @Ragnar ,

In order to support you better can you provide me the next information?

-where will be loaded your image? (RAM or FLASH)

-Is the image_header the header of the IVT?

-Are you using Serial downloader or internal boot?

Also, this post could be help you with your inquiry: i.MX RT FLEXSPI booting guide - NXP Community

 

BR

Habib.

54 Views
Ragnar
Contributor III

Hi @Habib_MS , 

           Thanks for the response. I found that the problem is with my flash loading function as it's not erasing some sectors as a result it is overwriting to the existing data. So the flash data is getting corrupted and I was unable to run the application. Now it got resolved and thank for providing the reference it helped me a lot.

 

Regards,

Ragnar.

0 Kudos