Type in the full discussion title or a part of it.
Discussion Title Created date
JTAG ICE clone buffer IC question
Good day! I've assembled JTAG ICE clone from this schematics: http://www.scienceprog.com/wp-co... (I'm aware of it's limitations: no AVRStudio 5 support and limit number of MCU...
Tuesday, 20 December 2011 - 20:40
Atmega8A power down current with pull-ups enabled
Good day! I'm playing with power down sleep mode on ATmega8A (I know that ATmega88 is way better in power consumption, but it is not easily accessible locally). My test case is...
Sunday, 11 December 2011 - 18:55
Array of arrays in flash using PROGMEM
Good day! My goal is to store array of arrays of uint8_t in PROGMEM and iterate over this data structure. Data can look like this: { {1,2,3,4,5}, {6,7,8,9,10,11,12}, {1,2,3,...
Friday, 6 May 2011 - 20:21
Read ADC value atomically
Good day! I'd like to ask for advice on reading ADC value. My environment: - ATmega8A @ 8Mhz internal osc - WinAVR 20100110 - 10k pot on ADC0 pin Here is and init code:...
Thursday, 20 January 2011 - 20:21
Should I use brown out detection?
Good day! I've a small device based on ATmega8A which is powered with 3 AAA batteries. Most of the time the MCU is in sleep mode. My program writes and reads from EEPROM (I've...
Saturday, 1 January 2011 - 22:36
System tick timer and protothreads - advice needed
Good day! I'm working on laying down some kind of framework for my projects (MCU is ATmega8A at the moment), here are my ingredients: - System tick timer on TIMER0 (code from...
Wednesday, 29 December 2010 - 22:09
Is it safe to turn flash verify in avrdude off?
Good day! Is it safe to turn verify of programmed flash in avrdude off (-V option). I use a bootloader (from Arduino project) to upload WinAVR program. What can be wrong during...
Saturday, 13 November 2010 - 22:23
return value vs pointer
Good day! I've a function that is called frequently and it return single value. What is more efficient with AVR GCC -- return value with 'return' or pass pointer to function and...
Saturday, 13 November 2010 - 20:13
Netbeans + WinAVR
Good day! I've existing project with makefile created from WinAVR template. I used to build a program with 'make all' and program it with 'make program'. I've created project "C/C...
Friday, 12 November 2010 - 20:36
Wait until UART finished transmittion before sleep
Good day! I'm using this UART library, which is interrupt-driven: http://homepage.hispeed.ch/peter... I've something like this in my code: uart_puts_P("Going to sleep...\n");...
Thursday, 11 November 2010 - 10:47
MCU C programs architecture patterns
Good day! I'm curious about MCU C programs architecture patterns. One (common?) pattern I use is: - interrupt routine set some flags in C bitfield marked 'volatile' - flags are...
Thursday, 11 November 2010 - 10:42
#define from make's command line
Good day! I've something like that in my code: Quote: #ifdef DEBUG //some debug code #endif I know that it is possible to specify define using -D option for gcc, but my goal is...
Wednesday, 10 November 2010 - 21:11

Pages