Type in the full discussion title or a part of it.
Discussion Title Created date
0.2 uA sleep with external watchdog wakeup
Hi! IIRC I read about a thread about low power sleeping with timekeeping. I want to share something: It's not precise timekeeping, but it's pretty low power and periodic wake up...
Friday, 13 September 2013 - 00:09
tiny, fast PRNG
uint8_t rnd(void) { static uint8_t s=0xaa,a=0; s^=s<<3; s^=s>>5; s^=a++>>2; return s; } Tiny and fast 8 bit pseudo random number...
Saturday, 3 November 2012 - 17:28
change reset vector, program code in interrupt table
Hi! I made a bootloader and for testing purposes I want code with an unusual jump in the reset vector. Usually at address 0 there would be a jump to right after the vector table...
Friday, 30 September 2011 - 12:56
What is picoPower?
Atmel mentions picoPower, but I don't see it defined anywhere. Can anyone tell me what this is? "AVR4013: picoPower Basics" [1] takes the ATmega88PA as example. The parametric...
Monday, 26 September 2011 - 16:56
self modifying bootloader
Hi! I made a 31 word bootloader based on Kasper Pedersens tinyloader. The reset vector points to the loader and in the loader there is a jump to the application. How can I update...
Wednesday, 21 September 2011 - 11:23
stack initialization / addressing mode rant
Hi! While coding assembly I noticed stack initialization code and wondered if that is really necessary. If at boot SP=0 and the stack used pre-decrement for push/call, then the...
Tuesday, 20 September 2011 - 15:11
move assembler bootloader code to end of flash
Hi! I'm trying to modify and port Kasper Pedersens assembler bootloader tinyloader to gnu avr-gcc. I'm stuck with moving the code to the end of flash. I read about .section...
Wednesday, 7 September 2011 - 20:23
nop optimized away
Hi! I have an unresponsive LPC flash BIOS chip which I want to program via an ATmega168. Since adding nops has resolved a timing problem before, I tried to add blocks of 4 nops,...
Monday, 12 July 2010 - 23:53
Discard first ADC result?
Hi! Quote:The first ADC conversion result after switching voltage reference source may be inaccurate, and the user is advised to discard this result. I want to make single ADC...
Friday, 11 June 2010 - 17:40
soundcard serial comm snippet
Hi! Since my ATtiny lacks a UART I made a simple and short (100 bytes) serial transmission routine. Great for debugging/development when you don't want to include a 2KB USB stack...
Wednesday, 29 April 2009 - 12:27