Unable to run code STM32F411RET6
Hi,
I'm unable to run code in my STM32F411RET6 when i'm running code, the debugger print :
"
Open On-Chip Debugger 0.11.0+dev-00449-g53fa0f7 (2022-06-09-09:40)
Licensed under GNU GPL v2
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : connected to stlink-server
Info : stlink-server API v3, version 2.1.0
Info : STLINK V2J40M27 (API v2) VID:PID 0483:374B
Info : Target voltage: 3.280053
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : clock speed 4000 kHz
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x2ba01477
Info : STM32F411RETx.cpu: Cortex-M4 r0p1 processor detected
Info : STM32F411RETx.cpu: target has 6 breakpoints, 4 watchpoints
Info : STM32F411RETx.cpu: external reset detected
Info : starting gdb server for STM32F411RETx.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : accepting 'gdb' connection on tcp/3333
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000284 msp: 0x20020000
configuring PLL
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : device id = 0x10006431
Info : flash size = 512 kbytes
Error: Failed to read memory at 0x20020004
Error: Failed to read memory at 0x20020020
Error: Failed to read memory at 0x20020004
Error: Failed to read memory at 0x20020020
Info : accepting 'gdb' connection on tcp/3333
Error: Failed to read memory at 0x20020004
Error: Failed to read memory at 0x20020020
Error: Failed to read memory at 0x20020004
Error: Failed to read memory at 0x20020020
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000284 msp: 0x20020000
configuring PLL
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
Info : Unable to match requested speed 8000 kHz, using 4000 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000808 msp: 0x20020000
Info : dropped 'gdb' connection
shutdown command invoked
Info : dropped 'gdb' connection
"
And it put a breakpoint to "HAL_Init()", I don't know how this happens, yesterday when I running the blinked led example it worked, I can't provide you more information sorry, I'm a beginner.
