2025-08-19 9:20 PM
Hi I'm using STM32F411RET6 MCU.
I tried to connect using the programmer to download the firmware, but there was an error as shown below, and the data cannot be read.
13:18:34 : UR connection mode is defined with the HWrst reset mode
13:18:34 : ST-LINK SN : 54FF71067880565211170167
13:18:34 : ST-LINK FW : V2J45S7
13:18:34 : Board : --
13:18:34 : Voltage : 3.22V
13:18:34 : SWD freq : 4000 KHz
13:18:34 : Connect mode: Normal
13:18:34 : Reset mode : Software reset
13:18:34 : Device ID : 0x431
13:18:34 : Revision ID : Rev A
13:18:34 : Debug in Low Power mode is not supported for this device.
13:18:34 : UPLOADING OPTION BYTES DATA ...
13:18:34 : Bank : 0x00
13:18:34 : Address : 0x40023c14
13:18:34 : Size : 8 Bytes
13:18:34 : UPLOADING ...
13:18:34 : Size : 1024 Bytes
13:18:34 : Address : 0x8000000
13:18:34 : Read progress:
13:18:34 : Error: Data read failed
After that, the firmware will not be downloaded, and the message core is locked up.
I checked that it was a problem related to RDP, and it was set to FF.
RDP cannot be set to another level.
How do you solve this problem?
2025-08-20 12:57 AM
Hello @giwonKIM
I am moving this thread to the CubeProgrammer forum to ensure you receive more specialized assistance.
THX
Ghofrane
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.
2025-08-20 5:46 AM
If the chip is in RDP level 1, you will not be able to read the flash memory. A full chip reset is required in order to set it back to RDP level 0.
What happens when you select 0xAA for RDP and hit apply?
2025-08-20 4:45 PM
Thank you for your service.
2025-08-20 4:46 PM
If convert to 0xAA and press apply, you get an error that you cannot change it, and the value 0xFF is read again.
2025-08-21 1:01 PM
Is this a NUCLEO or other ST dev board or your own custom board? If your own custom board, show the schematic for the debug/SWD connector to the STM32 chip.
Have you EVER been able to program this particular board?