Need help writing flex spi nor config for S25FL128LAGMFM010 on i.MX RT1170

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

Need help writing flex spi nor config for S25FL128LAGMFM010 on i.MX RT1170

144件の閲覧回数
sanjana291
Contributor III

Hello,

I am working with an i.MX RT1170 and external NOR flash S25FL128LAGMFM010.

I generated an fcb.bin using the MCUXpresso Secure Provisioning Tool, and this binary works perfectly with my board. However, when I use the flexspi_nor_config.c inside MCUXpresso IDE (generated/modified manually), I face issues during debug and get the error please find the attachment for error.  

It seems that the .c configuration I made in MCUXpresso does not match the working fcb.bin.

I need support on:

How to correctly write or align flexspi_nor_config.c with the parameters of my working fcb.bin?

Is there a way to convert the fcb.bin into flexspi_nor_config.c for direct use in projects?

Are there any reference files for flexspi_nor_config.c specific to the S25FL128LAGMFM010?

Any guidance or example configurations would be greatly appreciated.

Thanks in advance!

0 件の賞賛
返信
1 返信

111件の閲覧回数
mayliu1
NXP Employee
NXP Employee

Hi @sanjana291 ,

Thank you so much for your interest in our products and for using our community.

Regarding "I generated an fcb.bin using the MCUXpresso Secure Provisioning Tool, and this binary works perfectly with my board. However, when I use the flexspi_nor_config.c inside MCUXpresso IDE (generated/modified manually), I face issues during debug and get the error please find the attachment for error.  "

I think qspiflash_config (in flexspi_nor_config.c file  ) need modify based on  fcb.bin generated by MCUXpresso Secure Provisioning Tool.

Please try to modify qspiflash_config based on fcb.bin, especially pay attention about lookupTable configuration.

We can see the first 4 bytes are ascii "FCFB"   in  fcb.bin.  You can observe the correspondence between the bin file and the qspiflash_config .

mayliu1_2-1755857286004.png

mayliu1_1-1755856944461.png

Wish it helps you.  

Best Regards
MayLiu

0 件の賞賛
返信