2018-05-07 11:19 AM
Hi.
I was just programming my stm32f217 board via serial wire interface and everything was ok, but when I wanted to program once more the message ''No target connected''displayed and it didn't program my MCU anymore.
But when I use IAR to program stm8 it works.
What is the problem?
I tried updating the firmware but the message bellow displayed that I don't know what it is.
Solved! Go to Solution.
2018-05-07 3:22 PM
You need to review what you are doing with the PA13/PA14 pins in your design, or if you are powering off the device.
2018-05-07 11:44 AM
I forgot to say that I have a mini ST Link.
2018-05-07 12:14 PM
I used '
Turvey.Clive.002
' comment in and it worked.Thanks.2018-05-07 1:04 PM
I have a new problem. Every time I want to program I have to make Boot0 high, reset, plug out the st link(because IDE don't recognize st-lin k),plug in the st link and at last program.It wasnt like this before.I cant use debug option either.
2018-05-07 3:22 PM
You need to review what you are doing with the PA13/PA14 pins in your design, or if you are powering off the device.
2018-05-07 3:42 PM
When
iuse cubemxI mostly tick the 'set all the free pins analog to optimize power consumption' this made the
swdioandswclkanalog and this was the problem. Thanks.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.