Question about STM32F401CCU6 black Pill Board

Projects that are not for RC, but are cool and worthy of development.
Post Reply
User avatar
jhsa
Posts: 19336
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Question about STM32F401CCU6 black Pill Board

Post by jhsa » Thu Apr 02, 2020 3:20 pm

Hi guys, I am working on a little project (not RC related) but I can't find any info on the internet. :( Perhaps some of you coding masterminds :mrgreen: can help me or point me in the right direction.. I am (still) a beginner in coding, so please be gentle.
I am using the Arduino environment. And I am trying to find a way to get this board to jump to STM32 Bootloader from the main code or from Setup(), by pressing a button at power ON for example.
Can't find anything about this.. Is this even possible? :o
I can do that with the Blue Pill board which uses an STM32F103CB processor, but the same code doesn't compile for the STM32F4 chip as the arduino boards for it do not support the libmaple libraries. :(
Any help would be well appreciated, Thank you very much.

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW


User avatar
kalle123
Posts: 820
Joined: Sat Mar 29, 2014 10:59 am
Country: -
Location: Moenchengladbach

Re: Question about STM32F401CCU6 black Pill Board

Post by kalle123 » Fri Apr 03, 2020 6:11 am

Hi João.

Don't have a black pill, only blue pill and maple mini. But I see problems with bootloader mode (blue pill) when using the Arduino IDE under Linux: I don't see that under WIN 10. I guess, you are using Linux?!

But better ask here https://stm32duinoforum.com/forum/index_php.html ;)

br KH

User avatar
jhsa
Posts: 19336
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Question about STM32F401CCU6 black Pill Board

Post by jhsa » Fri Apr 03, 2020 10:10 am

Hi, thanks for the link.. I am using windows 7. I also use blue pill boards, but we want to move to a board with more flash memory. We don't use USB with the Blue Pill. One of the reasons is that we need all pins, including A11 and A12, which are shared with the USB connector. we could always use a pin expander chip of course as we do with the F4 board.
The reason some (recent) Blue Pill boards don't work right is because they have fake chips on them. Or perhaps they all have fake chips, but these recent boards are even worse, to the point where some don't work at all..
We managed to make some of the fake ones work by compiling at 48Mhz instead of 72Mhz.. :(

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW


Post Reply

Return to “Other Electronic Projects”