Type in the full discussion title or a part of it.
Discussion Title Created date
Alternate stack pointer for interrupt handlers?
is there a way to let GCC generate signal handler code that uses an alternate stack pointer? The function attribute sp_switch would do what I want but it is ignore for AVR targets...
Sunday, 5 February 2012 - 07:57
atmega16m1 full duplex uart
I have problem with the atmega16m1 using the UART in full duplex mode. It seems that sending a byte fails (silently) when the UART is in the process of receiving a byte. Has...
Sunday, 7 August 2011 - 20:37
avrdude.conf for atmega16m1
Does anyone have an avrdude.conf that includes support for the atmega16m1? Or know where to download it from? Thanks, Markus
Saturday, 23 April 2011 - 01:43
assembler alignment woes
I want to interleave data and code, and maintain a linked list of it, in the .text section. The problem I'm having is that the assmebler does not seem to align assembler...
Saturday, 5 April 2008 - 20:22
STK500 crystal clock circuit problems
I have a m644p in my STK500 and have used it with a 20MHz crystal and it worked just fine. 2 days ago I experimented with some code that was written for the internal 8MHz...
Saturday, 5 January 2008 - 05:21
timer 1 compare A triggered twice (m88)
What I want is an interrupt in the middle of each PWM pulse. The idea is to trigger when timer 1 reaches TOP and BOTTOM (in one of the phase correct PWM modes). This is the code I...
Sunday, 9 December 2007 - 03:33
C++ warning with PROGMEM (4.2.2)
Recompiling a project with avr-gcc 4.2.2 leads to the message Quote:warning: only initialized variables can be placed into program memory area. Both of the following variables...
Sunday, 2 December 2007 - 19:43
Script to build avr-gcc-4.2.2 on Linux installs sources
I ran out of space on my hardrive and went looking for the biggest offenders (debian linux). It turns out that the latest version of the scripts install the build and source...
Sunday, 2 December 2007 - 19:07
Injecting statements before function prologue?
I need to disable the pin change interrupt on a tiny84 as soon as the ISR is called: register uint8_t pcif0 asm("r2"); ISR( PCINT0_vect) { PCMSK0 = 0; // disable further...
Thursday, 29 November 2007 - 19:06
Compiler warning on return from inline asm
Is there a way to tell gcc that the return statement and everything has been taken care of by the inline assembler? uint8_t xfer( uint8_t val) { asm volatile ( "1...
Wednesday, 7 November 2007 - 01:32
tiny84 self programming time
Hi all, I am working on a USB bootloader using usbtiny-1.3. It works like a charm with a mega88. But when I use a tiny84 ,the USB request seems to time out, even if I only do the...
Sunday, 19 August 2007 - 19:16
ISRs, inline assembler and register assignment
Hi everyone, I have two globals directly assigned to a register and optimized an ISR with inline assembler. gcc always moves those the two globals into other registers in the...
Saturday, 22 April 2006 - 18:07