Generic board not shown as USB device after installing v2 bootloader

Apple Mac OSX
User avatar
RogerClark
Posts: 7422
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Generic board not shown as USB device after installing v2 bootloader

Post by RogerClark » Thu Dec 29, 2016 11:54 pm

jstevewhite wrote:
EDIT: ok, so now I've read another post in the forum and discovered that a sketch has to initiate "Serial.begin" before it shows up. I've uploaded a sketch that includes it, and now the device shows up as a Maple Mini again. However, when I try to upload a sketch, i get DFU errors. I tried the "put it in permanent DFU mode" and have tried five or six times "holding reset button until compilation is nearly done then releasing it", but always get DFU error. What am I doing wrong?

Thanks !
What DFU error are you getting ?

What OS are you using.

jstevewhite
Posts: 2
Joined: Thu Dec 29, 2016 9:06 pm

Re: Generic board not shown as USB device after installing v2 bootloader

Post by jstevewhite » Fri Jan 06, 2017 4:36 pm

The error is:

dfu-util 0.8

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
dfu-util: Invalid DFU suffix signature
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!

dfu-util: No DFU capable USB device available
An error occurred while uploading the sketch

And I'm on Mac OS X. I can upload fine with st-link. here's the weird thing. I uploaded the 'blink' sketch with an added "Serial.begin" to bring up the port. I upload it with st-link, it runs and works right away. Then I try and upload it to the (now visible) "/dev/cu.usbmodem1311 (Maple mini)", and the sketch stops running.

User avatar
RogerClark
Posts: 7422
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Generic board not shown as USB device after installing v2 bootloader

Post by RogerClark » Fri Jan 06, 2017 8:13 pm

OSX does not seem to be a hardware friendly OS.

There are numerous posts from OSX users where things wont work correctly, and they had to find a work around.

Your best option is to use google to search the site for those OSX postings and see if what you are experiencing is something someone else has come across before and found a solution to.

Post Reply