cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407G-DISC1 "Error reading value" in debug mode

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,

1 REPLY 1
AScha.3
Chief III

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.

 

AScha3_0-1738507359549.png

 

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