cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746 Disco not debugging on W25Q128

OWLchan
Associate III

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 

4 REPLIES 4
mƎALLEm
ST Employee

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.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
mƎALLEm
ST Employee

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

 

 

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

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

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

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.