Page 1 of 1

Question about STM32F401CCU6 black Pill Board

Posted: Thu Apr 02, 2020 3:20 pm
by jhsa
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

Re: Question about STM32F401CCU6 black Pill Board

Posted: Fri Apr 03, 2020 6:11 am
by kalle123
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

Re: Question about STM32F401CCU6 black Pill Board

Posted: Fri Apr 03, 2020 10:10 am
by jhsa
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