Post Created date
Merging two .elf files into a single .hex file
I answered question 1 myself by reading the bootloader FAQ PDF document found through some more Googling. The answer is that the ".bootloader" section name is dumb; instead just...
Monday, 28 April 2014 - 01:18
LUFA, Atmega32u4, TWI, SCL and SDA stay flatlined
Turns out, I was doing two things wrong: 1) The jumper that was supposed to power the pull-up on this end was not installed. (Durr!) 2) After fixing this, the receiving end (an...
Thursday, 18 April 2013 - 17:08
failur rate or crash rate of ATmega128
The one thing in the AVR that is "designed to fail" is the EEPROM. There is an "expected" number of write cycles (100,000 IIRC) before it fails. I imagine it can fail before then...
Thursday, 7 February 2013 - 05:03
ATMega328P-PU with Arduino as programmer + NRF24L01
Burning a bootloader, or burning any other hex program, is the same process. The capacitor shouldn't be needed. I've used am Arduino Unos as a "recovery" ISP when my normal ISP...
Thursday, 7 February 2013 - 04:55
3 Volts, 20 MHz, DIL -- I can has?
Thanks for all the answers! Yes, I'm talking about $15, 320x240, TFT color LCDs, running in 16-bit color mode. From an Atmega, you have to write them in 8-bit mode, which means...
Thursday, 11 October 2012 - 05:56
TWI/I2C on ATTiny84 with USI: Detecting end of data?
Quote:There is no need to worry about duration because the USI will stretch the clock. Have you found a way to stretch the clock past the return of the start interrupt? Every...
Saturday, 30 June 2012 - 02:02
TWI/I2C on ATTiny84 with USI: Detecting end of data?
Quote:If a 'stop' has occurred I call the stop handler and clear the flag. Thanks for your suggestions! This assumes that you're ready to accept another start immediately after...
Friday, 29 June 2012 - 05:13
Automotive Power Supply Regulator Circuit
"Automotive" parts are typically specified for a wider range of temperature (say, -40C to +85C) and generally for higher level of vibration resistance and other abuse (within...
Saturday, 23 June 2012 - 05:15
[TUT] [HARD] [SOFT] [C] USB tutorial with V-USB & ATtiny
Quote:Can this method be employed for making a USB programmer for Atmega 8,16,32,64 or 128? Yes:
Saturday, 23 June 2012 - 04:54
Debugging issue
"const" can't automatically put things in progmem, because the standard library defines a number of parameters as const (memcpy, strcmp, etc.) Accessing things that live in...
Friday, 22 June 2012 - 02:47
writing a C code for I2C communication without using I2C lib
Quote:you drive the line *down* by keeping the port bit low and enabling the port for output If you want to do proper sensing of the SCL line for flow control, and the SDA line...
Friday, 22 June 2012 - 02:44
writing a C code for I2C communication without using I2C lib
Wikipedia actually has pseudo-code for bit banging the I2C bus. It's reasonably simple to port to the MCU of your choice. and search for "Example...
Thursday, 21 June 2012 - 03:27