Cannot boot using BEE encrypted flash image with XIP

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

Cannot boot using BEE encrypted flash image with XIP

1,314件の閲覧回数
JesseCronce
Contributor I
I am having trouble getting an encrypted flash image to boot on an iMX RT 1021 processor using XIP. I am trying to get firmware upgrade to work, so I copy the image into memory, erase the XIP flash (0x60000000 starting address) and write the image from memory to the flash using RAMFUNC functions. If I perform this operation using a non-encrypted image, it works perfectly. The encrypted image however is not working. My fuse settings are all the settings set by using the Burn DEK data button, except for Cfg0 which is 0x1, enable encrypted XIP. I did a binary diff between the image that I can copy to flash and it works, and the image that is encrypted, and what I get is a block of differences from 0x400-0x600 for what I assume are tables to get software to handle the encrypted image, and then everything starting at 0x2000 to the end of the file is changed. Additionally, I tried both AES modes (by setting the encryption type between 0,1 in the command to encrypt the file). How do I resolve this issue? Thanks!
0 件の賞賛
返信
2 返答(返信)

1,266件の閲覧回数
Alexis_A
NXP TechSupport
NXP TechSupport

Hello Jesse,

In the following post is discussed something similar:

iMXRT1021 flexspiNOR unable to use HAB Encrypted X... - NXP Community

Best Regards,

Alexis Andalon

0 件の賞賛
返信

1,310件の閲覧回数
JesseCronce
Contributor I

--wanted to add screenshots of how I'm trying to accomplish this--

0 件の賞賛
返信