Skip to main content
Associate III
December 2, 2024
Solved

Unable to write to microcontroller with stlink-v3minie

  • December 2, 2024
  • 1 reply
  • 1056 views

When I try to write to stm32h742vgt6 using stlink-v3minie, Target is not responding, retrying... and cannot write.

The same microcontroller can be written to the board on which it is mounted. In the same program.

What are the possible outcomes in this case?
Is it just a bad solder or something else, or can you give me a few possibilities?
Thank you in advance.

 

symptoms↓

Failed to reset target.

Target is not responding, retrying...

Waiting for debugger connection...

Debugger connected

Waiting for debugger connection...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Target is not responding, retrying...

Shutting down...

Exit.

 

Best answer by baby_chicken

Sorry for the late reply.

 

After much investigation, I found that pin 63 of the microcontroller was conducting with 5V due to a design error.

 

 

1 reply

Andrew Neil
Super User
December 2, 2024

@baby_chicken wrote:

When I try to write to stm32h742vgt6 using stlink-v3minie,


Show your connections.

 


@baby_chicken wrote:

The same microcontroller can be written to the board on which it is mounted.


What do you mean by that?

What board is it?

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

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.
Associate III
December 2, 2024

This is a home-made board using stm32h742vgt6.
It is not NUCLEO etc.
Best regards.

Andrew Neil
Super User
December 2, 2024

Show the schematic of the board.

What do you mean by, "The same microcontroller can be written to the board on which it is mounted" ?

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.