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...
Mon. Jan 11, 2010 - 07:33 PM
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...
Wed. Jan 6, 2010 - 06:08 PM
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...
Fri. Dec 11, 2009 - 05:24 PM
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...
Thu. Sep 10, 2009 - 08:12 PM
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...
Thu. Jun 25, 2009 - 05:44 PM
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,...
Tue. Jun 2, 2009 - 03:25 PM
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...
Thu. Apr 16, 2009 - 05:26 PM
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:...
Wed. Feb 18, 2009 - 08:46 PM
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...
Fri. Feb 6, 2009 - 12:46 AM
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...
Tue. Oct 14, 2008 - 07:14 PM
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...
Wed. Oct 8, 2008 - 06:49 PM
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?
Tue. Oct 7, 2008 - 04:37 PM

Pages