[SOLVED] STM32F103CBT6 BOOT Problem

Generic boards that are not Maple or Maple mini clones, and don't contain the additional USB reset hardware
User avatar
Rick Kimball
Posts: 989
Joined: Tue Apr 28, 2015 1:26 am
Location: Eastern NC, US
Contact:

Re: STM32F103CBT6 BOOT Problem

Post by Rick Kimball » Thu Aug 31, 2017 5:25 pm

Do you have a supported device like a bluepill? a Maple Mini? So other STM32F1 board that is known to work? If so you might try using that to verify that you can debug any board. If it does work, then because you have a custom board, I would start looking at your custom board connections and layout. We can only guess what you have and what is wrong with it. ... which we have been doing all along.
-rick

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

Re: STM32F103CBT6 BOOT Problem

Post by Nawfal » Thu Aug 31, 2017 5:46 pm

Rick Kimball wrote:
Thu Aug 31, 2017 5:25 pm
Do you have a supported device like a bluepill? a Maple Mini? So other STM32F1 board that is known to work? If so you might try using that to verify that you can debug any board. If it does work, then because you have a custom board, I would start looking at your custom board connections and layout. We can only guess what you have and what is wrong with it. ... which we have been doing all along.
Yes....And it's working as expected after a power cycle (even though the boot0 and boot1 are kept floating or as 1 and 0)....
The layout, I guess is correct since the system is working perfectly after programming it.

User avatar
Pito
Posts: 1498
Joined: Sat Mar 26, 2016 3:26 pm
Location: Rapa Nui

Re: STM32F103CBT6 BOOT Problem

Post by Pito » Thu Aug 31, 2017 5:55 pm

Nawfal wrote:
Thu Aug 31, 2017 5:46 pm
Yes....And it's working as expected after a power cycle (even though the boot0 and boot1 are kept floating or as 1 and 0)....
What "it" is working as expected? - pls do answer with details, to avoid confusion. Always state the board you use with the test and core (libmaple or other).
Last edited by Pito on Thu Aug 31, 2017 5:57 pm, edited 1 time in total.
Pukao Hats Cleaning Services Ltd.

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

Re: STM32F103CBT6 BOOT Problem

Post by Nawfal » Thu Aug 31, 2017 5:56 pm

Pito wrote:
Thu Aug 31, 2017 5:55 pm
Nawfal wrote:
Thu Aug 31, 2017 5:46 pm
Yes....And it's working as expected after a power cycle (even though the boot0 and boot1 are kept floating or as 1 and 0)....
What "it" is working as expected? - pls do answer with details, to avoid confusion.
the mimi maple clone

User avatar
Pito
Posts: 1498
Joined: Sat Mar 26, 2016 3:26 pm
Location: Rapa Nui

Re: STM32F103CBT6 BOOT Problem

Post by Pito » Thu Aug 31, 2017 6:00 pm

Maple Mini's boot0 is 0 unless the button is pressed down (then 1).
Can you post your sketch plz?
Pukao Hats Cleaning Services Ltd.

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

Re: STM32F103CBT6 BOOT Problem

Post by Nawfal » Thu Aug 31, 2017 7:08 pm

I figured out what was wrong.
For some reason the boot0 get stuck on logic 1 (3V) either pressing the corresponding button or releasing it.
So I decided to remove the R30 and R33 (See post 1) and now it's working :D
Apparently, I made some mistake with the library layer's button eagle design

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests