Type in the full discussion title or a part of it.
Discussion Title Created date
CLKper and CLKcpu
I recently started with XMEGAs. When I first saw the prescalers and PLL, I thought, cool, I can change CPU frequency without changing PER frequency (because changing CLKper often...
Wednesday, 4 April 2012 - 23:08
How does LPM instruction work?
I am new to xmega, but not to avr8 in general. I know I need to RTFM, but there is quite a lot of new stuff and, I guess, I have hard time locating what I need. BTW, I am using...
Tuesday, 27 March 2012 - 14:58
Moving from mega to xmega
I think I will need to do software for an xmega. This is going to be the first for me. I have been doing mega/tiny for a few years and quite comfortable with avr-gcc, mega48/68/...
Tuesday, 6 March 2012 - 20:19
Problem with volatile in WinAVR 20100110
type foo.c #include struct { volatile uint8_t m; } s = { 123 }; int main(void) { while (1) { PORTC = s.m; } } avr-gcc --version avr-gcc (WinAVR 20100110) 4.3.3 avr-...
Tuesday, 22 November 2011 - 18:11
How to ask GCC not to generate any code for unused variable?
#include static uint8_t foo1Called; static void foo1(void) { foo1Called = 1; } static void foo2(void) { if (! foo1Called) PORTC = 123; } int main(void) { foo1(); foo2(); while...
Thursday, 8 September 2011 - 19:19
avr-gcc -combine
It looks that the compiler has the "-combine" option. I think I even know what it does. But I cannot find any documentation. Any help? Any lmgtfy.com links? Edit: Found it...
Tuesday, 6 September 2011 - 17:26
TWI slave shifts wrong data
I realize that this is a long shot, but here it goes anyway. Two atmega324 talking to each other over TWI at 20 KHz. The code looks like this: while (true) { master transmit 4...
Friday, 29 July 2011 - 19:54
How to create a project file from an elf?
I have an elf file created by GCC and I want to debug it. I have done that a few times in the past. What I normally did was File->Open file, browse to .elf, Open. At that point a...
Thursday, 18 November 2010 - 18:20
Atmel parametric product table
What happened to the table? Where did all atmega USARTs and ADCs go? Or is this just something with my computer/browser?
Monday, 20 September 2010 - 17:09
AT90USBKEY issues
Trying to run Dean's Mass Storage Host demo on AT90USBKEY. So far unsuccessfully. At first had problems with the MS_Host_ResetMSInterface call. It kept failing with the...
Monday, 19 April 2010 - 19:10
Where to buy an AVRISP programmer?
It is getting more and more difficult to find an AVRISP-compatible programmer. We used to use this one. But it looks that they are no longer made. Any suggestions? Need RS232 (not...
Friday, 12 March 2010 - 14:25
WINAVR ignores volatile
I was playing with cli/sei reordering discussed in other threads and stumbled upon the following case, which I cannot explain. When BUG=1 is defined, WINAVR seems to completely...
Thursday, 4 February 2010 - 15:39