Post Created date
AVR debugging
Was reading about kibi, gibi and the like the other day. Wanted to smack the guy that came up with it =)
Monday, 12 March 2007 - 16:39
Programming problems
Hehe Cliff =) I like that one.
Monday, 12 March 2007 - 16:35
usart strange problem
Wouldn't think -O0 would cause any problems. If anything, I would think the -Os would... Does the compiler have an issue with: unsigned char ack[] = {0x10, 0x01, 0x11}; instead...
Monday, 12 March 2007 - 16:31
Very very easy question.About type of variables
or what he said =)
Monday, 12 March 2007 - 16:29
Very very easy question.About type of variables
#define FALSE 0 #define TRUE 1 typedef uint8_t bool; Then use bool with true and false. There'd be no type checking, though, so you could assign other integer values if you're not...
Monday, 12 March 2007 - 16:28
AVR debugging
For any AVR with debugwire support, go for the dragon. It's like 50€ (can't remember exactly the price, but someone else will) and will provide you with all the programming modes...
Sunday, 11 March 2007 - 23:01
Why isn't _delay_ms is delaying for 1ms?
From the avr-libc docs: void _delay_ms ( double __ms ) Perform a delay of __ms milliseconds, using _delay_loop_2(). The macro F_CPU is supposed to be defined to a constant...
Sunday, 11 March 2007 - 19:31
Why isn't _delay_ms is delaying for 1ms?
I also seem to remember that for some reason you can't use delay_ms for more than a certain amount of ms based on your frequency. I think for my 8MHz clock, it worked out to...
Sunday, 11 March 2007 - 19:21
UART Code?
Please use the code macro to format your code so it's more readable and avoids things like the smiley above. Not that familiar with UARTs but at a quick glance, this: //wait for...
Saturday, 10 March 2007 - 03:05
FAT to RS232, sector by sector via AVR
Another thing to think about is that reading from the MMC/SD card is a lot more practical if you can do it it larger chunks like 512 bytes at a time. Getting an AVR with more RAM...
Saturday, 10 March 2007 - 02:59
FAT to RS232, sector by sector via AVR
To read and write files of that caliber, you'll pretty much need full FAT and/or FAT32 file system and MMC/SD drivers on the card, which means you'll need quite a bit of program...
Saturday, 10 March 2007 - 02:56
Sleep mode and timers?
Just stick an old timex watch in there, set the countdown timer for 10 minutes and rewire the beeper output to your uC interrupt. The watch will run for years on it's battery and...
Friday, 9 March 2007 - 16:51

Pages