2023-10-18 04:52 AM
hi,
Please provide solution for the following issue.
while i was trying to run a program on STM 32 F103C using ST link V2 on STM32cube 1.13.2 ide, getting an error "read version failed".
following is the error message.
Unable to solve this error.
2023-10-18 05:33 AM - edited 2023-10-18 05:35 AM
Welcome @Pal_555, to the community!
Please upload a photo of your ST-LINK.
Regards
/Peter
2023-10-18 05:41 AM
You might have counterfeit pods or chips. ST provides no support for those devices.
Check if the ST-LINK/V2 is viable directly under STM32 Cube Programmer. If it is then you need to check the settings of how the GDB Server is brought up and local/remote settings there.
2023-10-18 11:32 PM
this is the St link I am using.
2023-10-18 11:36 PM
Well that's definitely a third-party product and not an authentic ST-LINK
2023-10-18 11:54 PM
@Pal_555 You have saved money in the wrong place and should buy an original ST-LINK (if you buy cheap, you buy twice).
However, there are even ways to save money: if you buy a cheap NUCLEO-64, you can use the ST-LINK that is also included. Either break it off or disconnect the respective target MCU by removing the ST-LINK jumper. A NUCLEO-144 can also be used, but it is more expensive than a NUCLEO-64.
Good luck!
/Peter
2023-10-19 01:22 AM
thanks for the solution.