Skip to main content
Graduate
May 22, 2025
Solved

STM32F746 Disco not debugging on W25Q128

  • May 22, 2025
  • 2 replies
  • 568 views

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?


Here is the video tutorial I used 

    This topic has been closed for replies.
    Best answer by mƎALLEm

    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:

    mALLEm_0-1747913154865.png

    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).

     

     

    2 replies

    Technical Moderator
    May 22, 2025

    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.

    OWLchanAuthor
    Graduate
    May 22, 2025

    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

    Technical Moderator
    May 22, 2025

    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 ..

    mƎALLEmAnswer
    Technical Moderator
    May 22, 2025

    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:

    mALLEm_0-1747913154865.png

    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).

     

     

    OWLchanAuthor
    Graduate
    May 23, 2025

    thank you ! i went through the link you provided and tweaked my own code a bit, now i can use both external chips without spending much time recreating the code