[SOLVED] STM32F103CBT6 BOOT Problem

Generic boards that are not Maple or Maple mini clones, and don't contain the additional USB reset hardware
Nawfal
Posts: 26
Joined: Tue Aug 29, 2017 2:57 pm

[SOLVED] STM32F103CBT6 BOOT Problem

Post by Nawfal » Tue Aug 29, 2017 3:01 pm

Hi,
I just received an SDR board that I have designed.
I am using an STM32F103CBT6 to control over SPI and I2C some other components.
The USB on the microcontroller is only used to power the board. So the programming is done from the arduino IDE through ST-LINK.
So far I was able to download a led blink sketch…..But the problem I got is that after powering down the board it seems that the microcontroller does not boot.
Please find the attached file for the schematics of the µC.

I'm using the Arduino IDE 1.6.11 under Windows 7.32
GCC 4.8.3
STM32DUINO Version: 26/08/2017

Board selected: Generic STM32F103C Series
Variant: STM32F103CB (20k RAM, 128k flash)
CPU Speed :72MHz


Any Help?????
Attachments
STM32_Schem..png
STM32_Schem..png (91.54 KiB) Viewed 206 times

User avatar
Rick Kimball
Posts: 1001
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US
Contact:

Re: STM32F103CBT6 BOOT Problem

Post by Rick Kimball » Tue Aug 29, 2017 3:16 pm

What is BOOT1 connected to?
-rick

Nawfal
Posts: 26
Joined: Tue Aug 29, 2017 2:57 pm

Re: STM32F103CBT6 BOOT Problem

Post by Nawfal » Tue Aug 29, 2017 3:22 pm

It's not connected

User avatar
martinayotte
Posts: 1213
Joined: Mon Apr 27, 2015 1:45 pm

Re: STM32F103CBT6 BOOT Problem

Post by martinayotte » Tue Aug 29, 2017 3:27 pm

It needs to be pulled-down ...

Nawfal
Posts: 26
Joined: Tue Aug 29, 2017 2:57 pm

Re: STM32F103CBT6 BOOT Problem

Post by Nawfal » Tue Aug 29, 2017 3:29 pm

Is there a way to pull it down by software????

User avatar
martinayotte
Posts: 1213
Joined: Mon Apr 27, 2015 1:45 pm

Re: STM32F103CBT6 BOOT Problem

Post by martinayotte » Tue Aug 29, 2017 3:32 pm

No ! you need to add an external pull-down.

racemaniac
Posts: 432
Joined: Sat Nov 07, 2015 9:09 am

Re: STM32F103CBT6 BOOT Problem

Post by racemaniac » Tue Aug 29, 2017 3:38 pm

If i read his schematic correctly, doesn't he pull boot0 down? so shouldn't it just work? (as the state of boot1 doesn't matter when boot0 is pulled down)

User avatar
Rick Kimball
Posts: 1001
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US
Contact:

Re: STM32F103CBT6 BOOT Problem

Post by Rick Kimball » Tue Aug 29, 2017 3:40 pm

racemaniac wrote:
Tue Aug 29, 2017 3:38 pm
If i read his schematic correctly, doesn't he pull boot0 down? so shouldn't it just work? (as the state of boot1 doesn't matter when boot0 is pulled down)
He will get inconsistent results when he does push the boot0 button and it pulls up.
-rick

Nawfal
Posts: 26
Joined: Tue Aug 29, 2017 2:57 pm

Re: STM32F103CBT6 BOOT Problem

Post by Nawfal » Tue Aug 29, 2017 3:41 pm

martinayotte wrote:
Tue Aug 29, 2017 3:32 pm
No ! you need to add an external pull-down.
I pull it down during programming....same issue

User avatar
Rick Kimball
Posts: 1001
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US
Contact:

Re: STM32F103CBT6 BOOT Problem

Post by Rick Kimball » Tue Aug 29, 2017 3:43 pm

You said you loaded the blinky sketch. You didn't say if it works. Have you seen it work?
-rick

Post Reply