2023-04-17 12:37 AM
i got read write erase with qspi flash and i got memory map reading well
but can i just write buffer about 0x9000 0000 address for flash writing?
2023-04-17 12:39 AM
it make hardfault and i guess it's right acting but.. is there any ways for using flash like eeprom? with memory map?
2023-04-17 01:22 AM
Check DS / RM / forum, there are several limits concerning MM writing with QSPI.
Wasn't that for QSPI with double data rate only?
BTW, it always helps if you also post the exact type of flash memory you are using.
And the QSPI init.
2023-04-17 04:46 AM
You can't write in this mode.
You have to Abort to get out of memory mapped mode. Then you'll need to erase sectors, write content, and wait for those operations to complete.
2023-05-08 08:27 AM
Hello @SKim.1761 ,
According to the AN4760 "Quad-SPI interface on STM32 microcontrollers and microprocessors" :
"The Memory-mapped mode is used in below cases:
• For reading operations.
• To use external Quad-SPI Flash memory like an internal memory, so any AHB master can read data autonomously.
• For code execution from external Quad-SPI Flash memory"
"The Indirect mode is used in below cases:
• For reading, writing or erasing operations.
• If there is no need for AHB masters to access autonomously the Quad-SPI memory (available in Memorymapped mode).
• For all the operations to be performed through the QUADSPI data registers using CPU or using DMA.
• To configure the Quad-SPI Flash memory."
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.