2023-11-07 03:44 AM
Hello ST Link Support Team,
I hope this message finds you well. I am currently experiencing an issue with an STM32G474 controller that I've been using successfully for the past five months. However, after uploading a new firmware recently, I am unable to detect the target in both Keil and the STLink utility.
I have already tried the following steps to troubleshoot the issue:
Despite these efforts, I have not been able to resolve the issue. I would greatly appreciate any guidance or suggestions you may have to help me resolve this problem.
Thank you in advance for your assistance.
@STM3232G474
2023-11-07 05:36 AM - edited 2023-11-07 05:36 AM
Hello,
First, ST-Link utility is obsolete so please use STM32CubeProgrammer downloadable from this link.
Second, with STM32CubeProgrammer tool, try to connect under "Power down" mode:
2023-11-07 05:43 AM
Hello @mallesh_makershive ,
You try to connect the board via CubeProgrammer and check for static security and option bytes you maybe have changed something related to RDP levels or flash protections and it can be the cause preventing you from connecting in debug mode as explained in this document .
BR
Hichem