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... |
Fri. Sep 13, 2013 - 12:09 AM |
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... |
Sat. Nov 3, 2012 - 05:28 PM |
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... |
Fri. Sep 30, 2011 - 12:56 PM |
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... |
Mon. Sep 26, 2011 - 04:56 PM |
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... |
Wed. Sep 21, 2011 - 11:23 AM |
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... |
Tue. Sep 20, 2011 - 03:11 PM |
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... |
Wed. Sep 7, 2011 - 08:23 PM |
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,... |
Mon. Jul 12, 2010 - 11:53 PM |
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... |
Fri. Jun 11, 2010 - 05:40 PM |
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... |
Wed. Apr 29, 2009 - 12:27 PM |