2025-02-02 06:23 AM
Hello,
I need support with the following issue I am facing.
I am using the discovery board STM32F407G-DISC1. When I launch the debug mode, in the SFRs window I get the error "Error reading value".
I am following a course in Udemy for embedded programming using this specific board. Debug mode worked fine until now (implementing GPIO drivers and Interrupts).
To try to issolate the problem, I came back to a simple program from the begining of the course to turn on the LD4. This program was working fine with the debuger, but not it is not.
I have made a search online and found the following procedure:
1. Download STM32 ST-LINK Utility
2. Launch Application.
3. Connect to board.
4. Erase memory.
5. Disconnect from board.
This process worked fine, but did not solved the problem (I am still geting the "Error reading value" message in SFRs).
Any idea how to proceed to solve the problem?
Thank you in advance,
2025-02-02 06:39 AM - edited 2025-02-02 06:42 AM
Hi,
1. ST-LINK Utility is old, deprecated. dont use it.
2. SFRs window : you can see values only while stop/pause debug , not whit running program.