Hello,
A while ago I bought a Maple rev5 Spring 2012 and Maple Native Beta Fall 2011, but never did anything with them.
Today after a new install of Ubuntu 14.04 AMD64, I decided to get the Maple IDE installed and unbox the Maple and Maple Native; however I'm having some issues with the IDE and these boards for some reason, so hopefully someone can shed some light on these issues.
I've followed the 64-bit installation instructions exactly, with exception to ia32-libs which gives the following message:
----------
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
lib32z1 lib32ncurses5 lib32bz2-1.0
----------
I then installed ib32z1 lib32ncurses5 and lib32bz2-1.0 as a replacement.
Starting with the Maple, once plugged in I get the following in dmesg:
----------
[ 5352.804118] usb 4-1: new full-speed USB device number 25 using uhci_hcd
[ 5352.965139] usb 4-1: New USB device found, idVendor=1eaf, idProduct=0003
[ 5352.965149] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5352.965157] usb 4-1: Product: Maple 003
[ 5352.965164] usb 4-1: Manufacturer: LeafLabs
[ 5352.965171] usb 4-1: SerialNumber: LLM 003
[ 5355.460292] usb 4-1: USB disconnect, device number 25
----------
Although the udev rules have been installed, no /dev/ttyACM0 device (or any /dev/ttyACM* device for that matter) is initiated. Here is the output from lsusb and dfu-util -l:
----------
root@T61:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0483:2016 STMicroelectronics Fingerprint Reader
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@T61:~# dfu-util -l
dfu-util 0.5
(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
(C) 2010-2011 Tormod Volden (DfuSe support)
This program is Free Software and has ABSOLUTELY NO WARRANTY
dfu-util does currently only support DFU version 1.0
----------
The board is not detected by the Maple IDE (serial ports are greyed out), and even running the IDE as root results in a "Couldn't find the DFU device: [1EAF:0003]" error when attempting to upload to the LeafLabs Maple Rev3+ Flash target in the IDE.
I then put the Maple into Perpetual Bootloader Mode, with the following dmesg output:
----------
[ 5718.276160] usb 4-1: new full-speed USB device number 26 using uhci_hcd
[ 5718.436242] usb 4-1: New USB device found, idVendor=1eaf, idProduct=0003
[ 5718.436254] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5718.436262] usb 4-1: Product: Maple 003
[ 5718.436269] usb 4-1: Manufacturer: LeafLabs
[ 5718.436276] usb 4-1: SerialNumber: LLM 003
----------
lsusb and dfu-util -l:
root@T61:~/Projects/maple/maple-ide-v0.0.12# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 026: ID 1eaf:0003
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0483:2016 STMicroelectronics Fingerprint Reader
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
root@T61:~/Projects/maple/maple-ide-v0.0.12# dfu-util -l
dfu-util 0.5
(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.
(C) 2010-2011 Tormod Volden (DfuSe support)
This program is Free Software and has ABSOLUTELY NO WARRANTY
dfu-util does currently only support DFU version 1.0
Found DFU: [1eaf:0003] devnum=0, cfg=1, intf=0, alt=0, name="DFU Pro"
Found DFU: [1eaf:0003] devnum=0, cfg=1, intf=0, alt=1, name="DFU Program FLASH 0x08005000"
----------
Same "Couldn't find the DFU device: [1EAF:0003]" message as before, even when running the Maple IDE as root.
I have a bit better luck with the Maple Native, but still can't upload a program to it. After compiling again and uploading to the Native flash target, I get this far:
----------
Binary sketch size is reported above. Check it against a 500000 byte maximum.
Loading via dfu-util
Resetting to bootloader via DTR pulse
----------
...at which point the IDE just hangs. Resetting the board doesn't appear to execute any loaded code in the flash of the Native, and putting it into perpetual bootloader mode results with:
----------
Searching for DFU device [1EAF:0003]...
Error!
Couldn't find the DFU device: [1EAF:0003]
----------
Any ideas? I know that Ubuntu 14.04 was just released, but at the very least the Maple should be registering a /dev/ttyACM* device which it never does (although at least the Maple Native gets that far).
Thanks in advance!