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

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

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

478 次查看
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 项奖励
回复
2 回复数

457 次查看
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.

404 次查看
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 项奖励
回复