cancel
Showing results for 
Search instead for 
Did you mean: 

Downloading through STlink in version 1.19.0

xuraax
Associate II

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

 

3 REPLIES 3
Andrew Neil
Super User

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)?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Perhaps it ran the code, and then the debug pins or clocks got reconfigured

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

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.