Minimum Development Board Programming?

Generic boards that are not Maple or Maple mini clones, and don't contain the additional USB reset hardware
Post Reply
Holzwurm56
Posts: 10
Joined: Mon Aug 28, 2017 9:19 am

Minimum Development Board Programming?

Post by Holzwurm56 » Mon Aug 28, 2017 12:20 pm

Hello,
i want to make some tests with the minimum development board. In the description i read: MicroUsb is for power and usb-communication, not for programming.
In what kind of way i can load a sketch into the board?

Many thanks for every answer

Hans

zmemw16
Posts: 1369
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Minimum Development Board Programming?

Post by zmemw16 » Mon Aug 28, 2017 12:39 pm

http://www.stm32duino.com/viewforum.php?f=55 read.
resist, resist, resist the temptation, beyond words.
srp

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

Re: Minimum Development Board Programming?

Post by Pito » Mon Aug 28, 2017 1:17 pm

When board's description says "microusb connector is for powering and usb communication" then you can or cannot upload the sketch into the stm32 via USB. It depends how the USB communication is actually made (ie. third party chip in between).
When board's description says "microusb connector is for powering and programming" then you can upload the sketch into the stm32 via USB.
When board's description says "microusb connector is for powering only" then you cannot upload the sketch into the stm32 via USB.
Better to post a link to your board, otherwise you will not get the answer soon..
Pukao Hats Cleaning Services Ltd.

Holzwurm56
Posts: 10
Joined: Mon Aug 28, 2017 9:19 am

Re: Minimum Development Board Programming?

Post by Holzwurm56 » Mon Aug 28, 2017 1:58 pm

Hello,
i bought the boards some time ago, but they look like these:
https://www.aliexpress.com/item/Free-Sh ... 2462afd45a

Hans

stevestrong
Posts: 1502
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: Minimum Development Board Programming?

Post by stevestrong » Mon Aug 28, 2017 2:49 pm

That is a so called "Blue Pill".
Upload should work over USB DFU (when "Stm32duino bootloader" is selected over Arduino IDE menu item, and the bootloader is flashed previously to the board. Read the FAQ, and wiki).

victor_pv
Posts: 1599
Joined: Mon Apr 27, 2015 12:12 pm

Re: Minimum Development Board Programming?

Post by victor_pv » Mon Aug 28, 2017 3:21 pm

stevestrong wrote:
Mon Aug 28, 2017 2:49 pm
That is a so called "Blue Pill".
Upload should work over USB DFU (when "Stm32duino bootloader" is selected over Arduino IDE menu item, and the bootloader is flashed previously to the board. Read the FAQ, and wiki).
Just highlighting a key part so it is not skipped ;)

Holzwurm56
Posts: 10
Joined: Mon Aug 28, 2017 9:19 am

Re: Minimum Development Board Programming?

Post by Holzwurm56 » Mon Aug 28, 2017 8:03 pm

Hello,
i think its not possible to upload a sketch with usb. I will test uploading the sketch with a stlink adapter.

Thanks

Hans

stevestrong
Posts: 1502
Joined: Mon Oct 19, 2015 12:06 am
Location: Munich, Germany

Re: Minimum Development Board Programming?

Post by stevestrong » Tue Aug 29, 2017 7:26 pm

Hundreds of people do upload over micro USB...
Why can't you do the same?
Of course, it requires to flash first the new bootloader, but you can also use the on-chip bootloader as well (already on chip). In this case set BOOT0=1, BOOT1=0, then reset the board.

Holzwurm56
Posts: 10
Joined: Mon Aug 28, 2017 9:19 am

Re: Minimum Development Board Programming?

Post by Holzwurm56 » Mon Sep 04, 2017 6:16 am

Hello stevestrong,
i was able to load a sketch with stlink into a stm32f103/blue pill. The bluepill is in the device manager shown as maple and i was not able to make a serial communication. I have install the stm32 driver but the device manager says allways: "No driver found". What is my mistake, why does it not work?
Thanks
Hans

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 2 guests