Post Created date
same function for both pgm_space and ram
Quote:Careful kevin123, all of this is related to the addresses used in the linker scripts. If you want to use only 16 bits you need to change the linker scripts for your CPU...
Sunday, 14 September 2008 - 05:26
BMP to AVR
SRecord can convert binary files to a C array. I believe a copy of SRecord is also included with WinAVR. Depending on the exact format you need the bitmap data and the file...
Saturday, 13 September 2008 - 04:16
same function for both pgm_space and ram
That is cool! I knew avr-gcc used 32 bit addresses to map all the memory spaces, but I didn't realize you could utilize these 32 bit addresses at compile time like this. On a...
Friday, 12 September 2008 - 03:05
Question on Delays & Interrupts
Quote:By the way since I am on the topic...what happens if the processing in the Interrupt Service Routine takes more time than the actual interrupt timer? Meaning, an interrupt...
Friday, 12 September 2008 - 02:49
problem with migration
Is the ATmega16A (or ATmega32A) even available yet? Digikey has them listed as non stock parts. I also checked a couple other online suppliers which also have no stock.
Sunday, 7 September 2008 - 18:50
problem with migration
One potential gotcha is the ATmega16 has a JTAG interface which is enabled by default. If you try to reuse any of the I/O pins used by JTAG, you must disable the JTAG interface...
Saturday, 6 September 2008 - 23:48
RS232 to TTL converter?
I don't remember what chip set was in the USB to RS232 adapter, but I have successfully used one at 921.6 kbps before. For the RS232 to TTL conversion I used a high speed...
Saturday, 6 September 2008 - 23:13
Problem with delay function
The delay functions in only work correctly when the delay value is a constant.
Saturday, 6 September 2008 - 03:13
Unstable code... not sure why?
Quote:It could be as low as one or 2 simultaneous interrupts to push things over the edge.Of course, you don't even need one interrupt to overflow the stack. You can overflow the...
Friday, 5 September 2008 - 03:23
Unstable code... not sure why?
glitch wrote:Actually it can be a problem, as another interrupt can then interrupt your handler as it is trying to exit, eventually causing a stack overflow if things get deep...
Friday, 5 September 2008 - 02:01
Unstable code... not sure why?
patchell wrote:In your first interrupt routine.... You have the line: eventOutIndex++; which is an index into an array...but, after it would get up to 256, I don't see any...
Friday, 5 September 2008 - 01:15
USB to RS232 adapters and AVR Studio
I've been using this 4 port USB to RS232 adapter recently. It is a bit pricey if you don't need 4 ports. But it sure is nice not to have to swap cables around every few moments...
Wednesday, 3 September 2008 - 02:20

Pages