This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Concurrently using XIP and QSPI to read back data from external flash

Dear Nordic,

I have a 4MB external flash on my board, I've successfully run the code on it by using XIP. However, I got stuck when I was trying to read back data from external flash. The following picture has the call stack trace. It's a failure of NRFX_ASSERT.

Some more details:

Using nrfx driver both in bootloader and application is not a good idea, because the driver status is stored in the different RAM area. I add a fake initialization function for QSPI to keep the peripheral status consistent. Do you have any better ideas?

Best Regards,

Eugene

Parents
  • Hi Eugene, 

    I'm sorry that the case is going slower than expected. We have limited staff during the summer holiday period. 

    I have contacted our R&D and I think we are on a limitation of the QSPI that you may not be able to do XIP and access QSPI flash directly. 

    I am checking with them to get the workaround. I will update you when I have the full information and workaround. 

Reply
  • Hi Eugene, 

    I'm sorry that the case is going slower than expected. We have limited staff during the summer holiday period. 

    I have contacted our R&D and I think we are on a limitation of the QSPI that you may not be able to do XIP and access QSPI flash directly. 

    I am checking with them to get the workaround. I will update you when I have the full information and workaround. 

Children
No Data
Related