when I connect the Maple Mini clone, I can see that the device is recognized using
$ system_profiler SPUSBDataType | awk '
/Product ID:/{p=$3}
/Vendor ID:/{v=$3}
/Manufacturer:/{sub(/.*: /,""); m=$0}
/Location ID:/{sub(/.*: /,""); printf("%s:%s %s (%s)\n", v, p, $0, m);}
'
Depending on what is loaded onto your maple mini when you received it… Its either running blink or its waiting in the bootloader as it doesnt have a sketch to run.
The bootloader checks if the Sketch start address is empty, and if so, it just waits in dfu mode forever. if they loaded blink, it will run as a dfu device for about 1 second then run the sketch.
Note. It does not run DFU and Serial at the same time. It runs dfu in the bootloader and serial in the sketch and resets the usb in between
I have noticed some issues with libusb being missing, so I would recommend you install dfu-util using Homebrew as this installs libusb ( even though we no longer use homebrew’s copy of dfu-util)
Actually, it looks like i need to recompile dfu util to get rid of this external library dependancy, but i only realised it was a problem a few day ago and have not had time to investigate how to compile with static libs instead of dynamic libusb.
BTW. there are big problems with El Capitain, due to additional security, but I thought Yosemite was ok.
Anyway, I tried it with Windows 8.1, Arduino 1.6.5 and “Arduino Due 1.65” (from the board manager) and flashed it successfully (after some failed attempts).
It appears that the USB can’t reset the Maple Mini clone, I have to reset it manually.
Also, I can’t seem to flash the new boatloader 2.0, only the original will do.
Using the new boot loader, when connected through a 4 port generic hub (that’s connected to my thunderbolt monitor, then connected to the MBP) the serial port enumerates at: /dev/cu.usbmodem801211, Arduino IDE sees that port and I can program normally.
This is on:
OSX 10.10.5
MM clone, BAITE BTE-14-07
I tried pushing the two buttons together prior to upload and im getting an error. The maple mini bte14-07 does not show up as a usb device.
Very new to this so hope you can help.
<…>
I tried pushing the two buttons together prior to upload and im getting an error. The maple mini bte14-07 does not show up as a usb device.
<…>
- I downloaded the leaflabs compiler and I can run the blink sketch and change the blink timing.
- In Arduino I can see the smt32 usb device and .
- When I try to upload a sketch I get maple_upload: line 34: /Applications/Arduino: No such file or directory.
Any tips? Do I need to burn the bootloader or something?
There is documentation on how to install the “core”
https://github.com/rogerclarkmelbourne/ … stallation
On OSX some users also need to install dfu-util using homebrew http://brew.sh/
/Applications/Arduino 2 – AUG 2015.app/Contents/Java/hardware/Arduino_STM32/tools/macosx/maple_upload: line 34: /Applications/Arduino: No such file or directory
Any clues?
Maybe IDE has issue with the spaces found in the path, if so, you can maybe workaround it by creating symbolic link, or simply move the folder in better location.
This is my last error and it advises a update for osx but im already running 10.10.5
dyld: Library not loaded: /opt/local/lib/libusb-1.0.0.dylib
Referenced from: /Applications/Arduino.app/Contents/Java/hardware/Arduino_STM32/tools/macosx/dfu-util/dfu-util
Reason: image not found
/Applications/Arduino.app/Contents/Java/hardware/Arduino_STM32/tools/macosx/maple_upload: line 53: 1396 Trace/BPT trap: 5 ${DFU_UTIL} -d ${usbID} -a ${altID} -D ${binfile} -R ${dfuse_addr} -R
That helped me in a similar case.


