cancel
Showing results for 
Search instead for 
Did you mean: 

stm32h750 QSPI memory map writing

SKim.1761
Associate III

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?

4 REPLIES 4
SKim.1761
Associate III

it make hardfault and i guess it's right acting but.. is there any ways for using flash like eeprom? with memory map?

LCE
Principal

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.

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.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
KDJEM.1
ST Employee

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.