cancel
Showing results for 
Search instead for 
Did you mean: 

FMC_SDRAM example isn't Loading to STM32H750B-DK

Caan
Senior

The STM32H750B-dk Based Custom Board isn't entering debugging mode when using STM32CubeIDE . But QSPI Example Code is working perfectly.

FMC_Error.png

9 REPLIES 9
TDK
Super User

If the FMC settings are bad, the debugger won't be able to connect.

Does the program work in non-debug mode?

 

Consider putting in HAL_Delay(1000) prior to any FMC initialization, setting a breakpoint there, and stepping through.

If you feel a post has answered your question, please click "Accept as Solution".

When Downloading the binary directly into the Board same error Shows up.

The Custom Board is an Exact Replica of the STM32H750B-DK with Dual Flash (same part number and SDRAM IS42s322400F Connected with the same Pins as per the EVK). However, I am unable to start the basic TouchGFX code. The board is connected using STM32CUBEProgrammer with the external loader selected, and the erase and load functions are working properly.


@Caan wrote:

The Custom Board is an Exact Replica of the STM32H750B-DK 


Try to load the example to a STM32H750B-DK board and check again.

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.

A sample Touchgfx Code I just now built runs wonderful on the STM32H750B-DK but the same code is going in Hard fault on Custom board.

I think the STM32H750B-DK uses MT48LC2M32B2 as SDRAM and I am Using IS42S32400F as SDRAM.

Before going ahead to TouchGFX which is another question.

 As the original question was about FMC example, what if you load that FMC example to the STM32H750B-DK board?

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.

FMC Example through the same error as my custom board on the STM32H750B-DK. 

Do you mean you are facing an issue with STM32H750B-DK with this example?:

on https://github.com/STMicroelectronics/STM32CubeH7/tree/master/Projects/STM32H750B-DK/Examples/FMC/FMC_SDRAM

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.

Yes, I have cleaned the old installation files of STM32CUBEH7 Folder and cloned the above link specified by you , But the fresh FMC Code is sending out the same error