2024-12-13 05:06 AM
Since configuring the STM32WB55CGU6 in STM32Programmer with the following settings, I am no longer able to connect to the chip using ST-Link. I cannot download programs in Keil, and the ST-Link in STM32Programmer cannot connect either. Changing the parameters also does not help with the connection. Furthermore, neither the USB nor UART connection methods are working. However, I can connect to STM32CubeMonitor-RF, but it doesn't seem to be useful. In STM32 ST-LINK Utility, ST-Link is detected, but I still cannot connect. I am also unable to erase the flash because I cannot connect to any software (except STM32CubeMonitor-RF). What should I do to connect to ST-Link?
2024-12-13 05:35 AM
Hello @ShenChuanAn,
I see nothing wrong with the option bytes configuration you sent. Could you please specify the detailed steps you followed ?
Also if you could provide the full option bytes list that would be really helpful.
Thanks,
Aziz
2024-12-13 05:47 AM
Sorry, because I am unable to connect to the STM32 programmer, I cannot view the complete list of option bytes. Below is the error message from the STM32 programmer:
21:41:13 : Error: Unable to get core ID
21:41:13 : Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication
I have changed various connection settings, such as Change the shared option to enabled、modify the reset mode, but none of them were successful in connecting.
Can erasing the chip solve the problem? However, I cannot connect via ST-Link. How should I erase the chip?
2024-12-13 05:57 AM
Hello @ShenChuanAn ,
Make sure that you are using the latest software version of STM32CubeProgrammer.
Ensure that the ST-LINK firmware is up to date.
Try selecting the "Connect under reset" mode in settings and holding the reset button while attempting a full chip erase on the Flash memory.
2024-12-13 06:05 AM
... and make sure the ST-LINK is not one of the fakes in colourful tin cans.
2024-12-13 11:34 PM
I tried doing this, but it still didn't work. The error message was: Error: No STM32 target found! If your product embeds Debug Authentication, please perform a discovery using Debug Authentication.
Additionally, all my software is up to date, and my ST-Link is genuine. Everything was working fine before. However, after I downloaded the BLE_TransparentMode program to the STM32WB55CGU6 and used it in STM32CubeMonitor-RF to test the BLE functionality, the microcontroller could no longer connect to the ST-Link.
2024-12-14 12:10 AM