cancel
Showing results for 
Search instead for 
Did you mean: 

STMF103RET6 program through serial bootloader

tylere
Associate II
Posted on February 14, 2013 at 09:39

Hi I current have my stm32f1 soldered onto a breakout board, all the pins are soldered correctly, boot 0 is tided to high, boot1 is tied to low, then i reset (1 then 0 then 1). i'm my rx and tx are on pa9 and pa10, but when i try to program through the st flash loader utility, it doesn't work.

when i connect through terminal, i send a 0x7F and it skips the y confirmation bit send back, after that it just echos my input.. does any one have any idea how to fix this? did i forget to tie a pin?

I should note that it can hook up to an st link, but I can't program it serially.. and it was a friends st link... so I know the powers are correctly hooked up

I guess i should also note that i've tried all different baud rates...

#stm32f103-programming
2 REPLIES 2
Posted on February 14, 2013 at 11:46

Make sure to use 8-bit Even Parity

The pins use 3V CMOS levels, you cannot hook them directly to a PC's RS232 port, how do you have them wired?

What are you using to send/receive data to the chip?

Connections to VDDA, levels on NRST?
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
tylere
Associate II
Posted on February 14, 2013 at 22:38

oh man.. i didn't realize I needed to change the voltage from my serial...

as for sending receiving i'm using a usb to serial connected to a rs232 connector so i think i need to change the voltage as it goes to the uart since it's a 3.3v chip

levels on vdd and nrst are 3.3v through a vreg