Help with STM32WB External Flash Loader using Quad SPI memory
- September 9, 2020
- 4 replies
- 5469 views
Hi,
I am writing an external flash loader for the STM32WB55RGVx using a Macronix 64Mbit QSPI NOR Flash (MX25R6435F).
I have had some success following the "MOOC - External QSPI loader how to" youtube video series by ST and the example code for memory mapped QSPI available in the "STM32Cube MCU Package" downloaded from ST website.
Using the example code modified to my custom board I am able to erase, write, and read memory-mapped from the FLASH.
However, when I use the created External loader (based on the example code and video series) I am able to read the FLASH using the STM32 CubeProgrammer, but the first 2 bytes are always 0 even when the flash has been erased only.
I also found that the Errata sheet for STM32WB (ES0394) rev. 7 lists some issues with the Quad SPI and I am wondering if there are some additional issues with the QSPI and certain FLASH memories.
Has anyone had success writing an external FLASH loader for the STM32WB or experiences with QSPI FLASH that may help me?
Any help will be much appreciated =)
Kind regards,
Steinar