venu chekuri

Storing user data to QSPIFlash running in XIP

Discussion created by venu chekuri on Nov 10, 2019
Latest reply on Nov 14, 2019 by Victor Jimenez

 Hi

 

I trying to store user data to QSPI Flash(IS25LP128F) after code area which is connected to IMXRT1050. My application is running from flash in XIP mode.

 

I tried the solutions( https://www.nxp.com/docs/en/application-note/AN12564.pdf ) and reference code(https://www.nxp.com/docs/en/application-note-software/AN12564SW.zip ). Reference from flexspi_rww.c implementation  iam able to read vendorid(flexspi_nor_get_vendor_id(EXAMPLE_FLEXSPI, &vendorID)),Entering into Quad mode( flexspi_nor_enable_quad_mode(EXAMPLE_FLEXSPI)),Erase sector(flexspi_nor_flash_erase_sector(FLEXSPI,SECTOR)) in single step mode while debugging but in free flow of application run the application is crashing.

 

is what iam trying is correct.is there any other solution. 

 

Note : Iam trying to use same QSPI Flash chip to store both application code and  user data storing.

 

Regards

venu

Outcomes