STM32F746G DISCO
Contents
QSPI Flash Programming Support
Before continuing with this article, please read the generic article about QSPI flash programming support on STM32F7 devices (STM32F7 (Q)SPI support). As described in the generic article, the reference flash algorithm is based on the SEGGER Open Flashloader and therefore needs to be added manually using a JLinkDevices.xml file. An example JLinkDevices.xml file as well as pinout used on the STM32F746 Discovery board, is given below. This example assumes a Micron N25Q128A (16MB flash) connected to the Quad-SPI interface of the STM32F746NG. For further information regarding the Open Flashloader and how to use the JLinkDevices.xml file, please refer to the J-Link User Manual (UM08001), chapter 10 Open Flash Loader.
Quad-SPI Interface Pins
The ST STM32F746 Discovery uses the following port pins to interface the (Q)SPI flash.
Alternate function | Port / Pin |
---|---|
QSPI_CLK | PB2 |
QSPI_CS | PB6 |
QSPI_D0 | PD11 |
QSPI_D1 | PD12 |
QSPI_D2 | PE2 |
QSPI_D3 | PD13 |
IAR example project
The example project contains a simple counter loop which is linked into the (Q)SPI flash memory region @ address 0x90000000. The project includes the JLinkDevices.xml file as well as the ST_STM32F446_Reference.elf. It runs out-of-the-box. Please note, that IAR EWARM must at least use the J-Link DLL version V6.01a, which supports the Open Flash Loader.
Limitations
External Debugger
The STM32F746 Discovery board does not come with an connector for external debug probes. We recommend to convert the on board ST-Link to a J-Link OB in order to be able to use this board with J-Link: