[riot-notifications] [RIOT-OS/RIOT] Problem flashing the Bluepill (STM32F130C8) (#11030)

MrKevinWeiss notifications at github.com
Wed Feb 20 09:05:22 CET 2019


Hey @Khayhen welcome to RIOT, sorry I didn't respond, I have been pretty busy.

The default flasher for the bluepill in RIOT is the openocd stuff.  You can follow the guide [here](http://www.marrold.co.uk/2017/08/flashing-bootloader-on-to-stm32-blue.html) to program with the uart bootloader (the stm32loader.py script comes with RIOT and can be found at <RIOTBASE>/dist/tools/stmloader32/stm32loader.py).  If you have the dfu-util bootloader already programmed in then you can use [this](https://github.com/inetrg/RIOT-Giveaway) to flash with the usb and make flash.

If the guide doesn't work there are a number of things that can be done for flashing,
- You can try using another st-link programmer and program the bluepill with SWD (if you have a nucleo board that can work)
- You can use the dfu-util usb bootloader to program, however that requires the usb bootloader to be flashed already and sometimes the R10 (I think) needs to be changed, though I have not have not done that yet.
- You can use the stm32loader.py and the uart to program it.  Now this is the option I think you are currently trying to do, RIOT doesn't have it integrated with the make flash so you will have to run the script yourself.  The standard way is to use this script to flash the dfu-util usb bootloader then just flash with the usb after that.

Please let me know if this solves your issue.  
_There are also many guides on how to program the bluepill, if you flash the usb bootloader make sure you have an up-to-date version._


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/11030#issuecomment-465467557
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190220/36fdba71/attachment.html>


More information about the notifications mailing list