<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Madox.NET &#187; Software</title>
	<atom:link href="http://www.madox.net/blog/category/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madox.net/blog</link>
	<description>Perversions of an Engineer</description>
	<lastBuildDate>Mon, 30 Jan 2012 12:21:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>TI eZ430 Chronos Watch + Python Library + Remote Control</title>
		<link>http://www.madox.net/blog/2011/01/09/ti-ez430-chronos-watch-python-library-remote-control/</link>
		<comments>http://www.madox.net/blog/2011/01/09/ti-ez430-chronos-watch-python-library-remote-control/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 11:18:38 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[WTF]]></category>
		<category><![CDATA[Chronos]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[eZ430]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=779</guid>
		<description><![CDATA[Around one year ago I ordered some of those supposedly wonderful TI eZ430 &#8220;Hackable&#8221; Watches but only received them last October since I had to wait for the 433Mhz version.  Three months later I finally decided to have a go at trying it out and wrote a Python library for in the process. Silly video [...]]]></description>
			<content:encoded><![CDATA[<p>Around one year ago I ordered some of those supposedly wonderful TI eZ430 &#8220;Hackable&#8221; Watches but only received them last October since I had to wait for the 433Mhz version.  Three months later I finally decided to have a go at trying it out and wrote a Python library for in the process.</p>
<p>Silly video first&#8230;</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/PNRa-Ra-kiU" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/PNRa-Ra-kiU"></embed></object></p>
<p><span id="more-779"></span></p>
<p>It is quite a neat little watch for $50, the default factory firmware has enough features on it for most purposes that you wouldn&#8217;t need to touch it to use it in a typical application.  I know someone who is using it as a watch&#8230;</p>
<p>There&#8217;s enough information floating on the Internet about this already, with very useful information on the <a href="http://processors.wiki.ti.com/index.php/EZ430-Chronos" target="_blank">TI Wiki</a>.  Annoyingly though, most of the information floating around is in bits and pieces and in some cases plain wrong.  I ended up writing a quick Python library and was pleasantly surprised at how easy it was to access most of the watch functions, the main ones of being able to read the accelerometer and button press data.</p>
<p>With a Python library in hand, I tried using it to remote control the <a href="http://www.madox.net/blog/2010/12/19/mecanum-wheel-base/" target="_blank">Mecanum Wheel Rover</a>.  And as seen in the video above, not very impressive results and the problem wasn&#8217;t in my code.</p>
<p>I&#8217;m not sure if it is the 433Mhz version and the fact that there isn&#8217;t enough space for a decent antenna, but the range was horrendous.  I would lose complete control of the rover at around 2.5 metres and anything over 1.5 metres was hit and miss.  Considering the average human height, the Chronos (or at least my 433Mhz one) is pretty must useless for direct remote control purposes.  Using it as a wireless door lock mechanism?  That&#8217;s probably a good use for it <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Any other ideas what I can use this watch for?</p>
<p>Back to WiFi/RFM12Bs and nRF24L01+s for remote control!</p>
<p>If anyone is interested, here is a slightly messy Python library for interfacing to it :-<br />
<a href="http://www.madox.net/blog/wp-content/uploads/2011/01/TIChronos.py_2010-01-09.zip">TIChronos.py_2010-01-09</a></p>
<p>I&#8217;ll tidy it up later when I have time or when I come up with a use for the watch <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2011/01/09/ti-ez430-chronos-watch-python-library-remote-control/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Chumby + iPhone + Android + Mecanum Wheels</title>
		<link>http://www.madox.net/blog/2010/12/24/chumby-iphone-android-mecanum-wheels/</link>
		<comments>http://www.madox.net/blog/2010/12/24/chumby-iphone-android-mecanum-wheels/#comments</comments>
		<pubDate>Fri, 24 Dec 2010 13:22:24 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[WTF]]></category>
		<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[Alibre]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[Crosscompiling]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=730</guid>
		<description><![CDATA[Couldn&#8217;t resist extending the software test on the mecanum wheel base&#8230;video comes later this time&#8230; The &#8216;quick and nasty&#8217; software files are still the same as in the previous post.  Pure software test only, couldn&#8217;t resist the temptation to try it via WiFi on a stock Chumby instead of USB tethering.  As such the hardware [...]]]></description>
			<content:encoded><![CDATA[<p>Couldn&#8217;t resist extending the <a href="http://www.madox.net/blog/2010/12/24/mecanum-wheel-base-software-test/" target="_blank">software test</a> on the <a href="http://www.madox.net/blog/2010/12/19/mecanum-wheel-base/" target="_blank">mecanum wheel base</a>&#8230;video comes later this time&#8230;</p>
<p>The &#8216;quick and nasty&#8217; software files are still the same as in the previous post.  Pure software test only, couldn&#8217;t resist the temptation to try it via WiFi on a stock Chumby instead of USB tethering.  As such the hardware frame is a bit too flimsy and the batteries aren&#8217;t enough to power the Chumby without brown-out resets.  These will be improved upon soon <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This demonstrates the &#8216;touch&#8217; (initialize) and &#8216;swipe&#8217; (move/offset) control on touch screens.  Will try the DeviceMotion Javascript API on iOS 4.2 devices (iPhone 4G/iPad) if I can get my hands on that filth&#8230; <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><span id="more-730"></span></p>
<h2>Video!</h2>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/cB-6qN8dbVQ" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/cB-6qN8dbVQ"></embed></object></p>
<h2>Previous Posts :-</h2>
<ul>
<li><a href="http://www.madox.net/blog/2010/12/19/mecanum-wheel-base/" target="_blank">http://www.madox.net/blog/2010/12/19/mecanum-wheel-base/</a></li>
<li><a href="http://www.madox.net/blog/2010/12/24/mecanum-wheel-base-software-test/" target="_blank">http://www.madox.net/blog/2010/12/24/mecanum-wheel-base-software-test/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2010/12/24/chumby-iphone-android-mecanum-wheels/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>mChumby &#8211; Test run</title>
		<link>http://www.madox.net/blog/2009/07/15/mchumby-test-run/</link>
		<comments>http://www.madox.net/blog/2009/07/15/mchumby-test-run/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 10:12:29 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[Perverse Applications of Science...]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[CAN Bus]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[FTDI]]></category>
		<category><![CDATA[HaXe]]></category>
		<category><![CDATA[Mazda]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=498</guid>
		<description><![CDATA[After getting my EasySync USB-Can Adapter it was time to resurrect the mChumby project.  The interface GUI design hasn&#8217;t changed much, namely because its been lying idle but I figured it is good enough to try putting it onto the car for a test run. I didn&#8217;t want to fiddle around with getting power to [...]]]></description>
			<content:encoded><![CDATA[<p>After getting my <a href="http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/" target="_blank">EasySync USB-Can Adapter</a> it was time to resurrect the <a href="http://http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">mChumby</a> project.  The <a href="http://www.madox.net/blog/2009/04/06/mchumby-interface-design/" target="_blank">interface GUI design</a> hasn&#8217;t changed much, namely because its been lying idle but I figured it is good enough to try putting it onto the car for a test run.</p>
<p>I didn&#8217;t want to fiddle around with getting power to the Chumby, so the test is simply using my trusty old laptop and the EasySync adapter.  Only the speedometer, the tachometer and the accelerator pedal position is attached because again I&#8217;m too lazy to fiddle with my cable layout and as such its connected to the <a href="http://www.madox.net/blog/mazda-can-bus/" target="_blank">Mazda HS-Can</a> bus only rather than the MS-Can where the <a href="http://www.madox.net/blog/2008/11/17/reverse-engineering-the-mazda-can-bus-part-1/" target="_blank">goodie trip computer information is contained.</a></p>
<p>Almost every concoction of technology is used ranging from CAN, USB, PHP, HTTP, Shared Memory, XML, Flash, to an obscure programming language called HaXe.  Here is the result :-</p>
<p><span id="more-498"></span></p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/1NRWEeg4KeE" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/1NRWEeg4KeE"></embed></object></p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/Y8t7p2WR_3k" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://www.youtube.com/v/Y8t7p2WR_3k"></embed></object></p>
<p>The flash movie was set to 6 frames per second and the responsiveness of the data was superb.  I think I&#8217;ve stated before that the CAN speed data differs to the one displayed on the instrumentation cluster and this again really shows at higher speeds.</p>
<p>All I need to do now is to try it on a <a href="http://www.chumby.com/" target="_blank">Chumby</a>, there should be no portability issues as I&#8217;ve tested both flash and php on the Chumby before.</p>
<p>So does anyone have any comments and suggestions on the GUI and what else I could put on it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/07/15/mchumby-test-run/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>EasySync USB-CAN Bus Adapter &#8211; Works great in Ubuntu after some fiddling</title>
		<link>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/</link>
		<comments>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 12:52:30 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Problems Help]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[CAN Bus]]></category>
		<category><![CDATA[Chumby]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[FTDI]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=476</guid>
		<description><![CDATA[The toys just keep coming in!  Another one of those wallet killing impulsive orders whilst I was sick in bed last week just arrived today, a USB-CAN bus converter module by EasySync that promises a great interface and should work in Linux!  This will give a little bump start to my Mazda CAN Bus / [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_477" class="wp-caption aligncenter" style="width: 368px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2414A.JPG"><img class="size-medium wp-image-477" title="CIMG2414A" src="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2414A-358x300.jpg" alt="Neat little package" width="358" height="300" /></a><p class="wp-caption-text">Neat little package</p></div>
<p>The toys just keep coming in!  Another one of those wallet killing impulsive orders whilst I was sick in bed last week just arrived today, a USB-CAN bus converter module by <a href="http://www.easysync.co.uk/" target="_blank">EasySync</a> that promises a great interface and should work in Linux!  This will give a little bump start to my <a href="http://www.madox.net/blog/mazda-can-bus/" target="_blank">Mazda CAN Bus</a> / <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">mChumby</a> projects.</p>
<p><em>Note : EasySync UK&#8217;s online form doesn&#8217;t allow international shipping but a short E-mail or two managed that.  There is a US subsidiary with US and international shipping, but the international shipping rates on the US site is plain ridiculous [$68USD to ship a $88 device to Australia].</em></p>
<p><em>Note 2 : I hear the interface is mimicking the Lawicel CAN-USB interface&#8230;only hearsay&#8230;<br />
</em></p>
<p>Plugged it in &#8211; didn&#8217;t work.  Doh!  Took a peek at the manual and website, nothing on Linux other than &#8220;Linux drivers provided&#8221;&#8230; So much for the marketing material, guess I have to try make it work myself.  (Yes I got it working, read on for the quick run-down post aimed at helping others)</p>
<p><span id="more-476"></span></p>
<div id="attachment_478" class="wp-caption aligncenter" style="width: 460px"><a href="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2417A.JPG"><img class="size-medium wp-image-478" title="CIMG2417A" src="http://www.madox.net/blog/wp-content/uploads/2009/06/CIMG2417A-450x282.jpg" alt="Sneak peek inside the box" width="450" height="282" /></a><p class="wp-caption-text">Sneak peek inside the box</p></div>
<p>Now with the photos out of the way, a little bit of detective work is ahead of us&#8230; why doesn&#8217;t this thing work&#8230; I paid so much money for it to replace the qprotos adapter!</p>
<p>A little bit of lsusb (or cat /proc/bus/usb/devices if you&#8217;ve got usbdevfs) sleuthing later&#8230;</p>
<blockquote>
<pre>Bus 003 Device 004: ID 0403:fac6 Future Technology Devices International, Ltd
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               2.00
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0         8
 idVendor           0x0403 Future Technology Devices International, Ltd
 idProduct          0xfac6
 bcdDevice            6.00
 iManufacturer           1 EasySync
 iProduct                2 USB2-F-7001 CAN-Plus Adapter
 iSerial                 3 ESNFWLPL
 bNumConfigurations      1
 Configuration Descriptor:
 bLength                 9
 bDescriptorType         2
 wTotalLength           32
 bNumInterfaces          1
 bConfigurationValue     1
 iConfiguration          0
 bmAttributes         0x80
 (Bus Powered)
 MaxPower              150mA
 Interface Descriptor:
 bLength                 9
 bDescriptorType         4
 bInterfaceNumber        0
 bAlternateSetting       0
 bNumEndpoints           2
 bInterfaceClass       255 Vendor Specific Class
 bInterfaceSubClass    255 Vendor Specific Subclass
 bInterfaceProtocol    255 Vendor Specific Protocol
 iInterface              2 USB2-F-7001 CAN-Plus Adapter
 Endpoint Descriptor:
 bLength                 7
 bDescriptorType         5
 bEndpointAddress     0x81  EP 1 IN
 bmAttributes            2
 Transfer Type            Bulk
 Synch Type               None
 Usage Type               Data
 wMaxPacketSize     0x0040  1x 64 bytes
 bInterval               0
 Endpoint Descriptor:
 bLength                 7
 bDescriptorType         5
 bEndpointAddress     0x02  EP 2 OUT
 bmAttributes            2
 Transfer Type            Bulk
 Synch Type               None
 Usage Type               Data
 wMaxPacketSize     0x0040  1x 64 bytes
 bInterval               0
Device Status:     0x0000
 (Bus Powered)</pre>
</blockquote>
<p>Yup definitely a FTDI device, even with the FTDI vendor ID (Did I mention I love FTDI?).  Looks like EasySync decided they wanted their own unique product ID, unfortunately that means the vanilla ftdi_sio drive won&#8217;t pick it up without a little bit of coercing.</p>
<p>The little bit of coercing goes like&#8230;</p>
<blockquote><p><em>modprobe ftdi_sio vendor=0&#215;0403 product=0xfac6</em></p></blockquote>
<p>And bingo&#8230;</p>
<blockquote>
<pre>[ 6372.229046] usb 2-2: new full speed USB device using uhci_hcd and address 3
[ 6372.437247] usb 2-2: configuration #1 chosen from 1 choice
[ 6372.439834] ftdi_sio 2-2:1.0: FTDI USB Serial Device converter detected
[ 6372.439872] usb 2-2: Detected FT232RL
[ 6372.439934] usb 2-2: FTDI USB Serial Device converter now attached to ttyUSB0</pre>
</blockquote>
<p>Using putty to connect to ttyUSB0 at 115200, and typing &#8220;H&#8221; followed by &#8220;Enter&#8221; gives us</p>
<blockquote>
<pre>=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2009.06.30 21:23:18 =~=~=~=~=~=~=~=~=~=~=~=
H
List of Supported Commands
O - Open CAN Channel
C - Close CAN Channel
t - Transmit Standard Frame
T - Transmit Extended Frame
F - Read Status Flag
V - USB2-F-7001 Version
N - Serial Number of USB2-F-7001
Z - TimeStamp Option On/Off
S - Set CAN Bit Rate
s - Set BRGCON Registers
m - Set Acceptance Mask
M - Set Acceptance Filter
B - Enter Bootload Mode
L - Set Listen Mode
E - Clear Buffers and Echo Char
R - Reset USB2-F-7001
H, ? or h - Help on USB2-F-7001 Commands</pre>
</blockquote>
<p>Only problem is that its Mac style line endings.  Even the append CR to LF option in putty is useless because the stream seems to be CR without LF&#8230;  Doesn&#8217;t hurt too much except displaying it is a bit annoying.</p>
<p>The EasySync USB-CAN adapter&#8217;s pinout is pretty much standard DB9 for CAN Bus and all I had to do was connect my existing J1962 (aka OBD-II aka DLC-2) cable on and onto the car I went.</p>
<p>A couple of short &#8220;S6&#8243; (500kbps) &#8220;L&#8221; (Open connection for listen mode) commands later, I had CAN data being spat back at me</p>
<blockquote>
<pre>t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t04680601FF0000000000
t20F8FFFF27104000FF01
t2118FFFF000040000001
t4B082710271027102710
t19080000000000000000</pre>
</blockquote>
<p>All is good&#8230;except I just deleted my Chumby Development Virtual Machine a few hours ago&#8230;ooops&#8230;another day before I use this neat little adapter for <a href="http://www.madox.net/blog/2009/03/23/mchumby-mazdamadox-chumby/" target="_blank">mChumby</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/06/30/easysync-usb-can-bus-adapter-works-great-in-ubuntu-after-some-fiddling/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Ubuntu 9.04 &#8211; Jaunty Jackalope AMD64 (64 bit)</title>
		<link>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/</link>
		<comments>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 10:40:17 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Problems Help]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=317</guid>
		<description><![CDATA[I&#8217;ve finally made the jump and using the AMD64 version of Ubuntu as my primary installation.  There are a couple of tricky things to deal with, primarily with closed sourced applications such as Adobe Flash Plugin and Skype which are two applications I need to use. How to install Adobe Flash Plugin 64 Bit for [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally made the jump and using the AMD64 version of Ubuntu as my primary installation.  There are a couple of tricky things to deal with, primarily with closed sourced applications such as Adobe Flash Plugin and Skype which are two applications I need to use.</p>
<h2>How to install Adobe Flash Plugin 64 Bit for Ubuntu 9.04</h2>
<p>A lot of the tutorials/guides online will tell you to use nspluginwrapper or similar.  Adobe has released an &#8216;alpha&#8217; version of their 64 bit player which is pretty stable so far&#8230;</p>
<p>Download it from :-<a href="http://labs.adobe.com/downloads/flashplayer10.html" target="_blank">http://labs.adobe.com/downloads/flashplayer10.html</a></p>
<p>Unpack the archive and copy the only file to the Firefox plugins folder in &#8216;<em>/usr/lib/firefox-addons/plugins</em>&#8216; :-</p>
<blockquote><p>sudo cp libflashplayer.so /usr/lib/firefox-addons/plugins</p></blockquote>
<h2>How to install Skype 64 bit for Ubuntu 9.04</h2>
<p>You would think you could just go to www.skype.com and ask for a download and it&#8217;ll be like the Adobe site detecting that you have a 64 bit system right?  Wrong (at time of writing).  Annoyingly that&#8217;ll just let you download an i386 package!</p>
<p>You could manually remedy this by downloading the AMD64 .deb package from :-<br />
<a href="http://www.skype.com/go/getskype-linux-ubuntu-amd64" target="_blank">http://www.skype.com/go/getskype-linux-ubuntu-amd64</a></p>
<h2>Everything else?</h2>
<p>So far the respositories have been kind to me&#8230; but i&#8217;ll update if I run into any other troubles <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Voila happy 64 bit Ubuntu&#8217;ing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/04/24/ubuntu-904-jaunty-jackalope-amd64-64-bit/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Essential Free Software for a Windows Install</title>
		<link>http://www.madox.net/blog/2009/01/07/essential-free-software-for-a-windows-install/</link>
		<comments>http://www.madox.net/blog/2009/01/07/essential-free-software-for-a-windows-install/#comments</comments>
		<pubDate>Tue, 06 Jan 2009 13:20:17 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Free Software Tips]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=216</guid>
		<description><![CDATA[Yesterday I went and bought a laptop for my dad to learn how to use computers and the internet.  A base install of windows is not functional nor safe enough to let loose on the internet without some additional software.  Being an avid fan of things that are free, I went and downloaded the latest [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I went and bought a laptop for my dad to learn how to use computers and the internet.  A base install of windows is not functional nor safe enough to let loose on the internet without some additional software.  Being an avid fan of things that are free, I went and downloaded the latest versions of free software that I thought would be essential for this new PC.</p>
<p>I hope this post is useful for other people, but its really a lazy way of me bookmarking everything in-case I have to do it again.</p>
<p><span id="more-216"></span></p>
<p>Before anyone I know asks &#8220;Why didn&#8217;t you use (Insert Linux Variant Here)?&#8221;, its because linux has poor language input capabilities for any language other than English.  Windows Vista has in-built character recognition for a plethora of languages and most tablets are sold with software written for Windows.</p>
<p>Anyway that&#8217;s probably the last pro-Microsoft paragraph you&#8217;ll get out of me&#8230;So what did I download for dad?</p>
<h2><a href="http://www.openoffice.org/" target="_blank">OpenOffice<br />
</a></h2>
<p>In my opinion one of the best suites of open-source software out there, OpenOffice will basically do anything Microsoft Office will do but for free.  From doing your expenses to writing up reports and articles, OpenOffice will do it for you.</p>
<p>Office 2007 onwards annoyed the hell out of me with the non-intuitive ribbons interface.  OpenOffice retains the old but tried menu system so I can teach/help my dad over the phone quite easily.</p>
<h2><a href="http://www.comodointernetsecurity.com/" target="_blank">Comodo Internet Security</a></h2>
<p>After the collapse of Kerio Personal Firewall I switched to Comodo Firewall (aka Comodo Internet Security).  It&#8217;s easy to set up and offered free without any feature limitations by Comodo.  The Defense+ element of the software might be annoying for some users though&#8230;</p>
<p><strong>Remember, the standard Windows Firewall is next to useless!</strong></p>
<h2><a href="http://free.grisoft.com/" target="_blank">AVG Anti-Virus</a></h2>
<p>Any windows machine for a new computer user MUST be set-up with decent anti-virus software.  I&#8217;ve used AVG for probably around 10 years now and it has worked great.  It may not rate the highest in detection tests and benchmarks but its free, easy to use and updates regularly.</p>
<h2><a href="http://www.videolan.org/" target="_blank">VLC Media Player</a></h2>
<p>I&#8217;m not a fan of Windows Media Player, I either use Media Player Classic or VLC.  For my dad I opted to install VLC to keep the install clean of odd-ball codecs from strange sources.</p>
<p>VLC will play almost all video formats except for a few proprietary ones (e.g. RealMedia).</p>
<h2><a href="http://www.foxitsoftware.com/" target="_blank">Foxit PDF Reader</a></h2>
<p>Inevitably when surfing the web one would come across articles or papers in the ubiquitous &#8216;PDF&#8217; format.  Adobe&#8217;s free reader has in my opinion become bloated and slow, while Foxit&#8217;s alternative is lightweight and fast.</p>
<p>A new version 3 has just been released and I have some issues with this new version (program is slow to close), however you can still download and install the old 2.4 versions if you like.</p>
<h2><a href="http://www.mozilla.com/firefox/" target="_blank">Firefox</a></h2>
<p>Might be going slightly out of order when I mentioned surfing the web.  I will not allow my dad, a new computer user to browse the web using Internet Explorer &#8211; it&#8217;ll just be a disaster waiting to happen.</p>
<p>Firefox is standards compliant and is extremely powerful when combined with useful add-ons such as Adblock Plus, NoScript, and FireGestures (just to name a few I installed for him).  Search for these via Firefox-&gt;Tools-&gt;Add-ons.</p>
<h2><a href="http://picasa.google.com/" target="_blank">Picasa</a></h2>
<p>I wasn&#8217;t a great fan of Picasa but I recently revisited it after needing to look at geodata (GPS Co-ordinates) embedded within exif data and was I surprised.  The new version 3 incorporates a very quick image viewer to replace Window&#8217;s annoying image previewer that mangles your photos if you rotate them for viewing!  The interface is swift and useable, great for my mom to view her happy snaps.</p>
<h2><a href="http://www.skype.com/" target="_blank">Skype</a></h2>
<p>With a family scattered over the four corners of the Earth (I think there&#8217;s an average distance of 6000km between each of the 4 siblings&#8230;), dad will definitely need an internet chat/phone program.  Skype fits the bill perfectly being free and used by all my family with one of the best quality video and audio I&#8217;ve seen.</p>
<p>There&#8217;s even paid options to ring landlines and mobiles (overseas of local) from the comfort of the home PC using the &#8216;Skype-Out&#8217; service.</p>
<h2>That&#8217;s it folks!</h2>
<p>That is it for the bare essentials!  There may be other software utilities such as <a href="http://www.7-zip.org/" target="_blank">7-Zip</a> other&#8217;s may consider essential, but this is where I&#8217;ve drawn my line for the usage needs of my dad.</p>
<p>Do you think I&#8217;ve missed out on anything (for use for the average new computer user)?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2009/01/07/essential-free-software-for-a-windows-install/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Parametric Modelling in Google Sketchup and Ponoko friendly SVG export for Sketchup</title>
		<link>http://www.madox.net/blog/2008/12/07/parametric-modelling-in-google-sketchup-and-ponoko-friendly-svg-export-for-sketchup/</link>
		<comments>http://www.madox.net/blog/2008/12/07/parametric-modelling-in-google-sketchup-and-ponoko-friendly-svg-export-for-sketchup/#comments</comments>
		<pubDate>Sun, 07 Dec 2008 12:10:35 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Weird]]></category>
		<category><![CDATA[3D Printing]]></category>
		<category><![CDATA[Alibre Xpress]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[Laser Cutting]]></category>
		<category><![CDATA[Ponoko]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=83</guid>
		<description><![CDATA[The problem I&#8217;ve recently signed up Ponoko&#8217;s Prime account and wanted to get something made.  I rather into a rather annoying problem, Alibre Xpress doesn&#8217;t have a SVG export.  I needed a way to design something and export it as SVG. I&#8217;ll admit the long post title is a problem too A possible solution? After [...]]]></description>
			<content:encoded><![CDATA[<h2>The problem</h2>
<p>I&#8217;ve recently signed up <a href="http://www.ponoko.com" target="_blank">Ponoko&#8217;s</a> Prime account and wanted to get something made.  I rather into a rather annoying problem, Alibre Xpress doesn&#8217;t have a SVG export.  I needed a way to design something and export it as SVG.</p>
<p>I&#8217;ll admit the long post title is a problem too <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-83"></span></p>
<h2>A possible solution?</h2>
<p>After searching the forums for a solution&#8230; I stumbled across a very promising method by using Alibre to export to DXF, using <a href="http://www.openoffice.org" target="_blank">OpenOffice</a> draw to import the DXF and then save-as SVG.  Summary result &#8211; it didn&#8217;t work.  OpenOffice had trouble opening the DXF file and so did the developmental release of Inkscape which includes a native DXF import.</p>
<p>Scratch that.</p>
<h2>Google SketchUp?</h2>
<p>Then I thought of using <a href="http://sketchup.google.com/" target="_blank">Google SketchUp</a> instead of <a href="http://www.alibre.com/xpress/">Alibre Xpress </a>because there was the possibility that it&#8217;ll work under <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> with Wine rather than me popping back to windows just to use Alibre [Which doesn't work with Wine].  First of all, I couldn&#8217;t get it working with Wine because of my laptop graphics card, but apparently it works for other people if you follow the <a href="http://wiki.winehq.org/GoogleSketchup" target="_blank">winehq wiki help</a>.  But I wasn&#8217;t going to give up&#8230; back to windows I go and some more googling research later I stumbled upon some interesting plugins for google sketchup.</p>
<h2>SVG Outline Export Plugin</h2>
<p><a href="http://flightsofideas.com/" target="_blank">Flight of ideas</a> has created a <a href="http://code.google.com/p/sketchup-svg-outline-plugin/" target="_blank">plug-in</a> for the purpose of exporting SketchUp models into Ponoko friendly SVG files.  Go to his blog or the plug-in page for intructions on how to install and use the plugin, but here are some screenshots to get you interested.</p>
<div id="attachment_85" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/exportsvg.png"><img class="size-medium wp-image-85" title="exportsvg" src="http://www.madox.net/blog/wp-content/uploads/2008/12/exportsvg-300x129.png" alt="Yup its kinda that easy to use..." width="300" height="129" /></a><p class="wp-caption-text">Yup its kinda that easy to use...</p></div>
<p><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/exportedsvg.png"><img class="aligncenter size-medium wp-image-84" title="exportedsvg" src="http://www.madox.net/blog/wp-content/uploads/2008/12/exportedsvg-289x300.png" alt="" width="289" height="300" /></a></p>
<h2>Parametric Modeling in Google SketchUp?</h2>
<p><a href="http://drivingdimensions.com/" target="_blank">Driving Dimensions</a> is a sketchup plugin that attempts to add parametric capabilities onto sketchup.  I&#8217;m pretty sure this is a pretty well kept secret because there weren&#8217;t all that many people that have <a href="http://drivingdimensions.com/SketchUp/download.php" target="_blank">downloaded</a> this plug-in (I was the 938th person).  Whilst it is an interesting concept, functionality is rather limited on the current early releases.  Basically you can add linear dimensions and angular dimensions onto lines/objects/whatever and the plugin will manage the these parametric constraints for you.  While it sounds good, in practice its still a nightmare to use because the sheer amount of (dimension) constraints you have to add to fully constrain a sketch.</p>
<div id="attachment_86" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/sketchupparametric.png"><img class="size-medium wp-image-86" title="sketchupparametric" src="http://www.madox.net/blog/wp-content/uploads/2008/12/sketchupparametric-300x180.png" alt="So many constraints for such a simple piece" width="300" height="180" /></a><p class="wp-caption-text">So many constraints for such a simple piece</p></div>
<div id="attachment_87" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/alibreparametric.png"><img class="size-medium wp-image-87" title="alibreparametric" src="http://www.madox.net/blog/wp-content/uploads/2008/12/alibreparametric-300x225.png" alt="So much easier in Alibre..." width="300" height="225" /></a><p class="wp-caption-text">Comparison - So much easier in Alibre...</p></div>
<p>Scratch this idea too&#8230;</p>
<h2>Alibre has a Google SketchUp export plugin!</h2>
<p>Hidden away (I couldn&#8217;t find the navigation link at all from the alibre webpage!) and apparently only accessible if you know the exact name of the plugin and by a google search is the <a href="http://www.alibre.com/promos/online/3DSketchUp.asp" target="_blank">Alibre 3D Publisher</a> (linked to save you the pain).  This plugin allows for direct export to Google Sketchup as a version 6 file which can be used with SketchUp 7.</p>
<div id="attachment_88" class="wp-caption aligncenter" style="width: 308px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/12/3dplublisher.png"><img class="size-medium wp-image-88" title="3dpublisher" src="http://www.madox.net/blog/wp-content/uploads/2008/12/3dplublisher-298x300.png" alt="Alibre 3D Publisher Plugin - Is it an STL export in disguise?" width="298" height="300" /></a><p class="wp-caption-text">Alibre 3D Publisher Plugin - Is it an STL export in disguise?</p></div>
<p>Ouch, what are all those triangles if you turn on view hidden geometry in sketchup?  It looks like everything has been triangulated and the svg plugin export picks up all those as individual faces.  One way to &#8216;fix this&#8217; is to manually select these edges and delete them.  Another way is to automate the process somewhat with a &#8216;Ruby script&#8217;.  But both are too messy for my liking.  The plugin isn&#8217;t right for me to use for SVG exporting, but its great for getting a model into sketchup for viewing.</p>
<h2>Back to square one&#8230;the DXF export&#8230;and it works!</h2>
<p>While writing this I thought I&#8217;ll try the DXF export again and realised that Google SketchUp reads the Alibre Xpress DXFs pretty well.</p>
<p>It goes something like this&#8230;</p>
<ol>
<li>Design and Model in Alibre Xpress</li>
<li>Export the &#8216;drawing&#8217; in DXF</li>
<li>Import into Google SketchUp.</li>
<li>Use the Flight of Ideas SVG export plugin</li>
</ol>
<p>Voila, SVG for ponoko&#8230; its messy but hey it works.  Maybe one day I&#8217;ll consider using Inkscape by itself&#8230;</p>
<p>Edit : Be careful on the Google SketchUp import because it defaults to &#8216;feet&#8217; as the units!  If you modeled in &#8216;mm&#8217; then things go horribly big.  Click &#8216;Options&#8217; on the import open dialog before you press OK and select the right units!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/12/07/parametric-modelling-in-google-sketchup-and-ponoko-friendly-svg-export-for-sketchup/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Compiling a toolchain for ARM7 under Ubuntu</title>
		<link>http://www.madox.net/blog/2008/11/26/compiling-a-toolchain-for-arm7-under-ubuntu/</link>
		<comments>http://www.madox.net/blog/2008/11/26/compiling-a-toolchain-for-arm7-under-ubuntu/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 22:55:35 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Microcontrollers]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[ARM]]></category>
		<category><![CDATA[Crosscompiling]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=54</guid>
		<description><![CDATA[Well this chronicles my first attempt at compiling a toolchain for programming ARM&#8217;s in ELF code. Why do I need a toolchain for programming ARMs? I found a LPC2378-STK development board in my room I want to give ARM programming a try (PS WinAVR is great for programming AVRs) I found I have some spare [...]]]></description>
			<content:encoded><![CDATA[<p>Well this chronicles my first attempt at compiling a toolchain for programming ARM&#8217;s in ELF code.</p>
<p>Why do I need a toolchain for programming ARMs?</p>
<ol>
<li>I found a <a href="http://www.google.com.au/url?sa=t&amp;source=web&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.olimex.com%2Fdev%2Flpc-2378stk.html&amp;ei=2XYsSdLNB5S48ATzw_26BA&amp;usg=AFQjCNEMrqCur9EzTwEAWo7Xr2y93wepgw&amp;sig2=484jqe6-NCOgdYedM5Yd7Q" target="_blank">LPC2378-STK development board</a> in my room</li>
<li>I want to give ARM programming a try (PS WinAVR is great for programming AVRs)</li>
<li>I found I have some spare ARM7 LPC2378&#8242;s lying around (WTF?) and thought I&#8217;ll actually complete my Chumby Speedometer on my car project!</li>
</ol>
<p><span id="more-54"></span>The compile process should be pretty straight forward, but I made a few stuffup&#8217;s along the way.</p>
<ul>
<li>I had originally wanted to keep it neat and install to a new directory, then the PATH annoyance thing hit me.  Setting the path under my user shell didn&#8217;t carry over when using sudo which is required to make install.  Solved using <em>sudo -s</em>, but then in the end i just redid it all and installed to <em>/usr/local/</em>.</li>
<li>Realised (should have known) that you need &#8216;GMP&#8217; and &#8216;MPFR&#8217; to compile GCC.  Available as packages <em>libgmp3-dev</em> and<em> libmpfr-dev</em> in Ubuntu.</li>
<li>Did my usual of forgetting to set up the prefix install location when configuring&#8230;minor boo boo</li>
</ul>
<h2>Setting it all up</h2>
<p>Install any packages you need&#8230; <em>build-essential</em> is probably essential&#8230; GMP and MPFR could be got by using</p>
<blockquote><p>sudo apt-get install libgmp3-dev libmpfr-dev</p></blockquote>
<p>Set-up some directories&#8230;I opted to use create an &#8216;arm-elf&#8217; directory in my home to hold both the source and build directories&#8230;</p>
<blockquote><p>cd ~<br />
mkdir arm-elf arm-elf/src<br />
cd ~/arm-elf/src</p></blockquote>
<h3>Get the latest sources&#8230;</h3>
<p>Get the latest sources for <a href="http://www.gnu.org/software/binutils/" target="_blank">binutils</a>, <a href="http://gcc.gnu.org/" target="_blank">gcc</a>, <a href="http://sourceware.org/newlib/" target="_blank">newlib</a>, <a href="http://sources.redhat.com/insight/" target="_blank">insight</a> (click the links if you need).  The versions I used should be obvious from the filenames below.  Just be wary that the insight front page is not kept up to date but you&#8217;ll find the latest if you follow any of the release links anyway.</p>
<blockquote><p>wget http://ftp.gnu.org/gnu/binutils/binutils-2.19.tar.bz2<br />
wget http://gcc.releasenotes.org/releases/gcc-4.3.2/gcc-4.3.2.tar.bz2<br />
wget ftp://sources.redhat.com/pub/newlib/newlib-1.16.0.tar.gz<br />
wget ftp://sourceware.org/pub/insight/releases/insight-6.8.tar.bz2</p></blockquote>
<h3>Unpack the sources&#8230;</h3>
<blockquote><p>tar -xvjf binutils-2.19.tar.bz2<br />
tar -xvjf gcc-4.3.2.tar.bz2<br />
tar -xvzf newlib-1.16.0.tar.gz<br />
tar -xvjf insight-6.8.tar.bz2</p></blockquote>
<h3>Tweak the gcc source config&#8230;</h3>
<p>Make a minor config tweak to the gcc source.  Edit gcc-4.3.2/gcc/config/arm/t-arm-elf and append <em>mno-thumb-interwork/mthumb-interwork</em> after MULTILIB_OPTIONS and <em>normal interwork</em> after MULTILIB_DIRNAMES.  I used nano, see the screenshot below if I haven&#8217;t been too clear <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-madoxmadox-laptop-armelf-src-gcc-432-gcc-config-arm.png"><img class="aligncenter size-full wp-image-55" title="src-gcc-432-gcc-config-arm" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-madoxmadox-laptop-armelf-src-gcc-432-gcc-config-arm.png" alt="" width="500" height="331" /></a></p>
<blockquote><p>nano ~/arm-elf/src/gcc-4.3.2/gcc/config/arm/t-arm-elf</p></blockquote>
<h3>Start building with fingers crossed&#8230;</h3>
<p>Now we can start building the toolchain.  Note my prefix is <em>/usr/local</em>.  First off binutils!</p>
<blockquote><p>cd ~/arm-elf/<br />
mkdir build build/binutils-2.19 build/insight-6.8 build/gcc-4.3.2 build/newlib-1.16.0</p>
<p>cd ~/arm-elf/build/binutils-2.19<br />
~/arm-elf/src/binutils-2.19/configure &#8211;target=arm-elf &#8211;prefix=/usr/local &#8211;enable-interwork &#8211;enable-multilib &#8211;with-float=soft &#8211;disable-werror<br />
sudo make all install</p></blockquote>
<p>Next just the gcc part of gcc&#8230;note we configure the newlib src headers here&#8230;</p>
<blockquote><p>cd ~/arm-elf/build/gcc-4.3.2<br />
~/arm-elf/src/gcc-4.3.2/configure &#8211;target=arm-elf &#8211;prefix=/usr/local &#8211;enable-interwork &#8211;enable-multilib &#8211;with-float=soft &#8211;disable-werror &#8211;enable-languages=&#8221;c,c++&#8221; &#8211;with-newlib  &#8211;with-headers=~/arm-elf/src/newlib-1.16.0/newlib/libc/include<br />
sudo make all-gcc install-gcc</p></blockquote>
<p>Now newlib&#8230;</p>
<blockquote><p>cd ~/arm-elf/build/newlib-1.16.0<br />
~/arm-elf/src/newlib-1.16.0/configure &#8211;target=arm-elf &#8211;prefix=/usr/local &#8211;enable-interwork &#8211;enable-multilib &#8211;with-float=soft &#8211;disable-werror<br />
sudo make all install</p></blockquote>
<p>Coming back for the rest off gcc (needed newlib)</p>
<blockquote><p>cd ~/arm-elf/build/gcc-4.3.2<br />
sudo make all install</p></blockquote>
<p>&#8230;and finally insight gdb</p>
<blockquote><p>cd ~/arm-elf/build/insight-6.8<br />
~/arm-elf/src/insight-6.8/configure &#8211;target=arm-elf &#8211;prefix=/usr/local &#8211;enable-interwork &#8211;enable-multilib &#8211;with-float=soft &#8211;disable-werror<br />
sudo make all install</p></blockquote>
<p>Voila done!  I should now have all my arm-elf tools!  Just a check&#8230;</p>
<blockquote>
<pre>madox@madox-laptop:/usr/local/bin$ ls arm*
arm-elf-addr2line  arm-elf-gcc        arm-elf-insight  arm-elf-run
arm-elf-ar         arm-elf-gcc-4.3.2  arm-elf-ld       arm-elf-size
arm-elf-as         arm-elf-gccbug     arm-elf-nm       arm-elf-strings
arm-elf-c++        arm-elf-gcov       arm-elf-objcopy  arm-elf-strip
arm-elf-c++filt    arm-elf-gdb        arm-elf-objdump
arm-elf-cpp        arm-elf-gdbtui     arm-elf-ranlib
arm-elf-g++        arm-elf-gprof      arm-elf-readelf</pre>
</blockquote>
<p>Yup all there and runs <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   Now the search for the LPC header files&#8230; argh</p>
<p>PS : If you copy and paste my commands, be wary of line breaks&#8230; I didn&#8217;t put \&#8217;s anywhere&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/11/26/compiling-a-toolchain-for-arm7-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to open Canon CR2 Raws in Ubuntu</title>
		<link>http://www.madox.net/blog/2008/11/25/how-to-open-canon-cr2-raws-in-ubuntu/</link>
		<comments>http://www.madox.net/blog/2008/11/25/how-to-open-canon-cr2-raws-in-ubuntu/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 13:21:28 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Software Tips & Tricks]]></category>
		<category><![CDATA[Free Software Tips]]></category>
		<category><![CDATA[GIMP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=45</guid>
		<description><![CDATA[Or more correctly, how to open Canon CR2 Raw Files for editing in Ubuntu using GIMP.  F-Spot the default image viewer in Ubuntu already allows you to open Canon CR2 Raw images for viewing. Gimp should come pre-installed with Ubuntu.  If you don&#8217;t have it installed for any reason (uninstalled?), install it using the command [...]]]></description>
			<content:encoded><![CDATA[<p>Or more correctly, how to open Canon CR2 Raw Files for editing in Ubuntu using <a href="http://www.gimp.org/" target="_blank">GIMP</a>.  F-Spot the default image viewer in Ubuntu already allows you to open Canon CR2 Raw images for viewing.</p>
<p><span id="more-45"></span></p>
<p>Gimp should come pre-installed with Ubuntu.  If you don&#8217;t have it installed for any reason (uninstalled?), install it using the command :</p>
<blockquote><p>sudo apt-get install gimp</p></blockquote>
<p>Next you need <a href="http://ufraw.sourceforge.net/" target="_blank">UFRaw</a> which is a utility to read and manipulate raw images from digital cameras.  Or in our case, it is better to use the GIMP UFRaw plugin.  Get it by using the command :</p>
<blockquote><p>sudo apt-get install gimp-ufraw</p></blockquote>
<p>Now wasn&#8217;t that easy?  Now all you need to do is simply right click on any .CR2 file, Select Open With &gt; Open With &#8220;Gimp Image Editor&#8221; and GIMP UFRaw dialog should appear like below.</p>
<div id="attachment_47" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/ufraw.png"><img class="size-medium wp-image-47" title="UFRaw Dialog" src="http://www.madox.net/blog/wp-content/uploads/2008/11/ufraw-300x173.png" alt="UFRaw Dialog" width="300" height="173" /></a><p class="wp-caption-text">UFRaw Dialog</p></div>
<p>I had to collapse some of the options to make the dialog appear on my small laptop (800 vertical pixel) screen, so if you can&#8217;t see the &#8220;OK&#8221; button don&#8217;t fret and resize the window.  There are a few options you can tweak with before you need to click &#8220;OK&#8221; as shown below.</p>
<div id="attachment_48" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader.png"><img class="size-medium wp-image-48" title="UFRaw Dialog Options" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader-300x173.png" alt="UFRaw Dialog Options" width="300" height="173" /></a><p class="wp-caption-text">UFRaw Dialog Options</p></div>
<p>There&#8217;s crop options too&#8230; but wonder why the &#8216;usual&#8217; print aspects aren&#8217;t there <img src='http://www.madox.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<div id="attachment_49" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader-1.png"><img class="size-medium wp-image-49" title="More UFRaw Options" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-media-data-2008-11-22-downeredi-rail-christmas-party-_mg_5724cr2-ufraw-photo-loader-1-300x173.png" alt="More UFRaw Options" width="300" height="173" /></a><p class="wp-caption-text">More UFRaw Options</p></div>
<p>And finally, the CR2 raw image makes its way into GIMP for glorious editing&#8230; I think I&#8217;ll add whiskers and cat&#8217;s ears to her face now&#8230;</p>
<div id="attachment_50" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-_mg_5724cr2-10-rgb-1-layer-3252x2602-e28093-gimp-1.png"><img class="size-medium wp-image-50" title="CR2 image opened in GIMP" src="http://www.madox.net/blog/wp-content/uploads/2008/11/screenshot-_mg_5724cr2-10-rgb-1-layer-3252x2602-e28093-gimp-1-300x151.png" alt="CR2 image opened in GIMP" width="300" height="151" /></a><p class="wp-caption-text">CR2 image opened in GIMP</p></div>
<p>This post is dedicated to <a href="http://www.auandy.com/" target="_blank">Andy Au</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/11/25/how-to-open-canon-cr2-raws-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Cowsay?  Madoxsay!  Fun (or oh so wrong) things in Ubuntu&#8230;</title>
		<link>http://www.madox.net/blog/2008/11/19/cowsay-madoxsay-fun-or-oh-so-wrong-things-in-ubuntu/</link>
		<comments>http://www.madox.net/blog/2008/11/19/cowsay-madoxsay-fun-or-oh-so-wrong-things-in-ubuntu/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 11:51:43 +0000</pubDate>
		<dc:creator>Madox</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Cows]]></category>
		<category><![CDATA[Fun Software]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.madox.net/blog/?p=40</guid>
		<description><![CDATA[It started with a colleague walking by my desk today and asking me if I had &#8216;cowsays&#8217; installed on my machine, never having heard of it before he dared me to just try run it.  A short command not found and a subsequent apt-get install later&#8230; I didn&#8217;t know whether to burst out laughing or [...]]]></description>
			<content:encoded><![CDATA[<p>It started with a colleague walking by my desk today and asking me if I had &#8216;cowsays&#8217; installed on my machine, never having heard of it before he dared me to just try run it.  A short command not found and a subsequent apt-get install later&#8230; I didn&#8217;t know whether to burst out laughing or slap my forehead.</p>
<blockquote>
<pre> ________________________________________
/ This is a very very useful and         \
| productive program available in Ubuntu |
\ and other Debian distributions...      /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||</pre>
</blockquote>
<p><span id="more-40"></span></p>
<p>I actually found a legitimate use for it!  It just happened that I was supposed to get a thermal printer to work over a RS232 RS485 converter over a Ethernet link all powered from 24V powered by an isolated 110V-24V converter which was fed by 240V&#8230;. Yup&#8230; Cowsay was the perfect print test material!</p>
<p>How do you get it?</p>
<blockquote><p>sudo apt-get install cowsay</p></blockquote>
<p>Usage is pretty self explanatory and the man page, but one nifty feature is that you can replace the cow with a library of animals using the &#8216;<em>-f</em>&#8216; option.  The list of animals is stored in (for <a href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> anyway) in <em>/usr/share/cowsay/cows/</em></p>
<p>List of animals&#8230;</p>
<blockquote>
<pre>madox@madox-laptop:~$ ls /usr/share/cowsay/cows/
apt.cow             elephant-in-snake.cow  milk.cow             supermilker.cow
beavis.zen.cow      eyes.cow               moofasa.cow          surgery.cow
bong.cow            flaming-sheep.cow      moose.cow            telebears.cow
bud-frogs.cow       ghostbusters.cow       mutilated.cow        three-eyes.cow
bunny.cow           head-in.cow            ren.cow              turkey.cow
cheese.cow          hellokitty.cow         satanic.cow          turtle.cow
cower.cow           kiss.cow               sheep.cow            tux.cow
daemon.cow          kitty.cow              skeleton.cow         udder.cow
default.cow         koala.cow              small.cow            vader.cow
dragon-and-cow.cow  kosh.cow               sodomized.cow        vader-koala.cow
dragon.cow          luke-koala.cow         sodomized-sheep.cow  www.cow
duck.cow            mech-and-cow.cow       stegosaurus.cow
elephant.cow        meow.cow               stimpy.cow</pre>
</blockquote>
<p>Now you simply use it by typing the following command</p>
<blockquote><p>cowsay -f animal whatyouwanttheanimaltosayhere</p></blockquote>
<p>The perfect case of a <strong>bad</strong> example&#8230;</p>
<blockquote>
<pre>madox@madox-laptop:~$ cowsay -f sodomized WTF? This is sooo wrong...
 ____________________________
&lt; WTF? This is sooo wrong... &gt;
 ----------------------------
      \                _
       \              (_)
        \   ^__^       / \
         \  (oo)\_____/_\ \
            (__)\       ) /
                ||----w ((
                ||     ||&gt;&gt;</pre>
</blockquote>
<p>Ok&#8230;maybe not so fun&#8230;but other more sane selections exist!  Tweaks on the animal eyes and more if you explore the man pages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madox.net/blog/2008/11/19/cowsay-madoxsay-fun-or-oh-so-wrong-things-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

