My class project group just got a Maple board, and we are trying to set up our development environments. None of us have used Maple before. My partner uses a Mac, and she couldn't get access to make and gcc through XCode, so we installed VirtualBox on her machine and set up a VM with Ubuntu 11.10 (32-bit). She was then able to get through the entire toolchain setup guide at http://leaflabs.com/docs/unix-toolchain.html.
I run Gentoo (64-bit) natively. I was able to get down through the compilation part without issue. But when I run make install
I get the following:
Install target: flash
./support/scripts/reset.py && sleep 1 && dfu-util -a1 -d 1EAF:0003 -D build/maple.bin -R
You appear to be using 64-bit Linux. Let us know if this works.
Could not find Maple serial port; defaulting to /dev/maple.
Using /dev/maple as Maple serial port
Failed to open serial port /dev/maple for reset
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
Filter on vendor = 0x1eaf product = 0x0003
Opening DFU USB device... ID 1eaf:0003
Run-time device DFU version 011a
Found DFU: [1eaf:0003] devnum=0, cfg=1, intf=0, alt=1, name="DFU Program FLASH 0x08005000"
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 1024
No valid DFU suffix signature
Warning: File has no DFU suffix
Error: Could not read name, sscanf returned0
Error: Failed to parse memory layout
make: *** [install] Error 1
When I Google for these errors, all I get are listings of the dfu-util source code. My suspicion is that the last two lines are the only ones that are actually problems, but I don't know what any of it means. I can still see the board. When I run dfu-util -l
(while in perpetual boot mode), I get this:
Found Runtime: [0a5c:2110] devnum=0, cfg=1, intf=3, alt=0, name="UNDEFINED"
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"
I note that make install
expressed doubt about whether this should work on 64-bit Linux. To drill down further, I might try setting up a 32-bit VM on my machine, but I would really like to get this working natively. Does anyone have any ideas?
According to the Git log, I have the latest library version, which was updated on 10/20/11, if that matters. Also, this is my first post on a bbPress forum, so I'm sorry if my formatting is messed up.
I would appreciate it if someone could shed some light on this.