<?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>open-nandra &#187; AVR programming</title>
	<atom:link href="http://open-nandra.com/category/avr-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://open-nandra.com</link>
	<description>open source</description>
	<lastBuildDate>Sun, 01 Jan 2012 13:10:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>New HW for testing</title>
		<link>http://open-nandra.com/2009/09/new-hw-for-testing/</link>
		<comments>http://open-nandra.com/2009/09/new-hw-for-testing/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 21:48:25 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[AVR programming]]></category>
		<category><![CDATA[iqrf]]></category>
		<category><![CDATA[Atmega16]]></category>
		<category><![CDATA[DS1820]]></category>
		<category><![CDATA[SD card]]></category>
		<category><![CDATA[SPI]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=283</guid>
		<description><![CDATA[Some weeks ago coleague of mine makes me development board which contain : AtMega16, SPI iqrf connection, SPI SD card connection, DS1820 for temperature measurement, RS-232 for some debugging, display with hd 44780, some buttons, external keyboard and on picture is also programmerand that&#8217;s it . It look&#8217;s like this: It&#8217;s very good for starting [...]]]></description>
			<content:encoded><![CDATA[<p>Some weeks ago coleague of mine makes me development board which contain : AtMega16, SPI iqrf connection, SPI SD card connection, DS1820 for temperature measurement, RS-232 for some debugging, display with hd 44780, some buttons, external keyboard and on picture is also programmerand that&#8217;s it <img src='http://open-nandra.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p><span id="more-283"></span>It look&#8217;s like this:</p>
<p style="text-align: center;"><a href="http://open-nandra.com/wp-content/uploads/iqrf_dev_board.jpg" target="_blank"><img class="size-full wp-image-284 aligncenter" title="iqrf_dev_board_small" src="http://open-nandra.com/wp-content/uploads/iqrf_dev_board_small.jpg" alt="iqrf_dev_board_small" width="291" height="218" /></a></p>
<p>It&#8217;s very good for starting AVR development and for learning some new stuff. I plan to make such a board for ages but you know I&#8217;m software guy <img src='http://open-nandra.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
I don&#8217;t want to say I&#8217;m pure SW because sometimes I need to use osciloscope, make some voltage or current measurement, solder something&#8230;<br />
But anyway some people more like making HW some SW.</p>
<p>I would like to use this board like reference board for my iqrf measurement test project so stay tunes for news.</p>
<p>Marek</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2009/09/new-hw-for-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to simulate AVR in linux</title>
		<link>http://open-nandra.com/2008/12/how-to-simulate-avr-in-linux/</link>
		<comments>http://open-nandra.com/2008/12/how-to-simulate-avr-in-linux/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 10:06:31 +0000</pubDate>
		<dc:creator>Marek Belisko</dc:creator>
				<category><![CDATA[AVR programming]]></category>
		<category><![CDATA[avr]]></category>
		<category><![CDATA[ddd]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[gdbserver]]></category>
		<category><![CDATA[Makefile]]></category>

		<guid isPermaLink="false">http://open-nandra.com/?p=18</guid>
		<description><![CDATA[In this article I would like to introduce simulating of AVR processors in Linux. When I start playing around AVR coding I don&#8217;t want to switch to Windows because of many development tools are available. Search through google and found some good hints how to proceed. This article should provide summary. Steps: 1. install all [...]]]></description>
			<content:encoded><![CDATA[<p>In this article I would like to introduce simulating of AVR processors in Linux. When I start playing around AVR coding I don&#8217;t want to switch to Windows because of many development tools are available. Search through google and found some good hints how to proceed. This article should provide summary.</p>
<p><span id="more-18"></span>Steps:<br />
1. install all AVR necessary tools (from source or from repository):</p>
<p>* avr-libc -  The C runtime library for the AVR family of microcontrollers for use with the GNU toolset (cross-avr-binutils, cross-avr-gcc, uisp, etc.).<br />
* cross-avr-binutils &#8211; Cross-development utilities: ar, as, gasp, gprof, ld, nm, objcopy, objdump, ranlib, size, strings, strip.<br />
* cross-avr-gcc &#8211; compiler for AVR microprocessors.<br />
* simulavr &#8211; AVR simulator<br />
* gdb-avr &#8211; GNU debugger for avr</p>
<p>Note:</p>
<p>for users which are not familiar with gdb command line interface would be good install also ddd (graphic extension for gdb)</p>
<p>2. for compilation we will use <a href="http://open-nandra.com/wp-content/uploads/Makefile">Makefile</a></p>
<p>What is necessary set in Makefile:</p>
<p>* MCU &#8211; type of processor</p>
<p>* PROJECTNAME &#8211; project name</p>
<p>* PRJSRC &#8211; sources</p>
<p>* OPTLEVEL &#8211; optimization level (for debugging must be set to 0!!!)</p>
<p>3. Start debugging<br />
start simulavr first:</p>
<pre>simulavr</pre>
<p>Start GDB server:</p>
<pre>make gdbserver</pre>
<p>start dddd:</p>
<pre>make ddd</pre>
<p style="text-align: left;">If everything is OK you should see a ddd debugger window with your sources loaded and you can start debugging.</p>
<p><a href="http://open-nandra.com/wp-content/uploads/ddd_orig.png"><img class="aligncenter size-full wp-image-21" title="ddd" src="http://open-nandra.com/wp-content/uploads/ddd.png" alt="ddd" width="400" height="329" /></a></p>
<p>Marek</p>
]]></content:encoded>
			<wfw:commentRss>http://open-nandra.com/2008/12/how-to-simulate-avr-in-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

