2025-07-12 1:04 AM
Hi,
I am quite new to using CubeIDE.
I compiled and ran my first program and the below is the response from the IDE:
>>>>>>>>
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [0 6]
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:00.587
Verifying...
Time elapsed during verifying operation: 00:00:00.048
Download verified successfully
Target is not responding, retrying...
Shutting down...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
Target is not responding, retrying...
<<<<<<<<<
This seems to me that the program was properly downloaded to the board and then verified.
Why is it then reporting that the target is not responding?
Regards
2025-07-12 1:37 AM - edited 2025-07-12 1:38 AM
Welcome to the forum.
You need to give more details - please see: How to write your question to maximize your chances to find a solution.
@xuraax wrote:I am quite new to using CubeIDE.
Do you have experience with other IDEs? Other microcontroller(s)?
2025-07-12 1:39 AM
Perhaps it ran the code, and then the debug pins or clocks got reconfigured
2025-07-12 5:10 AM
I don't have much experience with running advanced IDE's such as this. I have used Arduino to successfully program Blue and Black pill boards.
All I am trying to do is basically to go through the sequence of building a project, compiling it and downloading to the Blue Pill.
am following the steps from this site:
https://microcontrollerslab.com/stm32-nucleo-timer-interrupt-stm32cubeide-hal-libraries/#more-42218
The program is a simple Blink program and since the Blue pill has an LED on B13, I only changed the references from PA5 in the article to PB13.
Incidentally I discovered originally I had missed one change to to this pin so after correcting the error I tried to debug and download again. This time round I could not even connect. Same with Cube Programmer. However this was resolved by setting Boot 0 hi whilst connecting, do a general erase, set back Boot 0 to lo and this time round CubeIDE connected and gave the same response as originally.
Sorry I don't know what other detail I can add to explain my problem better.