<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Issues with Maple and Maple Native on Ubuntu 14.04 AMD64</title>
		<link>http://forums.leaflabs.com/topic.php?id=74311</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:08:54 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=74311" rel="self" type="application/rss+xml" />

		<item>
			<title>gp on "Issues with Maple and Maple Native on Ubuntu 14.04 AMD64"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74311#post-105354</link>
			<pubDate>Sat, 26 Apr 2014 14:09:43 +0000</pubDate>
			<dc:creator>gp</dc:creator>
			<guid isPermaLink="false">105354@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This was an issue with 64-bit Ubuntu and libusb support:&#60;/p&#62;
&#60;p&#62;root@T61:~/maple-ide-v0.0.12/hardware/tools/arm/bin# ./dfu-util&#60;br /&#62;
./dfu-util: error while loading shared libraries: libusb-0.1.so.4: cannot open shared object file: No such file or directory&#60;/p&#62;
&#60;p&#62;Fixed with apt-get install libusb-0.1-4:i386&#60;/p&#62;
&#60;p&#62;Thanks for the help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tormod on "Issues with Maple and Maple Native on Ubuntu 14.04 AMD64"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74311#post-105351</link>
			<pubDate>Fri, 25 Apr 2014 17:46:51 +0000</pubDate>
			<dc:creator>tormod</dc:creator>
			<guid isPermaLink="false">105351@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;&#38;gt; Does anyone actually use these forums anymore?&#60;/p&#62;
&#60;p&#62;Why do you ask this? You can see as well as me that people post both questions and answers here every week. Or are you so offended about nobody answering you the same day?&#60;/p&#62;
&#60;p&#62;&#38;gt; Package ia32-libs is not available, but is referred to by another package.&#60;/p&#62;
&#60;p&#62;Using ia32-libs have become obsoleted by the new multi-architecture system &#60;a href=&#34;https://wiki.debian.org/Multiarch&#34; rel=&#34;nofollow&#34;&#62;https://wiki.debian.org/Multiarch&#60;/a&#62; in newer Linux distributions.&#60;/p&#62;
&#60;p&#62;&#38;gt; Although the udev rules have been installed, no /dev/ttyACM0 device (or any /dev/ttyACM* device for that matter) is initiated.&#60;/p&#62;
&#60;p&#62;The udev rules in question *only* change the owner/permissions on the device, they will not make the device show up or not in the device tree.&#60;/p&#62;
&#60;p&#62;It is important to understand that the Maple shows up as several completely different USB devices from the point of view of the computer. For 8 seconds after reset (or forever in &#34;perpetual&#34; mode if you press Button before the blinking goes from fast to slow) it is a USB DFU device, with USB ID 1eaf:0003 (you can see this with &#34;lsusb&#34;) - this is the USB bootloader. There is no device under /dev except the rather anonymous node under /dev/bus/usb/X/Y.&#60;/p&#62;
&#60;p&#62;When an application (&#34;sketch&#34;) is running there will appear a CDC serial port device (/dev/ttyACMx under Linux) unless the application has disabled this. This is USB ID 1eaf:0002.&#60;/p&#62;
&#60;p&#62;So unless you put it into the perpetual bootloader, the IDE has only a small window where it should start up dfu-util behind the scene and start communicating with the bootloader. I can see from the timestamps in your log above that the OS only sees the bootloader for 2.5 seconds.&#60;/p&#62;
&#60;p&#62;And if there is a problem with the sketch, it might not start up the serial port, and in this case the IDE is not able to switch the Maple into bootloader mode. Then you'll have to use the perpetual bootloader.&#60;/p&#62;
&#60;p&#62;I'd suggest you put the device into perpetual boot loader, and run dfu-util manually at least the first time. I believe the IDE reports somewhere where it puts the .bin file (the compiled sketch to be uploaded). In your case I guess the IDE freaks out because there is no CDC serial port device to talk to and thus no DTR to pulse.&#60;/p&#62;
&#60;p&#62;Finally, there is also the serial boot loader mode that is used for flashing the bootloader. This operates on a real serial port (pins PA9 and PA10), and there is no USB device active. This mode is entered by holding the Button while releasing Reset - kind of easy to mix up with the perpetual bootloader.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ventosus on "Issues with Maple and Maple Native on Ubuntu 14.04 AMD64"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74311#post-105350</link>
			<pubDate>Fri, 25 Apr 2014 15:15:08 +0000</pubDate>
			<dc:creator>ventosus</dc:creator>
			<guid isPermaLink="false">105350@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Have you tried with the unix toolchain directly?&#60;br /&#62;
It may help to narrow down the problem.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://leaflabs.com/docs/unix-toolchain.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/unix-toolchain.html&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gp on "Issues with Maple and Maple Native on Ubuntu 14.04 AMD64"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74311#post-105349</link>
			<pubDate>Thu, 24 Apr 2014 10:37:41 +0000</pubDate>
			<dc:creator>gp</dc:creator>
			<guid isPermaLink="false">105349@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Does anyone actually use these forums anymore?&#60;/p&#62;
&#60;p&#62;Is the Maple project dead at this point?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gp on "Issues with Maple and Maple Native on Ubuntu 14.04 AMD64"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74311#post-105346</link>
			<pubDate>Tue, 22 Apr 2014 00:25:20 +0000</pubDate>
			<dc:creator>gp</dc:creator>
			<guid isPermaLink="false">105346@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;A while ago I bought a Maple rev5 Spring 2012 and Maple Native Beta Fall 2011, but never did anything with them.&#60;/p&#62;
&#60;p&#62;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.&#60;/p&#62;
&#60;p&#62;I've followed the 64-bit installation instructions exactly, with exception to ia32-libs which gives the following message:&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;Package ia32-libs is not available, but is referred to by another package.&#60;br /&#62;
This may mean that the package is missing, has been obsoleted, or&#60;br /&#62;
is only available from another source&#60;br /&#62;
However the following packages replace it:&#60;br /&#62;
  lib32z1 lib32ncurses5 lib32bz2-1.0&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;I then installed ib32z1 lib32ncurses5 and lib32bz2-1.0 as a replacement.&#60;/p&#62;
&#60;p&#62;Starting with the Maple, once plugged in I get the following in dmesg:&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;[ 5352.804118] usb 4-1: new full-speed USB device number 25 using uhci_hcd&#60;br /&#62;
[ 5352.965139] usb 4-1: New USB device found, idVendor=1eaf, idProduct=0003&#60;br /&#62;
[ 5352.965149] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3&#60;br /&#62;
[ 5352.965157] usb 4-1: Product: Maple 003&#60;br /&#62;
[ 5352.965164] usb 4-1: Manufacturer: LeafLabs&#60;br /&#62;
[ 5352.965171] usb 4-1: SerialNumber: LLM 003&#60;br /&#62;
[ 5355.460292] usb 4-1: USB disconnect, device number 25&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;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:&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;root@T61:~# lsusb&#60;br /&#62;
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&#60;br /&#62;
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&#60;br /&#62;
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 003 Device 002: ID 0483:2016 STMicroelectronics Fingerprint Reader&#60;br /&#62;
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
root@T61:~# dfu-util -l&#60;br /&#62;
dfu-util 0.5&#60;/p&#62;
&#60;p&#62;(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.&#60;br /&#62;
(C) 2010-2011 Tormod Volden (DfuSe support)&#60;br /&#62;
This program is Free Software and has ABSOLUTELY NO WARRANTY&#60;/p&#62;
&#60;p&#62;dfu-util does currently only support DFU version 1.0&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;The board is not detected by the Maple IDE (serial ports are greyed out), and even running the IDE as root results in a &#34;Couldn't find the DFU device: [1EAF:0003]&#34; error when attempting to upload to the LeafLabs Maple Rev3+ Flash target in the IDE.&#60;/p&#62;
&#60;p&#62;I then put the Maple into Perpetual Bootloader Mode, with the following dmesg output:&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;[ 5718.276160] usb 4-1: new full-speed USB device number 26 using uhci_hcd&#60;br /&#62;
[ 5718.436242] usb 4-1: New USB device found, idVendor=1eaf, idProduct=0003&#60;br /&#62;
[ 5718.436254] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3&#60;br /&#62;
[ 5718.436262] usb 4-1: Product: Maple 003&#60;br /&#62;
[ 5718.436269] usb 4-1: Manufacturer: LeafLabs&#60;br /&#62;
[ 5718.436276] usb 4-1: SerialNumber: LLM 003&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;lsusb and dfu-util -l:&#60;/p&#62;
&#60;p&#62;root@T61:~/Projects/maple/maple-ide-v0.0.12# lsusb&#60;br /&#62;
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&#60;br /&#62;
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&#60;br /&#62;
Bus 004 Device 026: ID 1eaf:0003&#60;br /&#62;
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
Bus 003 Device 002: ID 0483:2016 STMicroelectronics Fingerprint Reader&#60;br /&#62;
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&#60;br /&#62;
root@T61:~/Projects/maple/maple-ide-v0.0.12# dfu-util -l&#60;br /&#62;
dfu-util 0.5&#60;/p&#62;
&#60;p&#62;(C) 2005-2008 by Weston Schmidt, Harald Welte and OpenMoko Inc.&#60;br /&#62;
(C) 2010-2011 Tormod Volden (DfuSe support)&#60;br /&#62;
This program is Free Software and has ABSOLUTELY NO WARRANTY&#60;/p&#62;
&#60;p&#62;dfu-util does currently only support DFU version 1.0&#60;/p&#62;
&#60;p&#62;Found DFU: [1eaf:0003] devnum=0, cfg=1, intf=0, alt=0, name=&#34;DFU Pro&#34;&#60;br /&#62;
Found DFU: [1eaf:0003] devnum=0, cfg=1, intf=0, alt=1, name=&#34;DFU Program FLASH 0x08005000&#34;&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;Same &#34;Couldn't find the DFU device: [1EAF:0003]&#34; message as before, even when running the Maple IDE as root.&#60;/p&#62;
&#60;p&#62;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:&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;Binary sketch size is reported above. Check it against a 500000 byte maximum.&#60;br /&#62;
Loading via dfu-util&#60;br /&#62;
Resetting to bootloader via DTR pulse&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;...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:&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;Searching for DFU device [1EAF:0003]...&#60;br /&#62;
Error!&#60;/p&#62;
&#60;p&#62;Couldn't find the DFU device: [1EAF:0003]&#60;/p&#62;
&#60;p&#62;----------&#60;/p&#62;
&#60;p&#62;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).&#60;/p&#62;
&#60;p&#62;Thanks in advance!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
