How to run app on internal RAM with OTFAD ?

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

How to run app on internal RAM with OTFAD ?

ソリューションへジャンプ
1,037件の閲覧回数
samet-san
Contributor II

Hello 

I want to run my application on internal RAM. And I use OTFAD. 

I want to copy it to internal RAM  and run it after OTFAD decrypt application

 

How can I do it ? 
Thank you

タグ(1)
0 件の賞賛
返信
1 解決策
1,015件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @samet-san 

I understand that you want to store an encrypted image on XIP flash and then execute it from SRAM, please let me know otherwise.

Since the OTFAD can only decrypt from FlexSPI, we may need a bootloader to copy decrypted  image from flash to internal SRAM. Let me check for the simplest solution we could have available.

If you have more details to add regarding your requirements, please let me know.

Diego

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,016件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @samet-san 

I understand that you want to store an encrypted image on XIP flash and then execute it from SRAM, please let me know otherwise.

Since the OTFAD can only decrypt from FlexSPI, we may need a bootloader to copy decrypted  image from flash to internal SRAM. Let me check for the simplest solution we could have available.

If you have more details to add regarding your requirements, please let me know.

Diego

0 件の賞賛
返信
999件の閲覧回数
samet-san
Contributor II

Thank you Diego

It will be better if i start to make a bootloader.  


0 件の賞賛
返信
991件の閲覧回数
diego_charles
NXP TechSupport
NXP TechSupport

Hi @samet-san 

Ok, yes, that is an alternative! We have some bootloader codes avaiable, eventougth they do not support your application use case, they can be used as a reference to boot to the application, they are the flashloader and the NXP SBL

Diego

0 件の賞賛
返信