Type in the full discussion title or a part of it.
Discussion Title Created date
Merging two .elf files into a single .hex file
I am using avr-gcc version 4.8.2 with avr-libc from the command line in Arch Linux. I would like my firmware to contain a self-update capability. This means that I need to write a...
Monday, 28 April 2014 - 00:46
LUFA, Atmega32u4, TWI, SCL and SDA stay flatlined
I have wired D0 (SCL) and D1 (SDA) to 5V through 4.7 kOhm pull-up resistors. I turn on TWI: void setup_twi() { TWI_Disable(); PORTD |= 0x3; DDRD |= 0x3;...
Thursday, 18 April 2013 - 16:02
LUFA 120730 re-builds each time
I was tracking down a build error for LUFA where it complained about invalid suffix 'x' on the symbol BOOT_START_ADDR in BootloaderCDC.c. It turns out, "bc" was not installed on...
Sunday, 20 January 2013 - 04:39
3 Volts, 20 MHz, DIL -- I can has?
Most peripherals these days are 3.3V. Meanwhile, I really like the robustness of the Atmega family, and I have a fair amount of code developed for it. I can run the AVRs at 10 MHz...
Sunday, 7 October 2012 - 19:50
AVR-GCC no longer generating SBI/CBI instructions?
The sbi() and cbi() intrinsics were moved into the "deprecated" area, and we were told that the compiler would generate sbi and cbi instructions for us when we use |= and &=...
Saturday, 14 July 2012 - 04:13
TWI/I2C on ATTiny84 with USI: Detecting end of data?
I have an I2C slave using the USI of an ATTiny84. I have code loosely based on AVR312. However, this only lets me poll "is there any data" from the application code -- it won't...
Tuesday, 12 June 2012 - 05:00
What's a good ICSP programmer?
I had been using a USBtinyISP (from Adafruit) for a long time, and been happy with it. However, I recently had an "event" of unspecified kind, and the programmer is no longer...
Tuesday, 5 June 2012 - 03:28
avr-gcc -Os removes exported arrays from PROGMEM!
I'm using AVR-GCC 4.7.0-1 from Arch Linux, if it matters. When compiling with -Os (which is pretty much a must for most source code,) an exported data array declared as PROGMEM...
Saturday, 26 May 2012 - 01:24
Simple sketch won't work; interrupt vectors missing?
I'm trying to get a Linux-based development environment for Atmega328p to work. I'm using Linux Mint 12 with avr-gcc (version 4.5.3), avr-libc (version 1.7.1) and avrdude (version...
Saturday, 28 April 2012 - 16:18