Difference between revisions of "STM32F746 (STM32F746 Discovery)"
(Created page with "=== QSPI Flash Programming Support === Before continuing with this article, please read the generic article about QSPI flash programming support: QSPI_Flash_Programming_Su...") |
|||
Line 3: | Line 3: | ||
Before continuing with this article, please read the generic article about QSPI flash programming support: [[QSPI_Flash_Programming_Support]] |
Before continuing with this article, please read the generic article about QSPI flash programming support: [[QSPI_Flash_Programming_Support]] |
||
− | === Setup === |
+ | ==== Setup ==== |
*Hardware: STM32F746 Discovery board |
*Hardware: STM32F746 Discovery board |
||
*Device: STM32F746 |
*Device: STM32F746 |
Revision as of 19:39, 19 January 2017
Contents
QSPI Flash Programming Support
Before continuing with this article, please read the generic article about QSPI flash programming support: QSPI_Flash_Programming_Support
Setup
- Hardware: STM32F746 Discovery board
- Device: STM32F746
- SPI Flash: Micron N25Q128A (16MB flash)
Port / Pin Configuration
Alternate function | Port / Pin |
---|---|
QSPI_CLK | PB2 |
QSPI_CS | PB6 |
QSPI_D0 | PD11 |
QSPI_D1 | PD12 |
QSPI_D2 | PE2 |
QSPI_D3 | PD13 |
JLinkDevices.xml
<Database> <Device> <ChipInfo Vendor="ST" Name="STM32F746NG" Core="JLINK_CORE_CORTEX_M7" /> <FlashBankInfo Name="QSPI Flash" BaseAddr="0x90000000" MaxSize="0x01000000" Loader="ST_STM32F746G_Disco_QSPI.elf" LoaderType="FLASH_ALGO_TYPE_OPEN" /> </Device> </Database>
Files
- JLinkDevices.xml: File:ST STM32F746G Disco QSPI JLinkDevicesXML.zip
- Flashloader *.elf: File:ST STM32F746G Disco QSPI ReferenceFlashAlgorithm.zip
- Example Project: File:ST STM32F746G Disco QSPI IAR7407.zip
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.