cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CUBEIDE DEBUG PROBLEM

Proteus
Associate II

Hello

My debugger is shutting down after downloading code into chip 

I can connect STLINK UTILITY and uploading code hex files properly

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  : 50FF6D064965575354401887
ST-LINK FW  : V2J37S0
Board       : --
Voltage     : 2.89V
SWD freq    : 4000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x445
Revision ID : Rev 1.0
Device name : STM32F04x/F070x6
Flash size  : 32 KBytes
Device type : MCU
Device CPU  : Cortex-M0
 
 
 
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a14724.srec
  File          : ST-LINK_GDB_server_a14724.srec
  Size          : 27540 Bytes
  Address       : 0x08000000 
 
 
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 26]
Download in Progress:
 
 
File download complete
Time elapsed during download operation: 00:00:01.764
 
 
 
Verifying ...
 
 
 
 
Download verified successfully 
 
 
Debugger connection lost.
Shutting down...

1 REPLY 1
Proteus
Associate II

Is there any recommendation ?