On STLINK V3, Target Board does not run after proggramming...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-08 07:19 AM
Hi, I am suffer something troublesome.
I should press ResetButton then the TargetBoard runs.
on STLink V2.x, Target Board automatically runs after programming. (STM32L4xx / STM32F7xx)
I took following messages from Console Window in ST32CubeIDE
Please fix this....
-------- Console Messages -----
STMicroelectronics ST-LINK GDB server. Version 7.4.0
Copyright (c) 2023, 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
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
-------------------------------------------------------------------
STM32CubeProgrammer v2.14.0
-------------------------------------------------------------------
Log output file: C:\Users\selly\AppData\Local\Temp\STM32CubeProgrammer_a16720.log
ST-LINK SN : 003200163532510E31333430
ST-LINK FW : V3J12M3
Board : STM32U5A9J-DK
Voltage : 1.79V
Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication
2nd connect tentative with frequency (8MHz)
ST-LINK SN : 003200163532510E31333430
ST-LINK FW : V3J12M3
Board : STM32U5A9J-DK
Voltage : 1.79V
SWD freq : 8000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x481
Revision ID : Rev C
Device name : STM32U5xx
Flash size : 4 MBytes (default)
Device type : MCU
Device CPU : Cortex-M33
BL Version : 0x92
Debug in Low Power mode enabled
-------------------------------------------------------------------
Choose flashing speed for Cortex M33 series.(default speed=Reliable)
-------------------------------------------------------------------
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a16720.srec
File : ST-LINK_GDB_server_a16720.srec
Size : 47.30 KB
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 5]
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.544
Verifying ...
Download verified successfully
Shutting down...
Exit.
---
- Labels:
-
ST-Link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-09 11:53 AM
Hi @Sellyette ,
How are you programming your Discovery board, through STM32CubeProgrammer or STM32CubeProgrammer_CLI?
Did you check that both NRST signals (between STLINKV3 and the STM32U5) are connected?
Thanks in advance,
Aime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-09 11:26 PM - edited ‎2023-09-10 04:07 AM
First of all, thank you for your answer.
I use STM32U5A9J-DK, As you know, It is completely assembled evaluation board.
I did not any other modification.
Thank you for your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-11-13 11:56 AM
Hi
Just a thought -- your situation may be different.
I was using my Laptop's USB port to power up the STM32U5A9J-DK and I recall running into similar issues. I reviewed the specifications and there it stated that the DK board requires 500MA for it to properly enumerate over the USB interface. I updated my USB cable to something that was able to sustain the 500mA draw from the laptop (and I also added a powered USB hub so that the current is not limited) and I was able to get around the issue of not being able to connect to the design kit.