2024-04-26 04:14 AM
Target unknown error 19
Error in initializing ST-LINK device.
Reason: Unknown. Please check power and cabling to target.
how to clear the above error, please reply immediately in urgent base to clear the above error
2024-04-26 04:48 AM
You need to give more context:
Reason: Unknown. Please check power and cabling to target.
So did you do that?
@sreedharan1196 wrote:please reply immediately in urgent base to clear the above error
http://www.catb.org/~esr/faqs/smart-questions.html#urgent
2024-04-26 04:53 AM
So did you do that? - yes done
2024-04-26 05:22 AM
@sreedharan1196 wrote:
- What is your target? - stm32l051c8t7 - using stlink
More details needed: is that an ST board, or your own custom design.
you'll get better help more quickly by providing full details up-front - rather than having to pull them incrementally from you.
2024-04-26 05:40 AM
i am using customized board, we are using
2024-08-28 05:25 AM
This error could be caused by a misconfiguration of the communication pins between the STM and the ST-Link or because the microcontroller is in deep sleep mode.
After doing this, you should be able to program the STM without any issues.
If you still can't connect the device even after configuring it in "Under Reset" mode, the problem might be with the ST-Link itself—possibly because it's not an original one. Personally, I used a programmer from a Nucleo board, and that worked fine for me.