cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 bootlader problem

mismee
Associate II
Posted on December 07, 2009 at 04:30

STM32F103 bootlader problem

9 REPLIES 9
mismee
Associate II
Posted on May 17, 2011 at 13:31

Hello everyone!

I`ve got some problem with bootloader, using STM32F103CBT6 unit.

When PB0 (pin 18) is connected to Vdd (with resistor 10K) bootloader work fine, but if I pull this pin low (connect to gnd with resistor) - target not response.

What is this? Bug of device or not? Please advise me for work with bootloader when PB0 pulled down. Thank you!

armmcu
Associate II
Posted on May 17, 2011 at 13:31

Hi,

I'm not so clear with ''target not response.''

please can you detail more:

-What's your bootloader PC software application?

-In case of problem, are you able at least to connect to the device through USART?

-How do you discovred the problem? is it arbitrary or there is a specific need of PB0 in your application?

Regards,

Arm

mismee
Associate II
Posted on May 17, 2011 at 13:31

Hello!

-On PC side I use (um0462) Flash loader demonstrator v2.0

-When PB0 is low, I can`t connect to device through USART, but if PB0 is open circuit connection is successful.

-PB0 using as input (normally pulled down through 10K resistor). When I disconnect this resistor the problem is ceasing.

mismee
Associate II
Posted on May 17, 2011 at 13:31

Unfortunately I have no possible to try with other boards. I check PCB many times - there is ok.

Do you can test STM32CBT6 device for this and report me for result. May be only my chip is corrupt...

armmcu
Associate II
Posted on May 17, 2011 at 13:31

Hi,

Are you sure, there is no short circuit in your PCB?

Why I'm asking this because what are you seeing is quite strange!!

There is no relation between PB0 and USART pins!!

Further more I discard any problem at silicon level, the product is available in nature for more than 3 years and this might be seen if it's an errata.

Have you tried other parts/boards?

vaclav
Associate II
Posted on May 17, 2011 at 13:31

Hello Mismee,

can you check if you have Vss on PB2 ? There is BOOT1 and it must be low during reset (and BOOT0 high).

Or try to reset several times the device. Sometimes stm32 flash demonstrator does not connect to my STM32 board (I currently work with F101 device), but after next reset it starts to communicate.

Vasek

mismee
Associate II
Posted on May 17, 2011 at 13:31

Thank`s for your discussion, but I have no problem solving. :(

tomas23
Associate II
Posted on May 17, 2011 at 13:31

You may have too old chip where bootloader was not preprogrammed yet. The date code below 937 or higher than 960 are w/o BL.

Replace the chip and try again.

armmcu
Associate II
Posted on May 17, 2011 at 13:31

Hi edison,

I don't think this is the rootcause because as stated above by mismee

''When PB0 (pin 18) is connected to Vdd (with resistor 10K) bootloader work fine''