AnsweredAssumed Answered

How to properly write into Flash with FlexSPI NOR API ?

Question asked by Paul Guirbal on Mar 10, 2020
Latest reply on Mar 13, 2020 by Mark Butcher

Hi everyone,

My project is using the RT1064 and I am trying to write a sector in flash memory.

I am using the Flex SPI NOR API described in the reference manual.

My issue is when I try to write something at address 0x7003F000, nothing happens regarding the "Memory" view of debugger (or a variable retrieving the value), but when I reboot the board I then see the memory has been updated as I wanted it to be. Why is it updated only after a reset ?

When I write to 0x7004000, no problem everything goes fine. I thought about an alignment issue but the reference manual clearly says the address must be a multiple of 0x1000 and that is the case for 0x7003F000.

Did someone encountered the same issue ?

Do you know how to solve this ?


Thanks a lot!