Post Created date
GCC SBI() to SBI assem ?
asm("sbi 0x14,2");
Friday, 4 January 2008 - 20:38
How to move from CVAVR to GCC
I recently ported a project from CVAVR to avr-gcc. I was not able to find any guides on doing this, but I can give you a short list of things you'll need to investigate: 1) Flash...
Friday, 4 January 2008 - 20:36
Reading/Writing Fuse Bits in Application
How can I found out which fuse bits can be read? I looked at the data sheet for the ATMega64 and it does not seem to have any information related to programatically reading the...
Wednesday, 19 December 2007 - 20:23
Binaries built on different machines do not match
I did a diff on the two listing files and I still cannot explain the difference. The part of the code that is different (it's only 1 part of 1 file in a 50+ file project) is not...
Friday, 12 October 2007 - 19:01
Binaries built on different machines do not match
JohanEkdahl wrote:Some ideas: Use a checksum program (eg MD5) to check that all source files are identical on both machines. Check so that no environment variables that affect the...
Thursday, 11 October 2007 - 22:35
Binaries built on different machines do not match
The hex files are different too.
Thursday, 11 October 2007 - 19:49
RWWSB bit always set after writing flash
Thanks cliff, that fixed it. I think it's a little strange that you have to use the SPM instruction to unlock the application section, though ;) .
Wednesday, 29 August 2007 - 14:32
RWWSB bit always set after writing flash
I think you're right. The problem is not that the page isn't being written, it's that the bootloader is being blocked from reading the flash. The entire application's flash...
Tuesday, 28 August 2007 - 22:16
Problem accessing variables!
ISR/main shared variables should always be declared volatile. Otherwise, the compiler may optimize the variable into a register. When an ISR fires, the "state" of the system is...
Tuesday, 15 May 2007 - 15:47
AVRStudio crash while debugging bootloader on ATMega128
Thanks, that fixed it.
Wednesday, 7 March 2007 - 18:52
[TUT] [C] GCC and the PROGMEM Attribute
Oh I see, it's because LCD_SegTable contains ints (not int pointers), while MenuItemPointers contains char pointers.
Wednesday, 17 January 2007 - 20:20
[TUT] [C] GCC and the PROGMEM Attribute
Awesome guide! After reading it a few times, I think I have a much better understanding about accessing program data in AVR. Based on what Lars was saying, should pgm_read_word...
Tuesday, 16 January 2007 - 22:30