Rt117x: start a FW from another

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

Rt117x: start a FW from another

258件の閲覧回数
mastupristi
Senior Contributor I

Hi,

one of my FWs needs, for some “special” operations, to copy another FW into RAM and launch it. Simply “jumping” may not work, requiring a number of other operations: resetting (almost) all peripherals, disabling interrupts, basically returning to the state the controller is in as soon as the ROM bootloader yields control to our FW. This can be complex and error-prone.

So I ask what other ways are there to get what I want. Is it possible to take advantage of the ROM bootloader itself? Are there ways to reset the peripherals but not the core? Are there shortcuts to get back to the initial state?

 

best regards

Max

タグ(3)
0 件の賞賛
返信
1 返信

180件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @mastupristi 

Thank you very much for your patience, I have been checking this topic. 

The ROM bootloader does not offer any API to shutdown peripherals. 

diego_charles_0-1718922765543.png

I would recommend checking the shutdown_cleanup() function of the RT1170 flashloader. This function may provide a basis to get started as resets clock to original state before jumping to application. 

Besides this I do not have another recommended procedure, to simplify this process. 

All the best, 

Diego

 

 

0 件の賞賛
返信