2013-02-14 12:39 AM
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 upI guess i should also note that i've tried all different baud rates... #stm32f103-programming2013-02-14 02:46 AM
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?2013-02-14 01:38 PM
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 chiplevels on vdd and nrst are 3.3v through a vreg