Re: Not able to upload code using STLINK ans uart
Posted: Fri May 01, 2020 4:21 pm
I think you are using a mixed old<->new libmaple core.
The STLink upload in platform.txt was reworked 2 years ago to remove the unnecessary VID:PID parameters from the batch call.
The stlink batch file was correspondingly changed to accept the binary file as only input parameter.
The VID:PID is there in your example, meaning you have an old platform txt.
If you mix it with the new stlink batch file, it won't work...
Or, you want to use the official STM core?
Then you have selected a wrong board belonging to the Libmaple core in Arduino IDE.
The STLink upload in platform.txt was reworked 2 years ago to remove the unnecessary VID:PID parameters from the batch call.
The stlink batch file was correspondingly changed to accept the binary file as only input parameter.
The VID:PID is there in your example, meaning you have an old platform txt.
If you mix it with the new stlink batch file, it won't work...
Or, you want to use the official STM core?
Then you have selected a wrong board belonging to the Libmaple core in Arduino IDE.