<?xml version="1.0"?><rss version="2.0">
<channel>
  <title>Alan&#039;s Ramblings - mbed tag</title>
  <link>http://bleaklow.com:80/tags/mbed/</link>
  <description>My opinions may be incorrect, but they are my own</description>
  <language>en</language>
  <copyright>Alan Burlison</copyright>
  <lastBuildDate>Wed, 29 Feb 2012 20:50:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  <image>
    <url>http://bleaklow.com/images/misc/logo.gif</url>
    <title>Alan&#039;s Ramblings</title>
    <link>http://bleaklow.com:80/</link>
  </image>
  <item>
    <title>mmmmm...mbed on OpenSolaris</title>
    <link>http://bleaklow.com:80/2010/10/19/mmmmm_mbed_on_opensolaris.html</link>
    <description>
          &lt;p&gt;
&lt;img src=&#034;http://mbed.org/media/img/mbedMicrocontroller.jpg&#034; alt=&#034;mbed&#034;/&gt;
A while back, Bob from &lt;a href=&#034;http://hacman.org.uk/&#034;&gt;hacman&lt;/a&gt; mentioned that there was a &lt;a href=&#034;http://circuitcellar.com/nxpmbeddesignchallenge/&#034;&gt;competition&lt;/a&gt; running for the &lt;a href=&#034;http://mbed.org&#034;&gt;mbed&lt;/a&gt; microcontroller, and that to encourage people to enter the organisers were giving away mbeds for free, so I filled in the web application form and promptly forgot about it.  Yesterday I got an email telling me I&#039;d been allocated an mbed and that ot could take up to three weeks to arrive, so I was a little surprised to find it pop through the letterbox this morning.
&lt;/p&gt;
&lt;p&gt;
The &lt;a href=&#034;http://mbed.org/handbook/mbed-NXP-LPC1768&#034;&gt;mbed NXP LPC1768&lt;/a&gt; is quite a beastie:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;ARM Cortex-M3 Core running at 96MHz&lt;/li&gt;
&lt;li&gt;512KB FLASH, 64KB RAM&lt;/li&gt;
&lt;li&gt;Analogue, digital and PMW I/O.&lt;/li&gt;
&lt;li&gt;On-board Ethernet&lt;/li&gt;
&lt;li&gt;On-board USB&lt;/li&gt;
&lt;li&gt;CAN bus (vehicle data bus)&lt;/li&gt;
&lt;li&gt;SPI bus&lt;/li&gt;
&lt;li&gt;I2C bus&lt;/li&gt;
&lt;li&gt;On-board filesystem&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
The development environment is fairly novel as well, they&#039;ve opted for what you might call a &#039;Cloud&#039; solution.  You plug the board in to a USB port and it appears as a USB disk drive.  The compiler is hosted at &lt;a href=&#034;http://mbed.org&#034;&gt;mbed.org&lt;/a&gt; where there&#039;s web-based IDE.  You develop your code using that, and when you hit &#039;compile&#039;, you get a downloadable binary image that you save onto mbed&#039;s USB drive, then hit the &#039;reset&#039; button on the board and it runs your code.  For debugging, the board also appears as a serial device, so you can read/write from/to the device using that.
&lt;/p&gt;
&lt;p&gt;
I had no idea if it would work on Solaris but it works just fine on build 150 - I plugged it in and it appeared as a USB disk and Gnome filemanager duly popped up so I could copy images onto it.  I loaded up one of the serial demo programs and &lt;code&gt;tip -b 9600 /dev/term/0&lt;/code&gt; connected to the board and allowed me to interact with it as expected.
&lt;/p&gt;
&lt;p&gt;
I&#039;m not &lt;strong&gt;entirely&lt;/strong&gt; sure about the online IDE - sure, it&#039;s quick and easy to get started, but a bit like the Arduino IDE, I suspect you&#039;d grow out of it pretty quickly, plus having to be online just to compile code is a bit limiting on a planet that&#039;s still not got 100% network coverage.  There&#039;s &lt;a href=&#034;http://dev.frozeneskimo.com/notes/compiling_your_own_cmsis_code_for_the_mbed&#034;&gt;some information&lt;/a&gt; out there on how to set about doing things yourself, but it looks like it would be a bit of a faff to get set up - you need &lt;a href=&#034;http://www.codesourcery.com/sgpp/lite/arm/download.html&#034;&gt;Code Sourcery&#039;s ARM EABI toolchain&lt;/a&gt;, which of course isn&#039;t available in binary form for Solaris, plus there&#039;s a whole heap of other messing about that&#039;s necessary.  In fact, as far as mbed goes I&#039;d pretty much echo &lt;a href=&#034;http://dev.frozeneskimo.com/notes/compiling_your_own_cmsis_code_for_the_mbed#some_thoughts&#034;&gt;these sentiments&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
So, I&#039;m not sure quite what I&#039;ll be using my mbed for - the Ethernet support seems interesting, as does the USB support, but at £50 each I don&#039;t think I&#039;ll be rushing out and buying a load soon, when the AVR is so much cheaper and perfectly adequate for most hack projects.  I think the mbed will probably end up being a gateway between the physical and virtual worlds, for example as a bridge between the internet and a collection of wirelessly-connected Arduinos.
&lt;/p&gt;</description>
      <category>Solaris</category>
    <category>Tech</category>
    <comments>http://bleaklow.com:80/2010/10/19/mmmmm_mbed_on_opensolaris.html#comments</comments>
    <guid isPermaLink="true">http://bleaklow.com:80/2010/10/19/mmmmm_mbed_on_opensolaris.html</guid>
    <pubDate>Tue, 19 Oct 2010 21:34:00 GMT</pubDate>
  </item>
  </channel>
</rss>

