2025-05-22 3:15 AM - last edited on 2025-05-22 3:53 AM by Andrew Neil
Hello, today I received a stm32f746-disco board and I immediately coded with the external flash memory that I used on my stm32f750-disco, the problem is that the code doesn't work and I can't debug (before this was easy to do on the f750), after testing I found out that I flashed to its external chip and they are different: n25q128 for the f750 and w25q128 for the f746. My question is whether their external flash memory configuration is the same or do I have to create another project for the stm32f746-disco?
2025-05-22 3:36 AM
Hello,
Why are you using an external flash memory for different boards.
Please refer to the example of QSPI_ExecuteInPlace specific for stm32f746-disco board provided in this link.
2025-05-22 4:29 AM
Hello again,
Regarding the flash memory part number used on the stm32f746-disco board, depends on the board revision.
According to the readme file of the BSP example of that board, it says the following:
REVC3 contains W25Q128 while other versions contain N25Q128.
So you need to refer to the BSP example to configure the memory (the case of USE_STM32746G_DISCO_REVC03).
2025-05-22 4:42 AM
I thought setting something like EXT_MEM_BOOT would be the same? I mean I'm trying to use external flash instead of internal memory and both versions only differ in memory
2025-05-22 4:44 AM
The difference resides in the memory configuration: timings, commands etc .. you need to check.
All the rest is the same: the linker file and the software ..