cancel
Showing results for 
Search instead for 
Did you mean: 

[Problem] I'm having a problem with stm32CubeIDE debbuger

LFern.1
Associate
STMicroelectronics ST-LINK GDB server. Version 5.8.0
Copyright (c) 2020, STMicroelectronics. All rights reserved.
 
Starting server with the following options:
        Persistent Mode            : Disabled
        Logging Level              : 1
        Listen Port Number         : 61234
        Status Refresh Delay       : 15s
        Verbose Mode               : Disabled
        SWD Debug                  : Enabled
 
Waiting for debugger connection...
Debugger connected
      -------------------------------------------------------------------
                       STM32CubeProgrammer v2.7.0-RC1                  
      -------------------------------------------------------------------
 
ST-LINK SN  : 066DFF575251717867163205
ST-LINK FW  : V2J37M26
Board       : NUCLEO-L4R5ZI
Voltage     : 3.26V
SWD freq    : 4000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x470
Revision ID : Rev Y
Device name : STM32L4Rxxx/STM32L4Sxxx
Flash size  : 63 KBytes (default)
Device type : MCU
Device CPU  : Cortex-M4
 
 
 
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a21776.srec
  File          : ST-LINK_GDB_server_a21776.srec
  Size          : 8748 Bytes
  Address       : 0x08000000 
 
 
Erasing memory corresponding to segment 0:
Erasing external memory sectors [0 2]
File segment @0x08000000 is not 255-bytes aligned. It will be aligned to @0x07FFFFF8
Download in Progress:
 
 
Error: failed to download Segment[0]
Error: failed to download the File
Encountered Error when opening E:\ST\STM32CubeIDE_1.6.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.6.0.202101291314\tools\bin\STM32_Programmer_CLI.exe
Error in STM32CubeProgrammer
Debugger connection lost.
Shutting down...

When i try to execcute any code this happens.

1 REPLY 1
RS.5
Associate

Hi, I am having the very same problem. Has there been any progress regarding this issue? I just cannot connect to my board anymore (STM32CubeIDE v.1.7.0, Discovery kit B-L4S5I-IOT01A).

I tried a full chip erase with STM32CubeProgrammer which didnt help. I also get the same error message when trying to program the chip with this software.