Skip to main content
Visitor II
February 17, 2025
Solved

After download the project shuts down.

  • February 17, 2025
  • 1 reply
  • 725 views

After getting several projects working and starting a new project the following problem occurred at run time.

Returned to previous working projects and get same result.

 

STMicroelectronics ST-LINK GDB server. Version 7.9.0

Copyright (c) 2024, 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

InitWhile : EnableWaiting for debugger connection...

Debugger connected

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

-------------------------------------------------------------------

STM32CubeProgrammer v2.18.0

-------------------------------------------------------------------

Log output file: C:\Users\want2\AppData\Local\Temp\STM32CubeProgrammer_a21344.log

ST-LINK SN : 066FFF575487884867140827

ST-LINK FW : V2J45M31

Board : NUCLEO-F767ZI

Voltage : 3.25V

SWD freq : 4000 KHz

Connect mode: Under Reset

Reset mode : Hardware reset

Device ID : 0x451

Revision ID : Rev Z

Device name : STM32F76x/STM32F77x

Flash size : 2 MBytes

Device type : MCU

Device CPU : Cortex-M7

BL Version : 0x93

 

Opening and parsing file: ST-LINK_GDB_server_a21344.srec

Memory Programming ...

File : ST-LINK_GDB_server_a21344.srec

Size : 84.70 KB

Address : 0x08000000

Erasing memory corresponding to segment 0:

Erasing internal memory sectors [0 2]

Download in Progress:

 

File download complete

Time elapsed during download operation: 00:00:01.679

 

Verifying ...

 

Download verified successfully

 

Shutting down...

Exit.

    This topic has been closed for replies.
    Best answer by TDK

    The "Shutting down..." message is from the GDB server program on your computer shutting down, because it's done uploading the program to the board, verified it's correct, and isn't needed anymore.

    The program on the board is running.

    1 reply

    TDKAnswer
    Super User
    February 17, 2025

    The "Shutting down..." message is from the GDB server program on your computer shutting down, because it's done uploading the program to the board, verified it's correct, and isn't needed anymore.

    The program on the board is running.

    Visitor II
    February 18, 2025

    It appears that when I started a new project the previous projects changes and additions were lost as those files were restored to their original contents from STMicroelectronics libraries..... Obviously, I selected something incorrectly or failed to select something correctly... Hopefully I explained my issue clearly.... What is the something I need to do or not do that prevents the changes and additions on previous projects from being erased or file being overwritten?

    Super User
    February 18, 2025

    In generated code files, you can only put code within USER CODE BEGIN and USER CODE END blocks. Otherwise, it will be erased on regeneration.