<?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>Morrison Tech .Net &#187; Electronics</title>
	<atom:link href="http://blog.morrison.nl/category/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.morrison.nl</link>
	<description>GIS / .NET / Electronics</description>
	<lastBuildDate>Thu, 10 May 2012 11:36:59 +0000</lastBuildDate>
	<language>nl-NL</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Foscam Clone Recovery (Part 2)</title>
		<link>http://blog.morrison.nl/2011/01/foscam-clone-recovery-part-2/</link>
		<comments>http://blog.morrison.nl/2011/01/foscam-clone-recovery-part-2/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 14:33:34 +0000</pubDate>
		<dc:creator>Ramon van Bruggen</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://blog.morrison.nl/2011/01/foscam-clone-recovery-part-2/</guid>
		<description><![CDATA[To follow up on my previous post, the news is that I have successfully dumped all firmware parts of my camera. The bad news is that it didn’t work on my camera. The problem is this: audio_dev.state not AU_STATE_RECORDING wb_audio_start_record inet_sr.c INET_rinput 321 action===1 options==33 inet_sr.c INET_setroute 75 *args===255.255.255.255 *args===netmask *args===eth0 [29] write i2c error write i2c error write i2c error write i2c error write i2c error write i2c error write i2c error write i2c [...]]]></description>
				<content:encoded><![CDATA[<p>To follow up on my previous post, the news is that I have successfully dumped all firmware parts of my camera. The bad news is that it didn’t work on my camera.</p>
<p>The problem is this:</p>
<blockquote>
<pre class="csharpcode">audio_dev.state not AU_STATE_RECORDING
wb_audio_start_record
inet_sr.c INET_rinput 321
action===1
options==33
inet_sr.c INET_setroute 75
*args===255.255.255.255
*args===netmask
*args===eth0
[29]
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
myreboot</pre>
</blockquote>
<p>Every time the camera is almost at the end of the boot process it try’s to read “something” and after that fails it reboots itself!! The problem is that this is exact the same problem I have with all firmware&#8217;s I tried.</p>
<p>I start to think that in the newest revisions of the camera’s there is some sort of security chip build in the camera and if the firmware doesn’t detect this chip or some kind of CRC code it reboots!</p>
<p>Another strange thing I have seen is that when you flash the “romfs.img” part to the camera it changes. I made a dump of the “romfs.img” part and it is different then the image I flashed to it, but is exactly the same as what is on the camera.</p>
<p>I’m going to attach my tool to this post for others to experiment with it. <span style="color: #ff0000;"><strong>You have to remember that this is “total, your on your own software!!” </strong></span>I’m not responsible for any form of damage the tool might cause to your camera! Ok well with that out of the way, a little bit of explanation of how the tool works.</p>
<h4>Step 1</h4>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2011/01/Step1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-style: initial; border-color: initial; border-image: initial; border-width: 0px;" title="Step1" src="http://blog.morrison.nl/wp-content/uploads/2011/01/Step1_thumb.png" alt="Step1" width="446" height="387" border="0" /></a></p>
<p>Press the browse button to select a folder to dump the firmware to.</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2011/01/Step2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-style: initial; border-color: initial; border-image: initial; border-width: 0px;" title="Step2" src="http://blog.morrison.nl/wp-content/uploads/2011/01/Step2_thumb.png" alt="Step2" width="446" height="387" border="0" /></a></p>
<h4>Step 2</h4>
<p>Choose the port where you <strong>RS232</strong> device is and select “<strong>Open Port</strong>”</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2011/01/Step3.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-style: initial; border-color: initial; border-image: initial; border-width: 0px;" title="Step3" src="http://blog.morrison.nl/wp-content/uploads/2011/01/Step3_thumb.png" alt="Step3" width="446" height="387" border="0" /></a></p>
<h4>Step 3</h4>
<p>After you clicked on the “Open Port” button you have to connect your camera, if all goes well you will see the message “<strong>Camera is in ‘Bootloader’ mode</strong>”</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2011/01/Step4.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-style: initial; border-color: initial; border-image: initial; border-width: 0px;" title="Step4" src="http://blog.morrison.nl/wp-content/uploads/2011/01/Step4_thumb.png" alt="Step4" width="446" height="387" border="0" /></a></p>
<h4>Step 4</h4>
<p>Click on the “Dump Firmware button</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2011/01/Step5.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-style: initial; border-color: initial; border-image: initial; border-width: 0px;" title="Step5" src="http://blog.morrison.nl/wp-content/uploads/2011/01/Step5_thumb.png" alt="Step5" width="446" height="387" border="0" /></a></p>
<h4>Step 5</h4>
<p>Choose the firmware images you want to dump and click the “Dump” button</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2011/01/Step7.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-style: initial; border-color: initial; border-image: initial; border-width: 0px;" title="Step7" src="http://blog.morrison.nl/wp-content/uploads/2011/01/Step7_thumb.png" alt="Step7" width="442" height="387" border="0" /></a></p>
<h4>Step 6</h4>
<p>The tool will start dumping the selected images and if all goes well you will end up with a working copy of your firmware.</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2011/01/Step8.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-style: initial; border-color: initial; border-image: initial; border-width: 0px;" title="Step8" src="http://blog.morrison.nl/wp-content/uploads/2011/01/Step8_thumb.png" alt="Step8" width="443" height="387" border="0" /></a></p>
<p>I have to say, because the tool uses RS232 serial communication to dump the firmware it is not very stable, it is very likely that you won’t succeed to dump the firmware straight away, it will probably take a few times to get it right, but I wanted to share the tool for those who might find it useful.</p>
<p><strong>You can download the tool here:<br />
</strong></p>
<p><strong><a class="downloadlink" href="http://blog.morrison.nl/wp-content/plugins/download-monitor/download.php?id=1" title="Version0.1 downloaded 2026 times" >Foscam Clone Recovery Tool (2026)</a><br />
</strong><br />
Cheers,</p>
<p>Ramon</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://blog.morrison.nl/2011/01/foscam-clone-recovery-part-2/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://blog.morrison.nl/2011/01/foscam-clone-recovery-part-2/" data-text="Foscam Clone Recovery (Part 2)"></a><a class="a2a_button_google_plusone addtoany_special_service" data-annotation="none" data-href="http://blog.morrison.nl/2011/01/foscam-clone-recovery-part-2/"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.morrison.nl%2F2011%2F01%2Ffoscam-clone-recovery-part-2%2F&amp;title=Foscam%20Clone%20Recovery%20%28Part%202%29" id="wpa2a_2">Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.morrison.nl/2011/01/foscam-clone-recovery-part-2/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Foscam Clone Recovery Tool</title>
		<link>http://blog.morrison.nl/2011/01/foscam-clone-recovery-tool/</link>
		<comments>http://blog.morrison.nl/2011/01/foscam-clone-recovery-tool/#comments</comments>
		<pubDate>Sat, 08 Jan 2011 00:37:55 +0000</pubDate>
		<dc:creator>Ramon van Bruggen</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://blog.morrison.nl/2011/01/foscam-clone-recovery-tool/</guid>
		<description><![CDATA[I recently bought a few of these camera’s: http://www.chinavasion.com/product_info.php/pName/ip-surveillance-camera-with-angle-control-and-motion-detection/ There not very good, but for that amount of money what can we expect! After installing the cams and playing a bit with them the natural urge to flash the latest firmware to a device came over me. I looked at the site of China Vasion, but could not find anything of a new firmware. A bit disappointed I search on google and found out that [...]]]></description>
				<content:encoded><![CDATA[<p>I recently bought a few of these camera’s:<br />
<a title="http://www.chinavasion.com/product_info.php/pName/ip-surveillance-camera-with-angle-control-and-motion-detection/" href="http://www.chinavasion.com/product_info.php/pName/ip-surveillance-camera-with-angle-control-and-motion-detection/">http://www.chinavasion.com/product_info.php/pName/ip-surveillance-camera-with-angle-control-and-motion-detection/</a></p>
<p>There not very good, but for that amount of money what can we expect! After installing the cams and playing a bit with them the natural urge to flash the latest firmware to a device came over me.</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2011/01/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://blog.morrison.nl/wp-content/uploads/2011/01/image_thumb.png" alt="image" width="119" height="119" border="0" /></a></p>
<p>I looked at the site of China Vasion, but could not find anything of a new firmware. A bit disappointed I search on google and found out that this camera is a Foscam clone. I immediately rushed over to the site of the original foscam camera and downloaded the latest firmware.  Next thing I knew was that I was sitting behind my desk with a bricked device in my hand…</p>
<p>I searched the entire internet hoping to find a way to recover my bricked device. I have bricked many devices before, and usually there is a backdoor in.</p>
<p>I found a few very interesting sites:<br />
<a title="http://www.gadgetvictims.com/2009/12/bring-your-fi8908w-paperweight-back-to.html" href="http://www.gadgetvictims.com/2009/12/bring-your-fi8908w-paperweight-back-to.html">http://www.gadgetvictims.com/2009/12/bring-your-fi8908w-paperweight-back-to.html</a><br />
<a title="http://www.computersolutions.cn/blog/2010/05/ip-cam-hacking-%E2%80%93-pt6/" href="http://www.computersolutions.cn/blog/2010/05/ip-cam-hacking-%E2%80%93-pt6/">http://www.computersolutions.cn/blog/2010/05/ip-cam-hacking-%E2%80%93-pt6/</a><br />
<a href="http://irishjesus.wordpress.com/2010/03/30/hacking-the-foscam-fi8908w/">http://irishjesus.wordpress.com/2010/03/30/hacking-the-foscam-fi8908w/</a></p>
<p>Gadget Victems describes a way to get into the bootloader of the device through a serial connection. I opened up the cam and soldered the wires on the serial connection pads.</p>
<p>I tried about every firmware I found, but none did the trick. I always ended up with my cam in an endless loop of reboots.</p>
<p>I then checked the bootloader commands and saw a option called: Display Memory (D). If you type in for example: <strong>D -b 0x7F0E0000</strong> it will display the first 256 bytes from that address like below.</p>
<blockquote>
<pre class="csharpcode">Displaying memory at 0x7F0E0000
[7F0E0000] 2D 72 6F 6D 31 66 73 2D - 00 08 CF 50 C6 EA 45 5B  -rom1fs-...P..E[
[7F0E0010] 72 6F 6D 20 34 61 38 39 - 33 63 63 62 00 00 00 00  rom.4a893ccb....
[7F0E0020] 00 00 00 49 00 00 00 20 - 00 00 00 00 D1 FF FF 97  ...I............
[7F0E0030] 2E 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
[7F0E0040] 00 00 00 60 00 00 00 20 - 00 00 00 00 D1 D1 FF 80  ...`............
[7F0E0050] 2E 2E 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
[7F0E0060] 00 00 00 C9 00 00 00 80 - 00 00 00 00 8C 88 9D 47  ...............G
[7F0E0070] 73 77 61 70 00 00 00 00 - 00 00 00 00 00 00 00 00  swap............
[7F0E0080] 00 00 00 A0 00 00 00 60 - 00 00 00 00 D1 FF FF 00  .......`........
[7F0E0090] 2E 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
[7F0E00A0] 00 00 00 00 00 00 00 20 - 00 00 00 00 D1 D1 FF E0  ................
[7F0E00B0] 2E 2E 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
[7F0E00C0] 00 00 01 29 00 00 00 E0 - 00 00 00 00 9A 8B 9A F7  ...)............
[7F0E00D0] 65 74 63 00 00 00 00 00 - 00 00 00 00 00 00 00 00  etc.............
[7F0E00E0] 00 00 01 00 00 00 00 C0 - 00 00 00 00 D1 FF FE 40  ...............@
[7F0E00F0] 2E 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00  ................
</pre>
</blockquote>
<p>I really wanted to get my cameras back so I hacked up this quick and dirty tool today, it dumps all the memory from a given memory range. I have did some tests and did a compare with the output of my tool and the original firmware and it was a match!!</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2011/01/image1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://blog.morrison.nl/wp-content/uploads/2011/01/image_thumb1.png" alt="image" width="459" height="389" border="0" /></a></p>
<p>I don’t have a good camera here at the moment so I can’t check if this will solve my problem, but at least I can dump the firmware of any Foscam Clone Camera.</p>
<p>As soon as I tested some more and I have added some extra options to the tool I will make it available for anyone who wants to use it!</p>
<p>Cheers,</p>
<p>Ramon</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://blog.morrison.nl/2011/01/foscam-clone-recovery-tool/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://blog.morrison.nl/2011/01/foscam-clone-recovery-tool/" data-text="Foscam Clone Recovery Tool"></a><a class="a2a_button_google_plusone addtoany_special_service" data-annotation="none" data-href="http://blog.morrison.nl/2011/01/foscam-clone-recovery-tool/"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.morrison.nl%2F2011%2F01%2Ffoscam-clone-recovery-tool%2F&amp;title=Foscam%20Clone%20Recovery%20Tool" id="wpa2a_4">Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.morrison.nl/2011/01/foscam-clone-recovery-tool/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>One Click Firmware Updater for Netduino&#8217;s</title>
		<link>http://blog.morrison.nl/2010/10/one-click-firmware-updater-for-netduinos/</link>
		<comments>http://blog.morrison.nl/2010/10/one-click-firmware-updater-for-netduinos/#comments</comments>
		<pubDate>Tue, 26 Oct 2010 12:55:46 +0000</pubDate>
		<dc:creator>Ramon van Bruggen</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://blog.morrison.nl/2010/10/one-click-firmware-updater-for-netduinos/</guid>
		<description><![CDATA[I have created a one click firmware updater for the Netduino! The tool was initially build by forum user Randoom for the FEZ Devices. I took that code as my base and created the Netduino One Click installer. It detects a Netduino automatically and reads the currently installed firmware version, after that the tool will check on a remote site if there is a newer version of the firmware available (currently it is my blog). [...]]]></description>
				<content:encoded><![CDATA[<p>I have created a one click firmware updater for the <strong>Netduino</strong>! The tool was initially build by forum user Randoom for the FEZ Devices. I took that code as my base and created the Netduino One Click installer. It detects a Netduino automatically and reads the currently installed firmware version, after that the tool will check on a remote site if there is a newer version of the firmware available (currently it is my blog). If it detects the version on the Netduino is older you can click the update firmware button to update your Netduino!</p>
<p>A few things to keep in mind:<br />
1. It is alpha software and not for people who do not know how to recover if something goes wrong.<br />
2. You need an internet connection <img src='http://blog.morrison.nl/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  if you would like to use the auto update feature.<br />
3. It currently only supports the Netduino, so not the Plus or Mini, those will be supported in later versions.</p>
<p>If you would like to test please remember you have to have version <strong>4.1.0.3</strong> on your Netduino, so you can test the automatic update feature. I have<strong> 4.1.0.4</strong> on the update server.</p>
<p><img src="http://blog.morrison.nl/wp-content/uploads/2010/10/NetduinoOneClickUpdater.png" alt="" /></p>
<p>I hope you like the tool! Please let me know what you think!</p>
<p>You can download the Updater here: <a href="../wp-content/uploads/2010/10/NetduinoFirmwareUpdater.zip">One Click Updater for Netduino</a></p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://blog.morrison.nl/2010/10/one-click-firmware-updater-for-netduinos/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://blog.morrison.nl/2010/10/one-click-firmware-updater-for-netduinos/" data-text="One Click Firmware Updater for Netduino&rsquo;s"></a><a class="a2a_button_google_plusone addtoany_special_service" data-annotation="none" data-href="http://blog.morrison.nl/2010/10/one-click-firmware-updater-for-netduinos/"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.morrison.nl%2F2010%2F10%2Fone-click-firmware-updater-for-netduinos%2F&amp;title=One%20Click%20Firmware%20Updater%20for%20Netduino%E2%80%99s" id="wpa2a_6">Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.morrison.nl/2010/10/one-click-firmware-updater-for-netduinos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FEZ Domino DIY Project</title>
		<link>http://blog.morrison.nl/2010/10/fez-domino-diy-project/</link>
		<comments>http://blog.morrison.nl/2010/10/fez-domino-diy-project/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 14:26:37 +0000</pubDate>
		<dc:creator>Ramon van Bruggen</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://blog.morrison.nl/?p=74</guid>
		<description><![CDATA[I decided to take the ultimate challenge, at least for me, and that is that I am going to build a FEZ Domino from scratch, well not exactly from scratch, but anyway. I downloaded the schematics and PCB layout from the TinyCLR.com website. Next I went to my favorite PCB house Seeed Studio and ordered 10 PCB’s. I placed my order at the 14th of September, the boards where ready and shipped the 19th. Today [...]]]></description>
				<content:encoded><![CDATA[<p>I decided to take the ultimate challenge, at least for me, and that is that I am going to build a FEZ Domino from scratch, well not exactly from scratch, but anyway. I downloaded the schematics and PCB layout from the <a href="http://www.tinyclr.com/" target="_blank">TinyCLR.com</a> website. Next I went to my favorite PCB house <a href="http://www.seeedstudio.com/depot/open-source-service-prototyping-service-c-64_12.html" target="_blank">Seeed Studio</a> and ordered 10 PCB’s. I placed my order at the 14<sup>th</sup> of September, the boards where ready and shipped the 19th. Today the 30th September I received my boards!</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/FEZDominoBoards3.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0pt none;" title="FEZDominoBoards3" src="http://blog.morrison.nl/wp-content/uploads/2010/09/FEZDominoBoards3_thumb.jpg" border="0" alt="FEZDominoBoards3" width="537" height="414" /></a></p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/FEZDominoBoards2.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0pt none;" title="FEZDominoBoards2" src="http://blog.morrison.nl/wp-content/uploads/2010/09/FEZDominoBoards2_thumb.jpg" border="0" alt="FEZDominoBoards2" width="536" height="404" /></a><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/FEZDominoBoards.jpg"></a></p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/FEZDominoBoards.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0pt none;" title="FEZ Domino Boards" src="http://blog.morrison.nl/wp-content/uploads/2010/09/FEZDominoBoards_thumb.jpg" border="0" alt="FEZ Domino Boards" width="534" height="355" /></a></p>
<p>Now the waiting is for my USBizi LQFP144 chips! I hope they will ship together with my FEZ Panda boards on October 1<sup>st</sup></p>
<p>The biggest challenge with building these boards will be soldering the really fine pitch 144 pins chips.</p>
<p>I will post follow ups as soon as I have the parts!</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://blog.morrison.nl/2010/10/fez-domino-diy-project/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://blog.morrison.nl/2010/10/fez-domino-diy-project/" data-text="FEZ Domino DIY Project"></a><a class="a2a_button_google_plusone addtoany_special_service" data-annotation="none" data-href="http://blog.morrison.nl/2010/10/fez-domino-diy-project/"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.morrison.nl%2F2010%2F10%2Ffez-domino-diy-project%2F&amp;title=FEZ%20Domino%20DIY%20Project" id="wpa2a_8">Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.morrison.nl/2010/10/fez-domino-diy-project/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FEZ .NET Micro Framework Boards</title>
		<link>http://blog.morrison.nl/2010/09/fez-net-micro-framework-boards/</link>
		<comments>http://blog.morrison.nl/2010/09/fez-net-micro-framework-boards/#comments</comments>
		<pubDate>Thu, 30 Sep 2010 16:45:52 +0000</pubDate>
		<dc:creator>Ramon van Bruggen</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://blog.morrison.nl/?p=67</guid>
		<description><![CDATA[In my last post I talked about a opensource .NET Micro Framework development platform, in the Arduino form factor, the Netduino. The Netduino is not the only .NET Micro Framework development platform there are many, many more. But few are as affordable as the Netduino. On board that is also relatively cheap are the FEZ Panda and FEZ Domino boards. Both boards are in the Arduino form factor. Where the Netduino is based on the [...]]]></description>
				<content:encoded><![CDATA[<p>In my last post I talked about a opensource .NET Micro Framework development platform, in the Arduino form factor, the Netduino. The Netduino is not the only .NET Micro Framework development platform there are many, many more. But few are as affordable as the Netduino. On board that is also relatively cheap are the <a href="http://www.tinyclr.com/hardware/16/fez-panda/" target="_blank">FEZ Panda</a> and <a href="http://www.tinyclr.com/hardware/1/fez-domino/" target="_blank">FEZ Domino</a> boards. Both boards are in the Arduino form factor. Where the Netduino is based on the <a href="http://www.atmel.com/dyn/resources/prod_documents/doc6120.pdf">AT91SAM7X512 (datasheet)</a> the FEZ Panda is based on the <a href="http://www.ghielectronics.com/downloads/general/LQFP100.pdf" target="_blank">USBizi LQFP100</a> chipset witch is based on LPC2387 from NXP.</p>
<p><strong>The FEZ Panda</strong></p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/GHI00117.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="GHI-00117" src="http://blog.morrison.nl/wp-content/uploads/2010/09/GHI00117_thumb.jpg" border="0" alt="GHI-00117" width="163" height="159" /></a><img src="http://www.tinyclr.com/images/products/TCLR-0016_large.jpg" alt="" width="240" height="213" /></p>
<p>FEZ Panda is a tiny open-source board running Microsoft .NET Micro Framework. This means, you can write code with much more efficiency using C# programming language under free Microsoft Visual C# express.</p>
<p>FEZ Panda also includes JTAG access for those who wish to use their own firmware instead of NETMF.<br />
The Arduino-form-factor allows you to use about any Arduino shield.<br />
Many libraries are already included like FAT file system, networking, threading, USB Client, UART, SPI, I2C, GPIO, PWM, ADC, DAC and many more.</p>
<p><strong>The FEZ Domino</strong></p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/GHI144.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="GHI-144" src="http://blog.morrison.nl/wp-content/uploads/2010/09/GHI144_thumb.jpg" border="0" alt="GHI-144" width="163" height="169" /></a><img src="http://www.tinyclr.com/images/products/TCLR-0001_large.jpg" alt="" width="240" height="169" /></p>
<p>FEZ (Freakin&#8217; Easy!) is a tiny open-source board running Microsoft .NET Micro Framework. This means, you can write code with much more efficiency using C# programming language under free Microsoft Visual C# express.</p>
<p>Build your next projects in minutes by connecting FEZ Domino to one of the shields or the many available components.<br />
Many libraries are already included like FAT file system, threading, USB Client, USB Host, UART, SPI, I2C, GPIO, PWM, ADC, DAC and many more.</p>
<p>The Domino is based on the USBizi LQFP100 big brother the <a href="http://www.ghielectronics.com/downloads/USBizi/USBizi_Broch_Pinout.pdf" target="_blank">USBizi LQFP144</a>. USBizi™ 144 pin chipset is identical to the 100 pin version except it contains a USB host.</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://blog.morrison.nl/2010/09/fez-net-micro-framework-boards/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://blog.morrison.nl/2010/09/fez-net-micro-framework-boards/" data-text="FEZ .NET Micro Framework Boards"></a><a class="a2a_button_google_plusone addtoany_special_service" data-annotation="none" data-href="http://blog.morrison.nl/2010/09/fez-net-micro-framework-boards/"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.morrison.nl%2F2010%2F09%2Ffez-net-micro-framework-boards%2F&amp;title=FEZ%20.NET%20Micro%20Framework%20Boards" id="wpa2a_10">Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.morrison.nl/2010/09/fez-net-micro-framework-boards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Netduino</title>
		<link>http://blog.morrison.nl/2010/09/the-netduino/</link>
		<comments>http://blog.morrison.nl/2010/09/the-netduino/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 08:23:44 +0000</pubDate>
		<dc:creator>Ramon van Bruggen</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://blog.morrison.nl/?p=53</guid>
		<description><![CDATA[If you are into electronics and you are a .NET developer then this thing called the Netduino is something you might find interesting. The Netduino is in the same form factor as it’s smaller (CPU wise) brother the Arduino Above is the new Arduino Uno Today I received my Netduino package! A nice blue box. Inside is the Netduino board. Ofcourse I couldn’t wait and had already installed the necessary software on my development PC. [...]]]></description>
				<content:encoded><![CDATA[<p>If you are into electronics and you are a .NET developer then this thing called the <a href="http://www.netduino.com/" target="_blank">Netduino</a> is something you might find interesting. The Netduino is in the same form factor as it’s smaller (CPU wise) brother the <a href="http://www.arduino.cc/" target="_blank">Arduino</a></p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/arduino_uno_test1.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="arduino_uno_test" src="http://blog.morrison.nl/wp-content/uploads/2010/09/arduino_uno_test_thumb1.jpg" border="0" alt="arduino_uno_test" width="244" height="244" /></a></p>
<p><em>Above is the new Arduino Uno</em></p>
<p>Today I received my Netduino package! A nice blue box.</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0227Medium.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="IMG_0227 (Medium)" src="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0227Medium_thumb.jpg" border="0" alt="IMG_0227 (Medium)" width="244" height="183" /></a><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0228Medium.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="IMG_0228 (Medium)" src="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0228Medium_thumb.jpg" border="0" alt="IMG_0228 (Medium)" width="244" height="183" /></a></p>
<p>Inside is the Netduino board.</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0231Medium1.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="IMG_0231 (Medium)" src="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0231Medium_thumb1.jpg" border="0" alt="IMG_0231 (Medium)" width="644" height="482" /></a></p>
<p>Ofcourse I couldn’t wait and had already installed the necessary software on my development PC. This consists of:</p>
<p>1 <a href="http://www.microsoft.com/express/downloads/#2010-Visual-CS" target="_blank">Microsoft Visual C# Express 2010</a><br />
2 <a href="http://www.netduino.com/downloads/MicroFrameworkSDK.msi" target="_blank">.NET Micro Framework SDK v4.1</a><br />
3 <a href="http://www.netduino.com/downloads/netduinosdk_32bit.exe" target="_blank">Netduino SDK v4.1.0 (32-bit)</a> or <a href="http://www.netduino.com/downloads/netduinosdk_64bit.exe" target="_blank">Netduino SDK v4.1.0 (64-bit)</a></p>
<p>After that you can fire up isual Studio 2010 and start your first Embedded Microsoft.NET Micro Framework application!</p>
<p>I looked at the <a href="http://www.netduino.com/downloads/gettingstarted.pdf" target="_blank">getting start guide</a> (pdf) for the Netduino. Inside this document is a small example on how to flash the onboard Netduino LED. I thought that would be a nice start to get started with my new shiny Netduino. The code for flashing a LED is as following:</p>
<div id="codeSnippetWrapper" style="text-align: left; padding: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; width: 97.5%; font-family: 'Courier New',courier,monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; cursor: text; border: 1px solid silver;">
<div id="codeSnippet" style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: #f4f4f4; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;">
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum1" style="color: #606060;">   1:</span> <span style="color: #0000ff;">public</span> <span style="color: #0000ff;">static</span> <span style="color: #0000ff;">void</span> Main()</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum2" style="color: #606060;">   2:</span>         {</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum3" style="color: #606060;">   3:</span>             <span style="color: #008000;">// write your code here</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum4" style="color: #606060;">   4:</span>             OutputPort led = <span style="color: #0000ff;">new</span> OutputPort(Pins.ONBOARD_LED, <span style="color: #0000ff;">false</span>);</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum5" style="color: #606060;">   5:</span>             <span style="color: #0000ff;">while</span> (<span style="color: #0000ff;">true</span>)</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum6" style="color: #606060;">   6:</span>             {</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum7" style="color: #606060;">   7:</span>                 led.Write(<span style="color: #0000ff;">true</span>); <span style="color: #008000;">// turn on the LED</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum8" style="color: #606060;">   8:</span>                 Thread.Sleep(250); <span style="color: #008000;">// sleep for 250ms</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum9" style="color: #606060;">   9:</span>                 led.Write(<span style="color: #0000ff;">false</span>); <span style="color: #008000;">// turn off the LED</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum10" style="color: #606060;">  10:</span>                 Thread.Sleep(250); <span style="color: #008000;">// sleep for 250ms</span></pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: white; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum11" style="color: #606060;">  11:</span>             }</pre>
<p><!--CRLF--></p>
<pre style="border-style: none; text-align: left; padding: 0px; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New',courier,monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible;"><span id="lnum12" style="color: #606060;">  12:</span>         }</pre>
<p><!--CRLF--></p>
</div>
</div>
<p>After typing in this impressive amount of code I pressed the debug button in VS2010 and started praying. After building and deploying the code the LED on the Netduino started blinking!!</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0235Medium.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="IMG_0235 (Medium)" src="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0235Medium_thumb.jpg" border="0" alt="IMG_0235 (Medium)" width="644" height="482" /></a></p>
<p>My confidence was skyhigh and I was ready for my next challenge lets do something bigger. I had some <a href="http://www.sureelectronics.net/goods.php?id=1119" target="_blank">32&#215;8 LED Matrices</a> laying around from <a href="http://www.sureelectronics.net/" target="_blank">Sure Electronics</a>. I decided I wanted to try to connect those displays to the netduino using code I had for the arduino. To my surprise a member on the Netduino forums (sweetlilmre) had already translated the C code for driving the Holtek HT1632 chip on the Matrix boards. You can find his post <a href="http://forums.netduino.com/index.php?/topic/253-ht1632-interface-alpha/page__p__1627__hl__ht1632__fromsearch__1#entry1627" target="_blank">here</a>. I downloaded the code, I connected the wires from the netduino to my Matrix board and….. nothing! I checked my connections, double checked everything seemed to be ok! What could be wrong? My confidence from a few minutes ago was totally gone, I searched and checked but could not find an error. I posted messages to the writer of the driver code on the forum to ask him what I could be doing wrong. After a few posts sweetlilmre suggested I updated my netduino to the latest firmware. I tried and instantly after the upgrade was ready I got something displayed on the matrix!</p>
<p><a href="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0238Medium.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="IMG_0238 (Medium)" src="http://blog.morrison.nl/wp-content/uploads/2010/09/IMG_0238Medium_thumb.jpg" border="0" alt="IMG_0238 (Medium)" width="644" height="482" /></a></p>
<p>There is a public beta at the moment for a Netduino <strong>Plus </strong>board, this board has all the features of the Netduino, but ads a MicroSD and Ethernet to the board! I ordered one immediately!</p>
<p><a class="a2a_button_facebook_like addtoany_special_service" data-href="http://blog.morrison.nl/2010/09/the-netduino/"></a><a class="a2a_button_twitter_tweet addtoany_special_service" data-count="none" data-url="http://blog.morrison.nl/2010/09/the-netduino/" data-text="The Netduino"></a><a class="a2a_button_google_plusone addtoany_special_service" data-annotation="none" data-href="http://blog.morrison.nl/2010/09/the-netduino/"></a><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fblog.morrison.nl%2F2010%2F09%2Fthe-netduino%2F&amp;title=The%20Netduino" id="wpa2a_12">Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://blog.morrison.nl/2010/09/the-netduino/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
