<?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: using a Maple for a USB-MIDI device?</title>
		<link>http://forums.leaflabs.com/topic.php?id=189</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:09:31 +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=189" rel="self" type="application/rss+xml" />

		<item>
			<title>feurig on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189&amp;page=2#post-10706</link>
			<pubDate>Wed, 16 May 2012 20:09:03 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">10706@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Well it is lgpl as apposed to purist gpl. (always prefer mit/bsd personally) But there is some technical meat there. Thanks for the pointer.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189&amp;page=2#post-10698</link>
			<pubDate>Wed, 16 May 2012 16:35:59 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">10698@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;i'd love to see a more generic USB driver core in libmaple, something that sits on top of the various USB peripherals available across the different series. this is important since e.g. F1 performance line USB is incompatible with F2, etc. any CDCACM, MIDI, etc. driver would ideally just be a bunch of descriptors and endpoint callbacks registered with the USB driver core, which would then use a target-specific backend to get the job done.&#60;/p&#62;
&#60;p&#62;gareth mcmullin has done a lot of great work for libopencm3 in this regard. i'd love to use it, but i'm not sure how the LGPL plays with the MIT license.&#60;/p&#62;
&#60;p&#62;i know that portions of the linux kernel are dual-licensed under GPLv2 and some BSD license in order to facilitate collaboration between the two camps. something like that would be nice here. is anyone on friendly terms with the libopencm3 people? maybe they'd be open to the idea.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189&amp;page=2#post-10696</link>
			<pubDate>Wed, 16 May 2012 15:25:47 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">10696@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Also as someone who spent a lot of time working with deans CDCACM instability I am not sure that lufa is the end-all here. What would it take to get a working group for usb-midi integration?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189&amp;page=2#post-10620</link>
			<pubDate>Fri, 11 May 2012 18:32:04 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">10620@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Has any one revisited this lately? I am also in need of a usb storage class....
&#60;/p&#62;</description>
		</item>
		<item>
			<title>metaphysician on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-2669</link>
			<pubDate>Wed, 17 Nov 2010 02:04:08 +0000</pubDate>
			<dc:creator>metaphysician</dc:creator>
			<guid isPermaLink="false">2669@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hi folks - newbie scott here...just thought i would add my voice to the other posts here to say i am VERY interested in being able to address the Maple from a computer as a USB class compliant device (ideally audio and MIDI). i can basically stand on the sidelines and cheer you on and test the result, but i have almost zero microcontroller experience. however in the last year, i've played with a Teensy, a Lilypad, a UBW32 and most recently, purchased a Maple rev 3. &#60;/p&#62;
&#60;p&#62;i can guarantee that as the user base of Maple increases, there will be those wanting or needing direct USB interaction, not just uploading programs to a standalone processor. hacking LUFA (or reworking it) sounds like the best way i know. CNMAT had been doing something supposedly allowing any microcontroller to be enumerated as an OSC device, but that's probably not sufficient in terms of audio device access.&#60;/p&#62;
&#60;p&#62;at any rate, one of the chief reasons i purchased it was because of the near CD quality A/D conversion, and yes, Okie's project holds a huge amount of interest for me. i would LOVE to start working on the audio DSP ability to see how hard it could be pushed into being a flexible reasonable quality modular DSP platform.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>soundcyst on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-2658</link>
			<pubDate>Tue, 16 Nov 2010 20:42:39 +0000</pubDate>
			<dc:creator>soundcyst</dc:creator>
			<guid isPermaLink="false">2658@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hmm. having two cables seems less useful to me.. at that point, why not make a programmer and a device?  usability is a bit taxed there too.. &#34;why isn't my device working?  oh, woops, i plugged in the wrong usb cable&#34;.. sure, using a mini and a full sized cable solves that problem, but it's still potentially confusing.&#60;/p&#62;
&#60;p&#62;slightly OT, i'm dying to see the 16/44 fx pedal mentioned in the blog.. and to know what codec you guys are using. =D
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-2649</link>
			<pubDate>Tue, 16 Nov 2010 18:45:22 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">2649@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;i'm not really convinced that adding another stm32 will solve the problem, unless there are two usb ports -- one for programming, and one for running the midi device.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I think having two USB's is exactly what poslathian is describing for a future product.&#60;/p&#62;
&#60;p&#62;One USB correspnds to the 'existing' USB, and their would be a second USB for program loading and debugging, implemented on a second STM32F. The 'existing' USB would be available to be programmed in any way the user chooses.&#60;/p&#62;
&#60;p&#62;Some development boards work this way, including the new STM32F103RG board from ST.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>structuresound on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-2646</link>
			<pubDate>Tue, 16 Nov 2010 18:19:12 +0000</pubDate>
			<dc:creator>structuresound</dc:creator>
			<guid isPermaLink="false">2646@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Yes I'm happy to do some work on this, just am not at the programming level that someone who is helping maintain a public codebase should be at. &#60;/p&#62;
&#60;p&#62;@soundcyst that's about as far as I've gotten too, it seems the bootloader has a different usb headers than the base for the IDE, also it seems a call to setupUSB() would be fine, thankfully the maple folks have put in software control over usb &#34;discovery&#34; so it shouldn't be that hard to change the USB device in user code and leave the bootloader alone for re-programming, would just have to hit the button to stay in permanent bootloader to re-write.&#60;/p&#62;
&#60;p&#62;The confusing thing to me for adding new descriptors is that the maple lib seems to have it's own struct's for the desciptors rather than using the normal char table were descriptors are &#34;daisy-chained&#34; with a size char at the start of each set.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>soundcyst on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-2640</link>
			<pubDate>Tue, 16 Nov 2010 16:30:30 +0000</pubDate>
			<dc:creator>soundcyst</dc:creator>
			<guid isPermaLink="false">2640@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;i've been quietly reading into this more, and i haven't gotten too far.&#60;/p&#62;
&#60;p&#62;i'm not really convinced that adding another stm32 will solve the problem, unless there are two usb ports -- one for programming, and one for running the midi device.  instead, it seems like it just pushes the problem upstream.&#60;/p&#62;
&#60;p&#62;if i'm understanding the bootloader correctly, the maple actually appears as one type of usb device during the programming window, then turns itself into a different type of device for serial comms.&#60;/p&#62;
&#60;p&#62;basically, for a midi device to happen, we need a setupUSB() function that sets up the device as an audio class instead of cdc, which torches the ever-useful print() function.&#60;/p&#62;
&#60;p&#62;i've been thinking that making the computer think the maple is a hub might be a good approach, but haven't investigated it too much.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-2627</link>
			<pubDate>Tue, 16 Nov 2010 15:03:07 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">2627@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;if someone wants to work on this, well help support the effort - its just not at the top of the stack at this exact moment. But with strong interest it could be. One of the things weve been wanting to do in future Maple revisions/other boards is to drive the usb port of a completely separate (and smaller and cheaper) stm32 like what arduino UNO has done by adding an avr-usb to drive the port. With this approach, a LUFA port would be very handy.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>structuresound on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-2610</link>
			<pubDate>Tue, 16 Nov 2010 05:11:01 +0000</pubDate>
			<dc:creator>structuresound</dc:creator>
			<guid isPermaLink="false">2610@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Wondering if anyone has touched this topic recently?&#60;/p&#62;
&#60;p&#62;Looks like Dean is headed to Norway to hang with Atmel so I'm guessing he won't be delivering LUFA to STM land anytime really soon.&#60;/p&#62;
&#60;p&#62;I have a couple versions of the USB midi class descriptors kicking around and would love to hard-code it in, but I'm not quite sure what else has to be done other than hacking the char tables to get the maple to enumerate as anything other than vcom.&#60;/p&#62;
&#60;p&#62;plus I mostly never have any real idea what I'm doing when it comes to low level coding so I'm hoping someone else has had a go of it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-1478</link>
			<pubDate>Thu, 30 Sep 2010 15:26:19 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1478@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I haven't started on a LUFA port. I am still futzing with the robot (my colleague is thinking of doing another event in November!).&#60;/p&#62;
&#60;p&#62;I asked Dean if he knew of anyone porting LUFA to STM32F (last week) and he said not that he knew of.&#60;/p&#62;
&#60;p&#62;He also said he was going to work on refactoring the low-level, LUFA code; especially around end-points.&#60;br /&#62;
Dean said he's a bit busy at the moment, but plans to do that work when he does his 32-bit port.&#60;br /&#62;
So it would be worth discussing with Dean how he would like to move forward, and see if we can help each other.&#60;/p&#62;
&#60;p&#62;Hopefully, when LeafLabs have 0.0.7 released (expected near this weekend), they will return to this thread to talk.&#60;br /&#62;
My priority is to make the bootloader driverless, then move onto other USB devices. I'd like a few (i.e. HID, Mass storage, ...)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tesseract on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-1440</link>
			<pubDate>Wed, 29 Sep 2010 17:50:58 +0000</pubDate>
			<dc:creator>tesseract</dc:creator>
			<guid isPermaLink="false">1440@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am looking at the stm32 for an upcoming project and have been underwhelmed with the ST driver libraries. I was looking into porting LUFA and I see from this thread that this has been contemplated - or maybe even started? - previously. Is there any porting effort started that I could help out with? Or would someone care to outline the discussion with Dean about how it might be accomplished?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-1314</link>
			<pubDate>Fri, 17 Sep 2010 14:45:23 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1314@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;That would be stellar. Lets come back to this for sure.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "using a Maple for a USB-MIDI device?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=189#post-1312</link>
			<pubDate>Fri, 17 Sep 2010 11:19:45 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1312@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;poslathian - very helpful response.&#60;/p&#62;
&#60;p&#62;My choice of chip is driven by:&#60;br /&#62;
1. Reasonable ADC &#38;amp; DAC (midfi audio at low-cost)&#60;br /&#62;
2. Open Source tool chain&#60;br /&#62;
3. On board USB with plenty of endpoints.&#60;/p&#62;
&#60;p&#62;So, I didn't want an  FTDI chip on board :-) I want to be able to make a range of USB devices from the same hardware.&#60;br /&#62;
I've 'spoken' to Dean, and he gave me some good ideas.&#60;/p&#62;
&#60;p&#62;I seriously considered Atmel ATmega with USB, mostly because of LUFA and the Arduino IDE, but ATmega fails at 1.&#60;br /&#62;
Almost NXP, but STM32F seems much better at 1 (1msps vs 200ksps)&#60;br /&#62;
Atmel AVR32 a bit new (though I have development kits, and they are very nice chips).&#60;/p&#62;
&#60;p&#62;I am starting to refocus on Maple/STM32F (a big part of my September goals was completed earlier this week).&#60;br /&#62;
Maybe we could discuss USB and try to help each other once you guys have recovered from Maker-fair-fever?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
