Post Created date
AVR-Libc 1.8.1
I have a pdf manual which goes into more a bit more depth than the AVR-Libc documentation of the time functions. I was going to post the manual as a 'Freaks Project', but that...
Friday, 15 August 2014 - 23:08
1-Wire library, is there one? if multiple, which one choose?
If I remember correctly Atmel posted a flexible 1 wire lib, but it was for the IAR compiler. Shouldn't be too hard to convert to GCC though.
Monday, 26 August 2013 - 20:52
Time Counting
If you edit it to actually 'do something'... #define F_CPU 16000000 #include #include int main(void) { int a, b, c; a=2; b=3; DDRA=0x00; int i=i&0b00000001; if(i==1) c=a+b;...
Wednesday, 21 August 2013 - 21:24
__memx - initializer element is not computable at load time
Not sure about this, but I think its due to the PGM_STR macro saying to store it in __flash, while __memx is an entirely different address space.
Wednesday, 21 August 2013 - 20:58
Time Counting
The program is not executable, because it will not compile, and is 'illogical' to quote one of my favorite television characters. If touched up a tad to compile, it will just...
Wednesday, 21 August 2013 - 20:46
SEI Stops Program Execution
Got ya Cliff. I assumed avr-as, my bad! :oops: Beyond that, it still sounds like a non-initialized vector is being called, if I read the OP correctly.
Sunday, 4 August 2013 - 20:57
SEI Stops Program Execution
The datasheet gives a word address for the vector table, but I believe the assembler ORG directive expects a byte address in all cases. If that is the issue, the code is jumping...
Sunday, 4 August 2013 - 20:50
avr-objdump and jump tables
That would probably be a feature request for the binutils team...
Thursday, 1 August 2013 - 21:19
Bootloader basic
If I follow you correctly, this can be done easily. If the BOOTRST fuse is programmed, the device will begin execution at the boot section address. Just put code in there to test...
Wednesday, 31 July 2013 - 20:47
include file problem
Anklon, AVR-GCC is built as a 'freestanding' compiler (per ISO/IEC 9899, section 4.6 ). Standing by itself, many of the standard C libraries are missing. AVR-Libc provides most of...
Sunday, 28 July 2013 - 11:59
Code to manupulate LCD display.
If you actually put some effort into it, you can get all the help here you will need. But it's not very likely you will get anyone here to do it for you. You might also want to...
Saturday, 20 July 2013 - 14:49
gps angle
If your not talking about very great distances, just join the 'Flat Earth Society'. :D Ignoring the sphericity, given positions A and B, subtract the two from each other to...
Sunday, 14 July 2013 - 16:05