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!
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 .
Wish it helps you.
Best Regards
MayLiu