2022-01-17 12:34 AM
Hello Everyone,
II'm currently working with my Nucleo L073RZ board and so far my program built successfully but i cant upload it. Nonetheless, other programs are still able to run well on the board. I dont understand what i am doing wrong. I have read other responses to similar questions but i still cant find a solution. Please I will be glad to get some help/ideas on how to solve this. Thank you.
Best Regards!
STMicroelectronics ST-LINK GDB server. Version 6.0.0
Copyright (c) 2021, 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 : Enabled
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
-------------------------------------------------------------------
STM32CubeProgrammer v2.9.0-RC01
-------------------------------------------------------------------
ST-LINK SN : 066BFF495257808667041449
ST-LINK FW : V2J39M27
Board : NUCLEO-L073RZ
Voltage : 3.26V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x447
Revision ID : Rev Z
Device name : STM32L07x/L08x/L010
Flash size : 192 KBytes
Device type : MCU
Device CPU : Cortex-M0+
BL Version : --
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a03832.srec
File : ST-LINK_GDB_server_a03832.srec
Size : 31856 Bytes
Address : 0x08000000
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 248]
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:02.973
Verifying ...
Download verified successfully
Shutting down...
Target is not responding, retrying...
2022-01-19 01:54 AM
Hello @CAben.1 ,
Maybe you should check the SWD connector.
Did you try ST-Link Utility to solve this problem?
Try with the ST-Link Utility and "connect under reset" mode, then "full chip erase" option.
I'll be waiting for your feedback.
Imen
2024-05-06 10:19 AM
Hi i have the same issue and I tried st link utility and did not work.
2024-05-06 10:32 AM - edited 2024-05-06 10:32 AM
You likely have a SIMILAR issue.
Perhaps looks at what you did to the target IC to block debug access, say disabled SWD/JTAD operation, reconfigured the pins the debugger uses (PA13, PA14, PB3, etc), or that you powered-off the circuitry that needs to be running for this to work. ie put the device in Low Power / Standby modes?
Pull BOOT0 pin HIGH so YOUR CODE doesn't run and break access.
The ST-LINK Utilities have been deprecated for many years, migration to STM32 Cube Programmer is STRONGLY recommended.
2024-05-06 10:38 AM
i tried stm32 cube programmer too. now to don't get the error "Target is not responding, retrying..." . I get "Download verified successfully". but when I resume the code its not running