cancel
Showing results for 
Search instead for 
Did you mean: 

FMC communication works without debugger, but not with

hne
Associate

I'm using Keil uVision 5 and ST-Link debugger (Mini). I have a very curios issue with STM32F746, running at 50 MHz.

On the board I'm communicating with a display via FMC. "Suddenly" (as in, I don't know what I changed) the program did not work anymore when launching the debugger and starting the program from debugger. The program does not enter any Hard Fault or other fault handler. I can single step through the whole program, only the FMC communication seems not to work. For debugging I also switched a LED periodically using the RTX OS which is working.

However: When I flash the program and start without debugger, the FMC communication works flawlessly. The program starts up the display is showing without issues.

This is a very inconvient situation and I cannot find out, why this happens? I already changed debugger to older ST-Link, but was no help.

Very strange issue, maybe someone can help here or hint at something I could check.

1 REPLY 1
STOne-32
ST Employee

Dear @hne ,


One hypothesis, it might be a signal integrity or cross talk between FMC signaling and the SWD pins . If you can share your hardware?

STOne-32