Skip to main content
GSpre.1
Associate II
Jul 20, 2020 2:40 PM UTC
Solved

How can I write to the QSPI-connected NOR flash on the STM32F7508-DK using ST-link? Moreover, where is the base address of this flash specified?

..

This topic has been closed for replies.
TDK
TDKBest answer
Jul 20, 2020 9:38 PM UTC

QUADSPI is located at 0x90000000 per the reference manual.

"If you feel a post has answered your question, please click ""Accept as Solution""."

7 replies

TDK
TDKBest answer
Jul 20, 2020 9:38 PM UTC

QUADSPI is located at 0x90000000 per the reference manual.

"If you feel a post has answered your question, please click ""Accept as Solution""."
GSpre.1
GSpre.1Author
Associate II
Jul 21, 2020 7:37 AM UTC

Thank you! I can't believe I missed that. Sorry to waste your time :)

Tesla DeLorean
Guru
Jul 20, 2020 11:07 PM UTC

Commercial tools provide algorithms to flash internal and external memories on standard boards.

ST-LINK Utilities and STM32 Cube Programmer provide External Loaders for the ST boards, the F750-DK being materially identical to the F746G-DISCO as I recall.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
GSpre.1
GSpre.1Author
Associate II
Jul 21, 2020 8:13 AM UTC

I'm sorry, I don't use closed-source stuff like that. It also seems ridiculous to have to use a Windows GUI to write to the NOR flash of the device, when excellent cross-platform CLI tools exist for ST-link flashing.

Tesla DeLorean
Guru
Jul 20, 2020 11:08 PM UTC

Example code for the QSPI is also provided as part of the BSP and components libraries.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
GSpre.1
GSpre.1Author
Associate II
Jul 21, 2020 8:14 AM UTC

Yeah, and those are great. But they're all examples of how to read/write to flash over QSPI at *run-time*, no?

Andreas Bolsch
Lead III
Jul 21, 2020 5:05 AM UTC

Version 1.3.0 of STM32CubeIDE has support for QSPI flash for most (all?) Disco and Eval boards, too.