Type in the full discussion title or a part of it.
Discussion Title Created date
The competition?
How much competition does gcc have? By "competition", I mean other multi-platform compilers. A compiler that compiles for just qwertyiy-76a and qwertyiy-76b doesn't count. A...
Monday, 11 January 2010 - 19:33
What do consecutive skips do?
What would this do? SBIS PINC, 0 SBIS PINB, 7 RETI I would expect RETI to be executed iff C0 is set or B7 is clear. In the first case, the second SBIS would be skipped. In...
Wednesday, 6 January 2010 - 18:08
What isn't compiler allowed to do with cli() and sei()?
cli(); // lots of code sei(); From what I've read, the compiler is allowed to move the sei instruction to immediately after the cli instruction. Under what circumstances, if...
Friday, 11 December 2009 - 17:24
curtailed cat
From a Windows XP command window, the cat from winAVR 20081205 does not finish the attached file. It quits after the second "=" after "def from_str(s)". type does the right thing...
Thursday, 10 September 2009 - 20:12
inputs and outputs with inline assembly
With inline assembly, is there a way to say that one is going to trash an input register? Is there a way to say that one wants an output to be the high byte of a two-byte input? I...
Thursday, 25 June 2009 - 17:44
reading SPI pins
The processor is an atmega168. When in SPI slave mode, can one reliably read /SS, MISO, MOSI and SCK with an IN R16, PINB instruction? I suspect the answer is in the data sheet,...
Tuesday, 2 June 2009 - 15:25
winAVR's less freezes console window
Lately, whenever I try to use less, nothing useful happens. After the usual warning that the terminal is not fully functional and to press return, it ceases taking input and does...
Thursday, 16 April 2009 - 17:26
missed optimization?
With avr-gcc from WinAVR-20081205, I was compiling for an ATmega168 with -Os. This: unsigned mult(unsigned char arg) { return arg*64U; } // mult compiled into this:...
Wednesday, 18 February 2009 - 20:46
syntax error in supplemental linker script
The .emit_light section is in a single assembly file. The emit_light symbols in the long line are global labels in that section. All the linker tells me is ../emit_light.ld:9...
Friday, 6 February 2009 - 00:46
getting out of SPI mode, solved
I'm doing SPI from a USBKey master to an ATmega168 slave. I'm using MSPIM of the AT90USB1287's USART. One reason I need to leave SPI mode is for the handshaking at the beginning...
Tuesday, 14 October 2008 - 19:14
2-way SPI
The documentation on SPI seems to assume that one is only interested in data going one direction at a time. I'm having trouble wrapping my brain around what to do with the data...
Wednesday, 8 October 2008 - 18:49
ISP programmers and Vcc
The standard connectors for ISP include Vcc. Do programmers need the Vcc connection? Specifically, do AVRISP mkII's or JTAG-ICE mkII's need Vcc?
Tuesday, 7 October 2008 - 16:37