2024-11-21 06:18 AM
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.