Possible connections to upload code via ST-Link

Post Reply
Posts: 56
Joined: Mon Aug 24, 2020 12:42 pm
Answers: 1

Possible connections to upload code via ST-Link

Post by mebab »

I try to upload my code that already worked with Nuceo 64 (STM32L476) to my newly made board including STM32L476. I connect ST-Link V2 to the 4 relevant pins on my board and computer USB port. I use Arduino IDE and set the following:

Board: Nucleo-64
Board Part Number: NucleoL476RG
Upload Method: STM32CubeProgrammer (SWD)

After I upload the code, I receive the following:

Code: Select all

Sketch uses 74896 bytes (7%) of program storage space. Maximum is 1048576 bytes.
Global variables use 22968 bytes (23%) of dynamic memory, leaving 75336 bytes for local variables. Maximum is 98304 bytes.
                       STM32CubeProgrammer v2.3.0                  

ST-LINK SN  : 53FF67064988495729570287
Voltage     : 3.27V
SWD freq    : 4000 KHz
Connect mode: Under Reset
Reset mode  : Hardware reset
Device ID   : 0x415
Device name : STM32L4x1/STM32L475xx/STM32L476xx/STM32L486xx
Flash size  : 1 MBytes
Device type : MCU
Device CPU  : Cortex-M4

Memory Programming ...
Opening and parsing file: TX_STM32_20210130_1_NewBoard.ino.bin
  File          : TX_STM32_20210130_1_NewBoard.ino.bin
  Size          : 75352 Bytes
  Address       : 0x08000000 

Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 36]
Download in Progress:

File download complete
Time elapsed during download operation: 00:00:02.820

RUNNING Program ... 
  Address:      : 0x8000000
Application is running
Start operation achieved successfully
Now, it seems that everything is ok with the upload process. But, what to do to run my program that is not running afterward? Do I need to pull up or down any pins on STM32
Post Reply

Return to “STLink”