How to create ivt_flashloader.bin?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to create ivt_flashloader.bin?

2,368件の閲覧回数
jasonedn
Contributor II

I imported the flashloader from RT1010 sdk and built the project without any change. Then I converted evkmimxrt1010_flashloader.axf into ivt_flashloader.bin with elftosb.exe. But it didn't work. The .bd file used in elftosb is attached.

Thanks

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

2,334件の閲覧回数
jasonedn
Contributor II

Hello Jing,

Thanks for your reply. I built the project "evkmimxrt1010_flashloader" and create the flashloader binary, but it failed to run after downloading with sdphost.exe. It's simple to re-produced it on the RT1010EVK.

1. Build the project "evkmimxrt1010_flashloader".

2. Convert *.axf to *.bin

3. Download it onto SRAM with sdphost.exe

4. Jump to the application and it fails.

My question is how to make the built binary work. I made a new board with RT1010 and the JTAG didn't work so I want to use sdphost.exe to download this application to test. The original ivt_flashloader.bin from NXP did work when it's downloaded. But I want to add some debug information in the example project. But it didn't work even without any changes.

Thanks

Jason

0 件の賞賛
返信

2,360件の閲覧回数
jingpan
NXP TechSupport
NXP TechSupport

Hi Jason,

Flashloader runs in RAM. It hasn't IVT or other head.

The BootROM solidified into the i.MX RT chip does not support programming the flash device and the eFuse register. For the two targets, ,n serial download mode the Flashloader image is downloaded to the i.MX RT internal RAM using SDPHost (communicates with the running BootROM) and takes over the device from the BootROM (by the jump-address command of SDPHost). Then it implements the program process (communicates with the blhost tool). 

Please see AN12238 for more detail.

 

Regards,

Jing

0 件の賞賛
返信