cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F030F4 / K6 bootloader via UART don't work for me

rodion_gork
Associate II
Posted on December 31, 2015 at 19:15

Dear Friends and Colleagues!

I'm interested to move from NXP chips to ST ones, so I've got a pair of devices and am currently trying to work with their bootloader via UART. The devices are

STMF030F4 (TSSOP-20)

STMF030K6 (LQFP-32)

I use FTDI-232 USB-to-UART cable (the same I use for uploading code to LPCs, so it works) and has the following wiring:

+3.3 V to VDD

GND to VSS

+3.3 V to BOOT0 (pin 1 in tssop)

RXD from FTDI to PA9 (e.g. pin 17 in tssop)

TXD from FTDI to PA10 (e.g. pin 18 in tssop)

I also temporarily connect NRST (pin 4) to GND to reset the device.

However I could not get any uploading tool work with it. They do not see device. When I tried to write small program send 0x7F (8-bit, even parity, 1 stop bit) I do not get any response from device. Though I've tested the cable with other device to make sure it is ok...

What may I miss there?

UPD: I have 5kOhm pull-up from PA9 (I also tried another pull-up to PA10 though I see no sense in this)... Also I should note that my cable have 5V levels though I think it should work anyway as the device is 5v tolerant - is this correct?

#!stm32
1 REPLY 1
rodion_gork
Associate II
Posted on January 01, 2016 at 12:45

At last I found that I should also connect VDDA (and VSSA if present), otherwise the chip is in reset state. The problem is solved.