Type in the full discussion title or a part of it.
Discussion Title Created date
Pour les connaisseurs: Bit variables and interrupts...
Hi! I have 5 bit variables (globals) mapped into register R2, something like: bit v1; // -> R2.0 bit v2; // -> R2.1 ....... bit v5; // -> R2.4 where only v1 and v2 are used...
Friday, 11 November 2005 - 22:24
Jumping from inside application to bootloader?
Chip: mega8 Compiler: CodeVision - with the new version of assembler from Atmel I have a little program... well, one line of code is: #asm("jmp 0xE00") // jump to bootloader...
Friday, 14 October 2005 - 15:32
Save/restore the status of interrupts...which one is better?
It's just a question of save/restore the status of interrupts... Which one should I choose? Before return I want to restore the previous status. void rLightBlinkOn(byte ID) {...
Saturday, 25 June 2005 - 09:06
Any trick to boost up EEPROM endurance?
Hi guys! From ATmega8 data sheet: EEPROM Endurance: 100,000 Write/Erase Cycles Any trick to boost up this value? :idea: TIA.
Friday, 24 June 2005 - 22:20
Need to calculate weights for a neural network
Hi freaks! I need a little bit of help here… 1) First, I need a PC application that can calculate the weights for the given I/O in a neural network. I tried searching the Internet...
Sunday, 19 June 2005 - 09:35
11 timers running on my AVR - just great !
Hi guys! Check this out: Design note #031 (thx Glenn!) Using this appnote, I've managed to create 11 non-blocking timers in my application, using only the timer0 of my AVR: 1) Rx0...
Monday, 13 June 2005 - 08:37
FLASH programming sequence: pipelining [?!]
I saw a recommendation in mega163 datasheet for bootloaders (FLASH programming): spm .dw $FFFF nop Is it really necessary or not? Exactly what is this sequence ...? Atmel...
Friday, 10 June 2005 - 16:51
2/3 - decision algorithm [need fast implementation in C]
Hi! I need a fast implementation for something like 2/3 algorithm. To be more precise, I store 3 successive values after ADC: v[0], v[1], v[2]. For ex., let’s say: 12.2, 10.1 and...
Thursday, 9 June 2005 - 19:17
Turnstile – need suggestions for software design
Hardware: Turnstile – steel bar with 3 Hall sensors: H1, H2, H3. The software has to: - control the EXIT access; the permitted sequence is: H3, H1, H2. - block the ENTER sequence...
Tuesday, 7 June 2005 - 08:30
Need PC software for batch programming [ISP STK500]
Hi! Please, can you recommend me a free standalone chip programmer (Windoze program) compatible with STK500, suitable for batch programming. Thx all in advance!
Friday, 3 June 2005 - 21:36
Problem with the ADC [?] relative error = 10%
Hi, With ATmega128 I'm trying to read a voltage using ADC 8bit: - ADMUX = 0xe0; // Vref = 2.56V - ADCSRA = 0x86. I constantly get ADCH = 92 (decimal value). On the other hand, I...
Saturday, 28 May 2005 - 21:41
Need an example on how/where to use a software interrupt...
Hi everybody, Does anyone have an example (a piece of code, an appnote or something) on how to use a software interrupt? When is it recommended to use this type of interrupts? [I...
Friday, 27 May 2005 - 22:34

Pages