Cannot upload program through serial

Post here first, or if you can't find a relevant section!
Post Reply
Praveen
Posts: 2
Joined: Fri May 08, 2020 2:38 pm

Cannot upload program through serial

Post by Praveen »

I have stm32f103. I have tested serial test program that prints hello word continuously without any delay. But after that when I I try to upload new program or erase, I cannot succeed in it. Please help me, what will be the problem how to rectify.


I am using Linux and USB to TTL converter with 3.3 volt logic level uploaded using stm32flash.
ag123
Posts: 1709
Joined: Thu Dec 19, 2019 5:30 am
Answers: 27

Re: Cannot upload program through serial

Post by ag123 »

this one?
https://sourceforge.net/p/stm32flash/wiki/Home/
did you set boot0 and press reset?
Praveen
Posts: 2
Joined: Fri May 08, 2020 2:38 pm

Re: Cannot upload program through serial

Post by Praveen »

Yes i did
ag123
Posts: 1709
Joined: Thu Dec 19, 2019 5:30 am
Answers: 27

Re: Cannot upload program through serial

Post by ag123 »

did you try the other options that disable the write and read protections?
https://sourceforge.net/p/stm32flash/wiki/Home/

note if you are using a blue pill stm32f103 be wary of fakes, i.e. the chip on it may not be a stm32f103
Post Reply

Return to “General discussion”