<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="0.92">
<channel>
	<docs>http://backend.userland.com/rss092</docs>
	<title>AVR Freaks</title>
	<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;minimax=1</link>
	<description></description>
	<managingEditor>esivertsen@avrfreaks.net</managingEditor>
	<webMaster>esivertsen@avrfreaks.net</webMaster>
	<lastBuildDate>Sat, 04 Feb 2012 02:06:58 GMT</lastBuildDate>
	<item>
		<title>AVRfreaks Trading Post :: Arduino Simulator</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920731#920731</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=282718&quot; target=&quot;_blank&quot;&gt;Shields&lt;/a&gt;&lt;br /&gt;
	Subject: Arduino Simulator&lt;br /&gt;
	Posted: Feb 04, 2012 - 01:56 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 0&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;We are in the process of developing this Simulator for Arduino program &lt;a href=&quot;http://www.arduino.com.au/Simulator-for-Arduino.html&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;here&lt;/a&gt;. There is a free version download which has a delay timer on opening a sketch and is code limited to 100 lines.
&lt;br /&gt;

&lt;br /&gt;
At present, Simulator for Arduino is the most full-featured and functional Arduino Simulator available. There are several others which are listed at the end if the webpage but they are either non functional, buggy or require compilation. All feedback is appreciated.
	&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR GCC forum :: RE: LPZ Rxx, Z+ with pgmspace.h ?</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920730#920730</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=131293&quot; target=&quot;_blank&quot;&gt;SprinterSB&lt;/a&gt;&lt;br /&gt;
	Subject: RE: LPZ Rxx, Z+ with pgmspace.h ?&lt;br /&gt;
	Posted: Feb 04, 2012 - 01:50 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 2&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;Look at pgmspace.h. It all maps to inline assembly, so you will never get Z+ with pgm_read_byte from post-incrementint the address in C.
&lt;br /&gt;

&lt;br /&gt;
One solution is writing code completely in assembler (fastest code, I use that for sin/cos lookup) or to use pgm_read_dword (read one byte too much and you have to extract the bytes) or write own pgm_read_byte_inc inline assembler macro (I use that, too).
	&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR forum :: RE: Simulator for Arduino</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920729#920729</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=282718&quot; target=&quot;_blank&quot;&gt;Shields&lt;/a&gt;&lt;br /&gt;
	Subject: RE: Re: RE: Simulator for Arduino&lt;br /&gt;
	Posted: Feb 04, 2012 - 01:49 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 8&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;Thanks for the replies.  OK so everyone knows about Arduino. One of the reasons to put the post up here was to maybe get a few people to test the program and find some more issues, so we can then make it better. Originally, we were going to look into making Shields but there hasn't been much interest except for the reply on Yotube from the guy who makes home-made detonators wanting the Arduino sketch for the RF control chip. 
&lt;br /&gt;

&lt;br /&gt;
John, if you want to leave this topic up, I will start another topic in the Trading Post section. Nice pic by the way. Also, nice to know there are a lot of Aussies here. We seem to have all our customers in Melbourne and Qld. The few customers left in Sydney are not great payers so probably don't qualify as customers anyway.
	&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>Off-topic forum :: RE: Gotta love the fence sitters ...</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920728#920728</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=79540&quot; target=&quot;_blank&quot;&gt;smileymicros&lt;/a&gt;&lt;br /&gt;
	Subject: RE: Re: RE: Re: RE: Gotta love the fence sitters ...&lt;br /&gt;
	Posted: Feb 04, 2012 - 01:43 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 17&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;I thought years ago that if the CIA didn't own most of the anomymizer sites they were even stupider than we often think they are. I'd mention the PGP Encryption backdoor but I'm afraid I'd get (I&amp;amp;(&amp;amp;$#&amp;amp;(*^(&amp;amp;
	&lt;br /&gt;_________________&lt;br /&gt;FREE TUTORIAL: 'Quick Start Guide for Using the WinAVR C Compiler with ATMEL's AVR Butterfly' AVAILABLE AT: &lt;!-- m --&gt;&lt;a href=&quot;http://www.smileymicros.com&quot; target=&quot;_blank&quot;&gt;http://www.smileymicros.com&lt;/a&gt;&lt;!-- m --&gt;&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR Studio 5 forum :: RE: AVR ONE! JTAG pin numbers</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920725#920725</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=1170&quot; target=&quot;_blank&quot;&gt;js&lt;/a&gt;&lt;br /&gt;
	Subject: RE: AVR ONE! JTAG pin numbers&lt;br /&gt;
	Posted: Feb 04, 2012 - 01:40 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 6&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;I don't have a &amp;quot;recommended development environment&amp;quot; I can only tell you what I use. &lt;img src=&quot;modules//http://&lt;!-- l --&gt;&lt;a href=&quot;modules/PNphpBB2/images/smiles/icon_smile.gif&quot; target=&quot;_blank&quot;&gt;modules/PNphpBB2/images/smiles/icon_smile.gif&lt;/a&gt;&lt;!-- l --&gt;&quot; alt=&quot;Smile&quot; border=&quot;0&quot; /&gt;
&lt;br /&gt;

&lt;br /&gt;
I have 1.5 Dragons (the .5 only works in DW mode), a JTAG Mk1 (home made), a JTAG Mk2, an ICE200 for a few OLDER chips, AVRISP Mk1 (older RS232 type), an AVR910 type programmer (old), a STK500 and 3 &amp;quot;fellow freak brand&amp;quot; keyfob like programmers which are used for the production\test bench.
&lt;br /&gt;

&lt;br /&gt;
Still using Studio 4.18 which works with all the above. Don't need the changeover pain to AS5 (and lose some of my, no longer supported in AS5, tools).
	&lt;br /&gt;_________________&lt;br /&gt;John Samperi
&lt;br /&gt;
Ampertronics Pty. Ltd.
&lt;br /&gt;
&lt;!-- w --&gt;&lt;a href=&quot;http://www.ampertronics.com.au&quot; target=&quot;_blank&quot;&gt;www.ampertronics.com.au&lt;/a&gt;&lt;!-- w --&gt;
&lt;br /&gt;
* Electronic Design   * Custom Products   * Contract Assembly&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR forum :: RE: umm... malloc fail :(</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920724#920724</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=130303&quot; target=&quot;_blank&quot;&gt;luvocean1&lt;/a&gt;&lt;br /&gt;
	Subject: RE: Re: RE: umm... malloc fail :(&lt;br /&gt;
	Posted: Feb 04, 2012 - 01:37 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 14&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;hhhm..thanks for that.
&lt;br /&gt;
So I should try to define data structures as global variables where possible...
	&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR forum :: RE: ATmega644p AVRDUDE Invalid Device Signature</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920719#920719</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=101356&quot; target=&quot;_blank&quot;&gt;Plons&lt;/a&gt;&lt;br /&gt;
	
	Posted: Feb 04, 2012 - 01:06 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 13&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;&lt;div class=&quot;quotetitle&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;quotecontent&quot;&gt;I am absolutely positive everything is wired correctly.&lt;/div&gt;Nevertheless, it doesn't work. Can you ask someone else to check the wiring ? Re-checking yourself may result in overlooking the same fault. You'd not be the first one.
&lt;br /&gt;

&lt;br /&gt;
&lt;div class=&quot;quotetitle&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;quotecontent&quot;&gt;Is it possible (or at this point, probable) that I got a bad chip?&lt;/div&gt;Impossible for me to answer that question.
&lt;br /&gt;

&lt;br /&gt;
&lt;div class=&quot;quotetitle&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;quotecontent&quot;&gt;How have you determined what pin1 of that 10p connector is ?&lt;/div&gt;If you don't answer my questions, how on earth can I help you ?
&lt;br /&gt;

&lt;br /&gt;
Bedtime at this side of the pond.
&lt;br /&gt;

&lt;br /&gt;

&lt;br /&gt;
PS Did you measure the supply voltage for the 644 ? With a voltmeter ?
	&lt;br /&gt;_________________&lt;br /&gt;Problems with Parallel Port Programmers ? Read this:
&lt;br /&gt;
&lt;a href=&quot;http://www.aplomb.nl/TechStuff/PPPD/PPPD%20English.html&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;http://www.aplomb.nl/TechStuff/PPPD/PPPD%20English.html&lt;/a&gt;
&lt;br /&gt;
Dragon broken ? Go here:
&lt;br /&gt;
&lt;a href=&quot;http://www.aplomb.nl/TechStuff/Dragon/Dragon.html&quot; target=&quot;_blank&quot; class=&quot;postlink&quot;&gt;http://www.aplomb.nl/TechStuff/Dragon/Dragon.html&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>General Electronics :: RE: Really Big Display?</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920717#920717</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=232498&quot; target=&quot;_blank&quot;&gt;hugoboss&lt;/a&gt;&lt;br /&gt;
	Subject: RE: Re: RE: Re: RE: Re: RE: Really Big Display?&lt;br /&gt;
	Posted: Feb 04, 2012 - 12:54 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 27&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;A vertically mounted cylinder on a stick like the &amp;quot;praying mill&amp;quot; pictured above is actually a pretty nice idea! It takes very little power to rotate each shaft through a PWM'd motor whenever a number changes, and it can be very durable and lightweight and cheap to build with a polycarbonate sheet, a printed decal, and some lamp cover-like structure. You can encase the whole thing in a box, or just the electronics. Each digit can occupy a ~30 degrees arc of the cylinder surface, and it can be as high as you want (with wind in consideration).
	&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>General Electronics :: RE: 6/12mhz quickie</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920715#920715</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=232498&quot; target=&quot;_blank&quot;&gt;hugoboss&lt;/a&gt;&lt;br /&gt;
	Subject: RE: Re: RE: 6/12mhz quickie&lt;br /&gt;
	Posted: Feb 04, 2012 - 12:43 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 36&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;So this delays a copy of the original signal by 90 degrees and feeds both outputs to a XOR gate. Clever. This is actually pretty useful for a micro-based PLL. Use an AVR with two or 4 PWM's ran at 1/4 timer clock, and the timer's prescalers, and you can output a pretty wide range of lower or higher frequencies...
	&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>XMEGA forum :: RE: Xmega 128a3 hd44780 library in 4 bit mode</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920712#920712</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=281886&quot; target=&quot;_blank&quot;&gt;andariel&lt;/a&gt;&lt;br /&gt;
	
	Posted: Feb 04, 2012 - 12:36 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 11&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;Thanks for help I will try It on monday. I´m going to travel to my school (in different country).
	&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR forum :: RE: Watchdog timer reset ATMega2560</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920711#920711</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=170609&quot; target=&quot;_blank&quot;&gt;pcoiner&lt;/a&gt;&lt;br /&gt;
	Subject: RE: Watchdog timer reset ATMega2560&lt;br /&gt;
	Posted: Feb 04, 2012 - 12:33 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 6&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;I tested with otpimization set to -O1 and everything works fine.
	&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR forum :: RE: SPI SS pin in Master mode?</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920710#920710</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=80383&quot; target=&quot;_blank&quot;&gt;indianajones11&lt;/a&gt;&lt;br /&gt;
	Subject: Re: SPI SS pin in Master mode?&lt;br /&gt;
	Posted: Feb 04, 2012 - 12:33 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 2&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;&lt;div class=&quot;quotetitle&quot;&gt;mnehpets wrote:&lt;/div&gt;&lt;div class=&quot;quotecontent&quot;&gt;&lt;div class=&quot;quotetitle&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;quotecontent&quot;&gt;
&lt;br /&gt;
I have only 1 master (atmega88) &amp;amp; 1 slave(adt7310 temperature sensor).so I connected my  cs pin of the slave to GND. That means the adt7310 is always selected as slave.
&lt;br /&gt;
&lt;/div&gt;
&lt;br /&gt;

&lt;br /&gt;
That's not a good idea. Most SPI slaves (and the adt7310 is included in the category &amp;quot;most SPI slaves&amp;quot;) use the CS input to signal the start and end of SPI transactions.
&lt;br /&gt;

&lt;br /&gt;
- S&lt;/div&gt; Therefore, use a pin ( might as well be the SPI /SS ) for /CS and drive it from the master and if it works, you'll know what the problem was .
	&lt;br /&gt;_________________&lt;br /&gt;1) Studio 4.18 build 716 (SP3)
&lt;br /&gt;
2) WinAvr 20100110 
&lt;br /&gt;
3) PN, all on Doze XP... For Now
&lt;br /&gt;
A) Avr Dragon ver. 1
&lt;br /&gt;
B) Avr MKII ISP, 2009 model
&lt;br /&gt;
C) MKII JTAGICE ver. 1&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR forum :: RE: Driving 16x2 LCD display - not working</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920709#920709</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=142598&quot; target=&quot;_blank&quot;&gt;LDEVRIES&lt;/a&gt;&lt;br /&gt;
	Subject: RE: Re: RE: Driving 16x2 LCD display - not working&lt;br /&gt;
	Posted: Feb 04, 2012 - 12:24 AM (GMT 1)&lt;br /&gt;
	Topic Replies: 15&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;Yes.... that is a &amp;quot;Murphy&amp;quot; waiting to catch people out! &lt;img src=&quot;modules//http://&lt;!-- l --&gt;&lt;a href=&quot;modules/PNphpBB2/images/smiles/icon_sad.gif&quot; target=&quot;_blank&quot;&gt;modules/PNphpBB2/images/smiles/icon_sad.gif&lt;/a&gt;&lt;!-- l --&gt;&quot; alt=&quot;Sad&quot; border=&quot;0&quot; /&gt;
	&lt;br /&gt;_________________&lt;br /&gt;Charles Darwin, Lord Kelvin &amp;amp; Murphy are always lurking about!
&lt;br /&gt;
Lee -.-
&lt;br /&gt;
(If you haven't already done so, edit your PostNuke profile and let let us know where you are, what you do &amp;amp; what your interests are.)&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR GCC forum :: RE: creating a delay</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920699#920699</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=95039&quot; target=&quot;_blank&quot;&gt;haker_fox&lt;/a&gt;&lt;br /&gt;
	Subject: Re: creating a delay&lt;br /&gt;
	Posted: Feb 03, 2012 - 11:48 PM (GMT 1)&lt;br /&gt;
	Topic Replies: 2&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;&lt;div class=&quot;quotetitle&quot;&gt;sekantsi wrote:&lt;/div&gt;&lt;div class=&quot;quotecontent&quot;&gt;can sombody send me a sample code on how to create any delay&lt;/div&gt;
&lt;br /&gt;
Hello! As it mentioned earlier you can use AVR Libc (from WinAVR). But you should realize that those functions might be no so good precise for you. And yet: they stall MCU for a while. So you can't do anything with the exceptions of interrupts.
	&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
	<item>
		<title>AVR forum :: RE: SPI multiple devices switching (pressure logger)</title>
		<link>http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;file=viewtopic&amp;theme=print&amp;p=920698#920698</link>
		<description>Author: &lt;a href=&quot;http://www.avrfreaks.net/index.php?name=PNphpBB2&amp;amp;file=viewprofile&amp;amp;u=20276&quot; target=&quot;_blank&quot;&gt;bobgardner&lt;/a&gt;&lt;br /&gt;
	
	Posted: Feb 03, 2012 - 11:45 PM (GMT 1)&lt;br /&gt;
	Topic Replies: 7&lt;br /&gt;&lt;br /&gt;
	&lt;span class="postbody"&gt;If the slave spi device doesn't make its output line back to the master hi-z when you deassert the cs, that miso line will be wire-or-ed with the other one. Clue is they work with one or the other in the circuit, mess up with both. One fix is run the data back from the sensors thru an ls125 or ls126 and select with the cs. Hope this helps.
	&lt;br /&gt;_________________&lt;br /&gt;Imagecraft compiler user&lt;/span&gt;&lt;br /&gt;
	</description>
	</item>
</channel>
</rss>
