Type in the full discussion title or a part of it.
Discussion Title Created date
ok to use -mmcu=attiny84 instead of 84a?
I'm trying to use fuse.h to define fuse settings in my elf files. I noticed the fuse definitions for the 84a are not correct (and submitted avr-libc bug #42084). The signature...
Thursday, 10 April 2014 - 01:22
sample avr makefile
Here's a basic makefile I wrote for avr work. DEVICE = attiny85 # or export DEVICE=atxxxx in shell # export TARGET=app CC = avr-gcc CFLAGS = -mmcu=$(DEVICE) CFLAGS += -Os all...
Sunday, 30 March 2014 - 17:47
problem with ATtiny85 timer1 code
I'm trying to use timer1 in normal mode, counting up to 2, and toggling OC1A each time the counter value is 1. When my code runs, PB1 (pin 6) just stays low all the time. I've...
Sunday, 30 March 2014 - 04:50
433Mhz range
I have a 433Mhz wireless receiver/xmitter pair that I got from DX, and intended to use for sending data from an AVR to a PC with the receiver hooked up to a USB-TTL module. I...
Friday, 28 March 2014 - 06:07
Cheap USBAsp
Just ordered 5 of them for US$10.63 on a one-day sale (15% off from $2.50). I have one of LCsoft's original version (with the on-board 3.3v regulator), which has worked well....
Wednesday, 26 March 2014 - 04:24
ADC8 (temperature sensor) definition?
I've been testing out the internal temperature sensor on a number of AVRs, and would like to make my code more portable. On the t84, t88 and m328, setting MUX to ADC8 gets the...
Tuesday, 25 March 2014 - 00:44
looking for AVR makefile template including fuse settings
I'm looking for a makefile template that includes fuse settings - something I can use with picoboot and picoboot-stk500. I've looked at the makefile for optiboot and the makefile...
Monday, 24 March 2014 - 15:00
erroneous reference to EEARH for t48/t88
Section 5.3 of the ATtiny88 datasheet refers to EEARH, but the devices have only EEARL since eeprom size is
Monday, 24 March 2014 - 01:04
AVR price hikes
I've noticed digi-key has significantly increased the prices on AVR MCUs. A couple examples of the old and new q25 pricing: ATtiny88-au: 56c/102c ATtiny85-20pu: 84c/136c...
Sunday, 23 March 2014 - 22:39
Watch out for undefined assembler arguments
In picoboot-STK500, I had a bug that I would have expected the assembler (gcc-gas) to catch, but it didn't: Default: ; read to EOP and respond with INSYNC rcall RxByte cpi...
Thursday, 20 March 2014 - 22:52
While doing more bootloader work, I notice most AVRs define bit 0 of SPMCSR as SPMEN, yet a few (like the ATMega328) define it as SELFPRGEN. They do the same thing, it's the same...
Wednesday, 19 March 2014 - 20:28
watchdog timer frequency definitions?
I'm looking for definitions (i.e. a header file) with typical watchdog timer frequencies for various parts. avr-libc's wdt.h just has generic definitions like: /** \ingroup...
Tuesday, 18 March 2014 - 17:01