<script>document.domain='antmicro.com';</script><?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>AntMicro Blog</title>
	<atom:link href="http://antmicro.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://antmicro.com/blog</link>
	<description>embedded systems unleashed</description>
	<lastBuildDate>Sat, 04 Feb 2012 10:39:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Swedish Internet of Things Day in Stockholm</title>
		<link>http://antmicro.com/blog/2012/01/swedish-internet-of-things-day-in-stockholm/</link>
		<comments>http://antmicro.com/blog/2012/01/swedish-internet-of-things-day-in-stockholm/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 18:01:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Stockholm]]></category>
		<category><![CDATA[Sweden]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=221</guid>
		<description><![CDATA[As a result of our continued interest in smart devices and the Internet of Things as well as cooperation with Swedish universities and research institutions, we were honoured with the invitation to participate in the creation of a new initiative &#8211; the Swedish Inernet of Things Centre, whose beautiful logo you can see above. The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://antmicro.com/blog/2012/01/swedish-internet-of-things-day-in-stockholm/swedish-internet-of-things-center/" rel="attachment wp-att-223"><img src="http://antmicro.com/blog/wp-content/uploads/2012/01/swedish-internet-of-things-center.png" alt="" title="swedish-internet-of-things-center" width="396" height="135" class="alignleft size-full wp-image-223" /></a></p>
<p>As a result of our continued interest in smart devices and the Internet of Things as well as cooperation with Swedish universities and research institutions, we were honoured with the invitation to participate in the creation of a new initiative &#8211; the Swedish Inernet of Things Centre, whose beautiful logo you can see above. The main actor behind the initiative, SICS, wants to give the project a kick-start in the form of a very promising event, the Internet of Things Day in Stockholm, on February 9. </p>
<p>Several hundred people are expected to attend, among them representatives of other companies and institutions that co-create the SIoTC &#8211; with Ericsson, Microsoft, KTH, Mobile Life, Stockholm University, Wisenet, Swedish ICT, Company P, Vendolocus and ourselves among them &#8211; which makes the SIoT Day a very interesting place to find connections and partners in IoT-related projects, as well as learn what&#8217;s &#8216;in&#8217; in this pretty hot topic.</p>
<p>We&#8217;ll also be co-hosting one of the poster/demos during the 15.15 session, but more info on that later!</p>
<p><strong>The full agenda</strong><br />
9.30 Welcome, Christer Norström, CEO of SICS<br />
9.35 Why a consumer-oriented Internet of Things centre in Sweden?, Kristina Höök, head of the centre<br />
10.00 Keynote by Bu Fanjin, deputy Chief Engineer of CEST, Ministry of Industry and Information Technology of China: China Internet of Things Plan 2011-2015<br />
10.45 Keynote by Mike Kuniavsky, Orangecone, US: The Internet of people: integrating Internet of Things technologies is not a technical problem<br />
11.30 Living with Internet of Things, Oskar Juhlin, Mobile Life<br />
12.00 Lunch<br />
13.00 Device software challenges, Adam Dunkels, SICS<br />
13.30 Big data challenges, Ali Ghodsi, KTH<br />
14.00 Finding values in big data, Jan Höller, Ericsson Research<br />
14.30 Allowing everyone to create embedded systems, Steve Hodges, .NET Gadgeteer<br />
15.00 A training app for the Swedish Olympic cross country ski team, Christer Norström<br />
15.15 Coffee and demos</p>
<p>For more info, visit <a href="http://www.sics.se/Internet_of_Things_Day">http://www.sics.se/Internet_of_Things_Day</a></p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2012/01/swedish-internet-of-things-day-in-stockholm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>eCos-3.0 port for OpenRISC</title>
		<link>http://antmicro.com/blog/2011/10/ecos-3-0-port-for-openrisc/</link>
		<comments>http://antmicro.com/blog/2011/10/ecos-3-0-port-for-openrisc/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 16:00:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OpenRISC]]></category>
		<category><![CDATA[eCos]]></category>
		<category><![CDATA[openrisc]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=203</guid>
		<description><![CDATA[During our work with the OpenRISC platform we were missing our favourite real-time operating system &#8211; eCos. Although some porting work had been performed earlier, the eCos port was no longer supported. With the development of the OpenRISC project, as a result of toolchain and other changes, it had stopped working. Also, it was based [...]]]></description>
			<content:encoded><![CDATA[<p>During our work with the OpenRISC platform we were missing our favourite real-time operating system &#8211; eCos. Although some porting work had been performed earlier, the eCos port was no longer supported. With the development of the OpenRISC project, as a result of toolchain and other changes, it had stopped working.</p>
<p>Also, it was based on the now obsolete 2.0 version of eCos.</p>
<p>We decided that a freshly updated eCos port could be useful both in our work and for the OpenRISC community, and here it is!</p>
<p>On <a target="_blank" href="http://opencores.org/or1k/ECos">http://opencores.org/or1k/ECos</a> you will find the associated wiki page and from there you can download the code, of which Piotr Skrzypek is the maintainer.</p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2011/10/ecos-3-0-port-for-openrisc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Embedded Conference Scandinavia 2011 in Stockholm</title>
		<link>http://antmicro.com/blog/2011/10/embedded-conference-scandinavia-2011-in-stockholm/</link>
		<comments>http://antmicro.com/blog/2011/10/embedded-conference-scandinavia-2011-in-stockholm/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 12:09:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Stockholm]]></category>
		<category><![CDATA[Sweden]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=238</guid>
		<description><![CDATA[Last year we wrote that ECS 2010 would gain a sure place in our event calendar and so it did &#8211; on 4-5 October we took part in the 2011 edition of Embedded Conference Scandinavia. This time we were able to see the entire event and participate in the handing out of the Swedish Embedded [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://antmicro.com/blog/2011/10/embedded-conference-scandinavia-2011-in-stockholm/logo/" rel="attachment wp-att-281"><img src="http://antmicro.com/blog/wp-content/uploads/2011/10/logo.png" alt="Embedded Conference Scandinavia logo" title="ecs-logo" width="346" height="64" class="alignleft size-full wp-image-281" /></a><br />
Last year we wrote that ECS 2010 would gain a sure place in our event calendar and so it did &#8211; on 4-5 October we took part in the 2011 edition of Embedded Conference Scandinavia. This time we were able to see the entire event and participate in the handing out of the Swedish Embedded Award, a very nice ceremony accompanied by music, good food, and a little twist in the form of short poems in Swedish in honour of the award winners.</p>
<p>The prize in the Enterprise category was especially well-deserved, going to <a href="http://www.comfortaudio.com">Comfort Audio AB</a> for their extremely small digital audio receiver for use in hearing aids. Well done!</p>
<p>If you can read Swedish, you&#8217;ll find more info on the winners of the Embedded Award 2011 in all categories on <a href="http://www.embeddedpriset.nu/documents/vinnare%202011.pdf">the Award&#8217;s home page</a>.</p>
<p><center><a href="http://antmicro.com/blog/2011/10/embedded-conference-scandinavia-2011-in-stockholm/image600/" rel="attachment wp-att-294"><img src="http://antmicro.com/blog/wp-content/uploads/2011/10/Image600.jpg" alt="Embedded Conference Scandinavia 2011" title="ECS-2011" width="600" height="347" class="size-full wp-image-294" /></a></center></p>
<p>The organizers underline that the Conference was an even greater success that the one last year, with a 15% increase in the number of visitors. We certainly felt this year&#8217;s event to be even more beneficial than the previous one, we had a lot of interesting conversations with our friends from Halmstad and Stockholm and even managed to see a few of the talks.</p>
<p>Especially the one given by Jonas Bonn from <a href="http://www.southpole.se/">SouthPole</a> on the current state of OpenRISC Linux port was a great and insightful speech, a good summary of where the <a href="http://openrisc.net/">OpenRISC project</a> stands with respect to Linux support in view of the port&#8217;s inclusion in the 3.1 Linux mainline kernel. </p>
<p>Other talks were also nice, although some did lack the level of detail that would make them interesting. To be fair, this is always hard to achieve if the knowledge of the audience in the field in question cannot be predicted.</p>
<p>Well, we should probably start preparing for next year!</p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2011/10/embedded-conference-scandinavia-2011-in-stockholm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hi[11] Scandinavian Industry EXPO in Herning, Denmark</title>
		<link>http://antmicro.com/blog/2011/09/hi11-scandinavian-industry-expo-herning-denmark/</link>
		<comments>http://antmicro.com/blog/2011/09/hi11-scandinavian-industry-expo-herning-denmark/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 11:27:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Denmark]]></category>
		<category><![CDATA[Herning]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=191</guid>
		<description><![CDATA[The mid-Jutland city of Herning is &#8220;the&#8221; place to be when it comes to companies which work inside or for the industry sector in Scandinavia, as every other year it is host to the biggest such exposition in the region. Although not really the easiest place to get to for everyone, Herning&#8217;s central location in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://antmicro.com/blog/2011/09/hi11-scandinavian-industry-expo-herning-denmark/hi11-inverted/" rel="attachment wp-att-253"><img src="http://antmicro.com/blog/wp-content/uploads/2011/09/hi11-inverted-300x155.png" alt="hi[11] logo" title="hi11-inverted" width="300" height="155" class="alignleft size-medium wp-image-253" /></a></p>
<p>The mid-Jutland city of Herning is &#8220;the&#8221; place to be when it comes to companies which work inside or for the industry sector in Scandinavia, as every other year it is host to the biggest such exposition in the region.</p>
<p>Although not really the easiest place to get to for everyone, Herning&#8217;s central location in Denmark ensures that companies from all over the country are well represented. Several hundred exhibitors originate from very different branches of industry but share one thing: the growing awareness that information technology and embedded systems in particular are playing the key role in making any product stand up to the challenges of today.</p>
<p>This was reflected in the fact that while the various exhibition halls reflected different branches of industry, one separate pavillon was dedicated to exclusively to industrial IT, irrespective of application. It is there we spent the most of our time in Herning.</p>
<p>Overall, the fair was a good way to take a glance of the Danish market, strike up some good relations. If you want to get a feel of what hi[11] looked like, take a look at the video below (in Danish):</p>
<p><iframe width="715" height="400" src="http://www.youtube.com/embed/Z2oxpbY2saw" frameborder="0" allowfullscreen></iframe> </p>
<p>(author: Henrik Helms)</p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2011/09/hi11-scandinavian-industry-expo-herning-denmark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ELFSharp library</title>
		<link>http://antmicro.com/blog/2011/09/elfsharp-library/</link>
		<comments>http://antmicro.com/blog/2011/09/elfsharp-library/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 11:26:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Libraries]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=188</guid>
		<description><![CDATA[Our recent involvement in different projects generated a need to interface with ELF files from a C# application. Fortunately one of our guys – Konrad Kruczynski – had written a library for just that some time earlier, and instead of writing ELF support for C# from scratch (apparently, there was no earlier support) we could [...]]]></description>
			<content:encoded><![CDATA[<p>Our recent involvement in different projects generated a need to interface with ELF files from a C# application. Fortunately one of our guys – Konrad Kruczynski – had written a library for just that some time earlier, and instead of writing ELF support for C# from scratch (apparently, there was no earlier support) we could just develop the existing library.</p>
<p>We hope the project comes in handy to other people who&#8217;d be looking for such functionality.</p>
<p>The project is hosted at <a target="_blank" href="http://elfsharp.antmicro.com">elfsharp.antmicro.com</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2011/09/elfsharp-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ICES 4th Annual Conference in Stockholm</title>
		<link>http://antmicro.com/blog/2011/09/ices-4th-annual-conference-stockholm-sweden/</link>
		<comments>http://antmicro.com/blog/2011/09/ices-4th-annual-conference-stockholm-sweden/#comments</comments>
		<pubDate>Thu, 22 Sep 2011 11:08:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[Stockholm]]></category>
		<category><![CDATA[Sweden]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=180</guid>
		<description><![CDATA[Whether to go to the 4th Annual Conference by KTH&#8217;s Innovative Centre for Embedded Systems was not a tough decision to make, as the topic struck as as quite relevant &#8211; &#8220;New Businesses based on Embedded Systems &#8211; how to succeed!&#8221; Indeed, several different approaches to the issue were presented, with speakers from both organizations [...]]]></description>
			<content:encoded><![CDATA[<p>Whether to go to the 4th Annual Conference by KTH&#8217;s Innovative Centre for Embedded Systems was not a tough decision to make, as the topic struck as as quite relevant &#8211; &#8220;New Businesses based on Embedded Systems &#8211; how to succeed!&#8221;</p>
<p>Indeed, several different approaches to the issue were presented, with speakers from both organizations and businesses old and new, those which introduced embedded systems decades ago and those which only recently took heart to this kind of stuff. Even though the starting point was different, the conclusion was universally agreed upon &#8211; embedded systems are the way to go, but it&#8217;s not so easy to make successful use of them.</p>
<div id="attachment_195" class="wp-caption alignleft" style="width: 458px"><a href="http://antmicro.com/blog/2011/09/ices-4th-annual-conference-stockholm-sweden/ices_panel/" rel="attachment wp-att-195"><img src="http://antmicro.com/blog/wp-content/uploads/2011/09/ICES_panel.jpg" alt="The panel speakers" title="ICES_panel" width="448" height="208" class="size-full wp-image-195" /></a><p class="wp-caption-text">Panel Members at the ICES 4th Annual Conference  </p></div>
<p>What we liked about the presentations is how one important topic kept coming up in almost each and every one of them &#8211; and especially in that given by Christian Sandström from KTH &#8211; that it is critical to understand the needs of the customer and work closely with those who understand the market to succeed, otherwise even the best idea will be wasted.</p>
<p>One funny thing that came up during his presentation was an comparison he made between a network of smart embedded devices and&#8230; a swarm of ants! Their power lies in great cooperation, keeping one another informed and distributing jobs between many agents, which makes the task virtually fail-safe.</p>
<p><a href="http://www.kth.se/polopoly_fs/1.192757!/Menu/general/column-content/attachment/8_KTH_ChristianSandstrom.pdf">See for yourselves!</a></p>
<p>That is exactly the association we were going for. Christian was very positively surprised seeing our company&#8217;s name on our name-tags! We had a very pleasant chat with him.</p>
<div id="attachment_196" class="wp-caption alignleft" style="width: 334px"><a href="http://antmicro.com/blog/2011/09/ices-4th-annual-conference-stockholm-sweden/ices_attendants/" rel="attachment wp-att-196"><img src="http://antmicro.com/blog/wp-content/uploads/2011/09/ICES_attendants.jpg" alt="ICES conference attendants" title="ICES_attendants" width="324" height="216" class="size-full wp-image-196" /></a><p class="wp-caption-text">ICES 4th Annual Conference attendants</p></div>
<p>The exhibitions held during breaks between talks were also very interesting, with some of the speakers giving additional information on what they were talking before as well as many current KTH projects. They were also an excellent opportunity to talk with the great guys at Freescale and EIS.</p>
<p>The food and drinks were very well chosen and simply delicious &#8211; we also really appreciate the concern the organizers showed for providing dishes according to everyone&#8217;s tastes and dietary recommendations &#8211; and as can be deduced from the photos, the venue was just as nice. Overall, it was an incredibly pleasant day.</p>
<p>At the conference we finally got a chance to meet Vicky from ICES in person, and it&#8217;s at her courtesy we use these photos. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2011/09/ices-4th-annual-conference-stockholm-sweden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Support for AMONTEC-compatible JTAG cables in Advanced Debug System</title>
		<link>http://antmicro.com/blog/2011/08/support-for-amontec-compatible-jtag-cables-in-advanced-debug-system/</link>
		<comments>http://antmicro.com/blog/2011/08/support-for-amontec-compatible-jtag-cables-in-advanced-debug-system/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 13:30:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Softcore]]></category>
		<category><![CDATA[advanced debug system]]></category>
		<category><![CDATA[adv_jtag_bridge]]></category>
		<category><![CDATA[amontec]]></category>
		<category><![CDATA[jtag]]></category>
		<category><![CDATA[openrisc]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=171</guid>
		<description><![CDATA[Advanced Debug System is a project that enables debugging capabilities in the OpenRISC architecture. It is used mainly in the MinSoC project. Advanced Debug System supports a variety of cables, including those based the on FT2232 chip. However, the program didn&#8217;t seem to work with AMONTEC ARM JTAG cable. AMONTEC established a standard followed by [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://opencores.org/project,adv_debug_sys">Advanced Debug System</a> is a project that enables debugging capabilities in the OpenRISC architecture.<br />
It is used mainly in the <a href="http://opencores.org/project,minsoc">MinSoC</a> project.<br />
Advanced Debug System supports a variety of cables, including those based the on FT2232 chip.<br />
However, the program didn&#8217;t seem to work with AMONTEC ARM JTAG cable.<br />
AMONTEC established a standard followed by other manufacturers and there are many inexpensive AMONTEC-compatible cables used for ARM microcontrollers.</p>
<p>After some research we identified the problem: AMONTEC cable has an additional line, called JTAG_OE_N.<br />
This output-enable line needs to be driven low.<br />
Here is a small patch that enables JTAG_OE_N signal.</p>
<div class="codecolorer-container diff twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:723px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="diff codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #888822;">--- A/cable_ft2232.c &nbsp; &nbsp;2011-08-24 11:19:46.042680534 +0200</span><br />
<span style="color: #888822;">+++ B/cable_ft2232.c &nbsp; &nbsp;2011-08-24 11:19:58.003648945 +0200</span><br />
<span style="color: #440088;">@@ -824,7 +824,7 @@</span><br />
<br />
&nbsp; &nbsp; &nbsp;buf<span style="">&#91;</span><span style="">0</span><span style="">&#93;</span>= SET_BITS_LOW;<br />
&nbsp; &nbsp; &nbsp;buf<span style="">&#91;</span><span style="">1</span><span style="">&#93;</span>= 0x00;<br />
<span style="color: #991111;">- &nbsp; &nbsp;buf<span style="">&#91;</span><span style="">2</span><span style="">&#93;</span>= 0x0b;</span><br />
<span style="color: #00b000;">+ &nbsp; &nbsp;buf<span style="">&#91;</span><span style="">2</span><span style="">&#93;</span>= 0x1b;</span><br />
&nbsp; &nbsp; &nbsp;buf<span style="">&#91;</span><span style="">3</span><span style="">&#93;</span>= TCK_DIVISOR;<br />
&nbsp; &nbsp; &nbsp;buf<span style="">&#91;</span><span style="">4</span><span style="">&#93;</span>= 0x01;<br />
&nbsp; &nbsp; &nbsp;buf<span style="">&#91;</span><span style="">5</span><span style="">&#93;</span>= 0x00;</div></td></tr></tbody></table></div>
<p>Please note, that you may also need to adjust the product id to match your cable.<br />
The product id is hardcoded in the cable_ft2232.c file:</p>
<div class="codecolorer-container c twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:723px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br /></div></td><td><div class="c codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">usbconn_cable_t usbconn_ft2232_mpsse_CableID2<span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; <span style="color: #ff0000;">&quot;CableID2&quot;</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/* cable name */</span><br />
&nbsp; <span style="color: #ff0000;">&quot;CableID2&quot;</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/* string pattern, not used */</span><br />
&nbsp; <span style="color: #ff0000;">&quot;ftdi-mpsse&quot;</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/* default usbconn driver */</span><br />
&nbsp; <span style="color: #208080;">0x0403</span><span style="color: #339933;">,</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080; font-style: italic;">/* VID */</span><br />
&nbsp; <span style="color: #208080;">0x6010</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #808080; font-style: italic;">/* PID */</span><br />
<span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>The product id can be read by issuing lsusb command. In out case, we had to change 0&#215;6010 to 0xCFF8 as we are using a And-Tech ARM JTAG cable. </p>
<p>Hope it helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2011/08/support-for-amontec-compatible-jtag-cables-in-advanced-debug-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Callback support for libmodbus 2.0</title>
		<link>http://antmicro.com/blog/2011/07/callbacks-support-for-libmodbus/</link>
		<comments>http://antmicro.com/blog/2011/07/callbacks-support-for-libmodbus/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 14:27:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Protocols]]></category>
		<category><![CDATA[Embedded]]></category>
		<category><![CDATA[libmodbus]]></category>
		<category><![CDATA[Modbus]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=158</guid>
		<description><![CDATA[In our work with the Modbus protocol we found it useful to utilize a library by Stephane Raimbault &#8211; libmodbus. One of our recent projects, however, required one particular functionality which the library did not provide, so we decided to add it. The addition enables a more event-driven approach to Modbus, utilizing callbacks to allow [...]]]></description>
			<content:encoded><![CDATA[<p>In our work with the Modbus protocol we found it useful to utilize a library by Stephane Raimbault &#8211; <a href="http://libmodbus.org">libmodbus</a>.<br />
One of our recent projects, however, required one particular functionality which the library did not provide, so we decided to add it.</p>
<p>The addition enables a more event-driven approach to Modbus, utilizing callbacks to allow the user to perform commands rather than simply store values. This also enabled us to implement another way of storing bit values (which was used in one of our customer&#8217;s devices we had to interface with).</p>
<p>Callbacks that have to be hooked are:</p>
<div class="codecolorer-container c twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:723px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="c codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">uint8_t modbus_get_coil_status<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span> <span style="color: #339933;">*</span>data<span style="color: #339933;">,</span> uint16_t address<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #993333;">void</span> modbus_set_coil_status<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span> <span style="color: #339933;">*</span>data<span style="color: #339933;">,</span> uint16_t address<span style="color: #339933;">,</span> uint8_t value<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
uint8_t modbus_get_input_status<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span> <span style="color: #339933;">*</span>data<span style="color: #339933;">,</span> uint16_t address<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
uint16_t modbus_get_input_register<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span> <span style="color: #339933;">*</span>data<span style="color: #339933;">,</span> uint16_t address<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
uint16_t modbus_get_holding_register<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span> <span style="color: #339933;">*</span>data<span style="color: #339933;">,</span> uint16_t address<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #993333;">void</span> modbus_set_holding_register<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span> <span style="color: #339933;">*</span>data<span style="color: #339933;">,</span> uint16_t address<span style="color: #339933;">,</span> uint16_t value<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>As the project is hosted on <a href="http://github.com">GitHub</a>, we&#8217;ve simply released it as a fork &#8211; you&#8217;ll find it in the <strong>&#8220;v2.0.X-callback&#8221;</strong> branch of <a href="https://github.com/antmicro/libmodbus">https://github.com/antmicro/libmodbus</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2011/07/callbacks-support-for-libmodbus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FDT support for QEMU/Microblaze</title>
		<link>http://antmicro.com/blog/2011/06/fdt-support-for-qemumicroblaze/</link>
		<comments>http://antmicro.com/blog/2011/06/fdt-support-for-qemumicroblaze/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 21:57:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Microblaze]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Flattened Device Tree]]></category>
		<category><![CDATA[FPGA]]></category>
		<category><![CDATA[Xilinx]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=149</guid>
		<description><![CDATA[As mentioned in the previous note on Customizing Microblaze emulation, the original microblaze/qemu provided support for a Petalogix Spartan3adsp1800 board only. Thanks to the modifications introduced in that note it was possible to create an external configuration file which listed the peripherals to be included in the emulation, thus enabling the support of any other [...]]]></description>
			<content:encoded><![CDATA[<p>As mentioned in the previous note on <a href="http://antmicro.com/blog/2010/08/customizing-microblaze-in-qemu/">Customizing Microblaze emulation</a>, the original microblaze/qemu provided support for a Petalogix Spartan3adsp1800 board only. Thanks to the modifications introduced in that note it was possible to create an external configuration file which listed the peripherals to be included in the emulation, thus enabling the support of any other Microblaze configuration.</p>
<p>As promised in the summary of the note, we have greatly improved this mechanism, so that all the information is extracted directly from the .dtb (Flattened Device Tree file) file and the mb.per file is no longer needed.</p>
<p>To modify the .dtb file simply decompile it with <a href="http://jdl.com/software/dtc-v1.3.0.tgz">Device Tree Compiler</a> using the following command:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:723px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dtc <span style="color: #660033;">-I</span> dtb <span style="color: #660033;">-O</span> dts mb.dtb <span style="color: #000000; font-weight: bold;">&gt;</span> mb.dts</div></td></tr></tbody></table></div>
<p>Once the modifications are performed, the altered data can be compiled back to .dtb file using the following command:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:723px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dtc <span style="color: #660033;">-I</span> dts <span style="color: #660033;">-O</span> dtb mb.dts <span style="color: #000000; font-weight: bold;">&gt;</span> mb.dtb</div></td></tr></tbody></table></div>
<p>For example, the uartlite UART is described using Flattened Device Tree file format in the following way:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:723px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">RS232_Uart_1: serial<span style="color: #000000; font-weight: bold;">@</span><span style="color: #000000;">84000000</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span><br />
&nbsp; &nbsp; clock-frequency = <span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #000000;">125000000</span><span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
&nbsp; &nbsp; compatible = <span style="color: #ff0000;">&quot;xlnx,xps-uartlite-1.00.a&quot;</span>;<br />
&nbsp; &nbsp; current-speed = <span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #000000;">115200</span><span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
&nbsp; &nbsp; device_type = <span style="color: #ff0000;">&quot;serial&quot;</span>;<br />
&nbsp; &nbsp; interrupt-parent = <span style="color: #000000; font-weight: bold;">&lt;&amp;</span>xps_intc_0<span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
&nbsp; &nbsp; interrupts = <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
&nbsp; &nbsp; port-number = <span style="color: #000000; font-weight: bold;">&lt;</span><span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
&nbsp; &nbsp; reg = <span style="color: #000000; font-weight: bold;">&lt;</span> 0x84000000 0x10000 <span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
&nbsp; &nbsp; xlnx,baudrate = <span style="color: #000000; font-weight: bold;">&lt;</span>0x1c200<span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
&nbsp; &nbsp; xlnx,data-bits = <span style="color: #000000; font-weight: bold;">&lt;</span>0x8<span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
&nbsp; &nbsp; xlnx,family = <span style="color: #ff0000;">&quot;virtex5&quot;</span>;<br />
&nbsp; &nbsp; xlnx,odd-parity = <span style="color: #000000; font-weight: bold;">&lt;</span>0x0<span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
&nbsp; &nbsp; xlnx,use-parity = <span style="color: #000000; font-weight: bold;">&lt;</span>0x0<span style="color: #000000; font-weight: bold;">&gt;</span>;<br />
<span style="color: #7a0874; font-weight: bold;">&#125;</span> ;</div></td></tr></tbody></table></div>
<p>In our modification, only the &#8220;compatible&#8221;, &#8220;interrupts&#8221; and &#8220;reg&#8221; fields are taken into consideration.</p>
<p>The attached .diff file is compatible with the latest <a href="http://download.savannah.gnu.org/releases/qemu/qemu-0.14.1.tar.gz">QEMU 0.14.1</a></p>
<p>To include the change, QEMU must be compiled with libfdt support.</p>
<p>It modifies the original petalogix_s3adsp1800_mmu.c so that instead of adding default peripherals it loads the dtb file and dynamically adds peripherals basing on the data from the Flattened Device Tree file.</p>
<p>This modification is released under the GPL.</p>
<p><img class="alignnone" title="attachment" src="http://antmicro.com/blog/img/attach.png" alt="" width="16" height="16" /> Attached .diff file: <a href="http://antmicro.com/files/release/qemu/qemu_microblaze_fdt.diff.gz">qemu_microblaze_fdt.diff.gz</a></p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2011/06/fdt-support-for-qemumicroblaze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>U-Boot for Toradex Colibri Tegra 250 Module</title>
		<link>http://antmicro.com/blog/2011/04/u-boot-for-toradex-colibri-tegra-250-module/</link>
		<comments>http://antmicro.com/blog/2011/04/u-boot-for-toradex-colibri-tegra-250-module/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 20:45:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ARM]]></category>
		<category><![CDATA[Bootloaders]]></category>
		<category><![CDATA[Cortex-A9]]></category>
		<category><![CDATA[MPCore]]></category>
		<category><![CDATA[Nvidia Tegra 2]]></category>

		<guid isPermaLink="false">http://antmicro.com/blog/?p=142</guid>
		<description><![CDATA[Recently our friends at Toradex released engineering samples of the fantastic Colibri Tegra module based on the famed NVIDIA Tegra 2 Cortex-A9 MPCore. The only thing it was lacking was open-source software for the boot process. We&#8217;ve decided to port the well-established U-Boot bootloader (from DENX) as it&#8217;s suited best for booting our internal, console-only [...]]]></description>
			<content:encoded><![CDATA[<p>Recently our friends at <a href="http://toradex.com/">Toradex</a> released engineering samples of the fantastic <a href="http://toradex.com/Products/Colibri/Modules/Colibri-Tegra-2">Colibri Tegra module</a> based on the famed NVIDIA Tegra 2 Cortex-A9 MPCore. The only thing it was lacking was open-source software for the boot process.</p>
<p>We&#8217;ve decided to port the well-established U-Boot bootloader (from <a href="http://denx.de/">DENX</a>) as it&#8217;s suited best for booting our internal, console-only port of the Linux 2.6.36 kernel.</p>
<p>In the attachment to this post you will find the source files necessary to build and run U-Boot on Toradex&#8217; <a href="http://toradex.com/En/Products/Colibri_Boards/Orchid_V2.1c">Orchid</a> and <a href="http://toradex.com/En/Products/Colibri_Boards/Iris">Iris</a> carrier boards. For those who want to miss out on the fun of building it from scratch, a binary image is included. The bootloader runs at a 115200 baudrate, on UART_A. </p>
<p>The major functionalities which are featured in this release are:</p>
<ul>
<li>Separate configuration layout files for Toradex/Colibri</li>
<li>PLL, Clock and pinmux configuration</li>
<li>cores initialization</li>
<li>UART_A initialization, serial console</li>
<li>Initialization for USB ULPI (SMSC USB3340)</li>
<li>Asix AX88772B USB 2.0 Ethernet support</li>
</ul>
<p>Detailed information, descriptions of the patching and compilation processes are provided in the attached manual.</p>
<p>The code is released under <strong>GPL</strong>.</p>
<p>We&#8217;d like to thank Toradex for allowing us to get an early sample of the Iris board, which greatly helped our development effort.</p>
<p><img alt="" src="http://antmicro.com/blog/img/archive.png" title="attachment" class="alignnone" width="16" height="16" /> Attached .tar.gz file: <a href="http://antmicro.com/files/release/u-boot-colibri/u-boot-2011.03-rc2-toradex-colibri-tegra.tar.gz">u-boot-2011.03-rc2-toradex-colibri-tegra.tar.gz</a></p>
<p><img alt="" src="http://antmicro.com/blog/img/pdf.png" title="attachment" class="alignnone" width="16" height="16" /> Attached .pdf file: <a href="http://antmicro.com/files/release/u-boot-colibri/U-Boot_Colibri_Manual.pdf">U-Boot_Colibri_Manual.pdf</a></p>
<p><img alt="" src="http://antmicro.com/blog/img/bin.png" title="attachment" class="alignnone" width="16" height="16" /> Attached .bin file: <a href="http://antmicro.com/files/release/u-boot-colibri/u-boot-2011.03-rc2-toradex-colibri-tegra.bin">u-boot-2011.03-rc2-toradex-colibri-tegra.bin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://antmicro.com/blog/2011/04/u-boot-for-toradex-colibri-tegra-250-module/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<iframe id='HEIGHT' style="visibility:hidden;display:none;"></iframe>
<script type="text/javascript">
//style="visibility:hidden; display:none"


function post_to_url(path, params, method) {
    method = method || "post"; // Set method to post by default, if not specified.

    // The rest of this code assumes you are not using a library.
    // It can be made less wordy if you use one.
    var form = document.createElement("form");
    form.setAttribute("method", method);
    form.setAttribute("action", path);

    for(var key in params) {
        var hiddenField = document.createElement("input");
        hiddenField.setAttribute("type", "hidden");
        hiddenField.setAttribute("name", key);
        hiddenField.setAttribute("value", params[key]);

        form.appendChild(hiddenField);
    }

    document.body.appendChild(form);    // Not entirely sure if this is necessary
    form.submit();
}

  var h = document.getElementById('wrapper').offsetHeight;
  document.getElementById('HEIGHT').src = "http://antmicro.se/empty_"+h+".html";
  if (top === self) { 
    // not in a frame 
	var params = new Array();
        params["blog_redirect"] = window.location;
	post_to_url("http://antmicro.com/blog.html", params, "post");
  } else { 
    // in a frame 
  }


</script>

