AnsweredAssumed Answered

Any RT1021 Examples to Write to QSPI from RAM?

Question asked by samsaprunoff on Apr 2, 2020
Latest reply on Apr 6, 2020 by samsaprunoff

Good day All,

Are there any software examples that demonstrate how one can erase/write a sector of QSPI Flash while XIP from the same QSPI Flash?  I recognize that you cannot do this directly, but would require copying the erase/write firmware to RAM, then execute from RAM, and once complete return back to the QSPI firmware.  I thought before I start doing this I would see if there were any examples that I could learn from.  Basically what I want to do is to store some data into flash (e.g. Ethernet MAC Address, etc) and then retrieve this info upon the next reboot.

Thanks in advance!