Type in the full discussion title or a part of it.
Discussion Title Created date
"Location not valid"
Good morning ( In NA ), I have attached a short bit of code. When I load this in Studio 4 after compiling with GCC, the watch window reports "Location not valid" when I watch some...
Monday, 29 September 2008 - 13:46
Another optimization question
Hi, Does anyone know the particular compiler switch that reduces the typical _BV() manipulation of a port to the minimal asm instructions. The project that I am working requires...
Wednesday, 24 September 2008 - 22:57
Optimization question
Hello, Before I start, I have looked at the GCC manual. While the manual does detail what the different levels of optimization will do, it doesn't describe any unexpected...
Tuesday, 23 September 2008 - 22:40
_delay_ms() question
Hi all, After some feedback from a few members of this group I have decided to remove some of the timing loops from some code. I have run into an issue in that some of the...
Tuesday, 23 September 2008 - 22:25
Faster please!!!
Hi all, I have a small bit of code toggles some port bits. After viewing the code in the disassembler, I find it uses about 7 instructions to do what is essentially a single...
Monday, 22 September 2008 - 17:52
Looking for ATmega2560-16-AUs
Hi, I hope I haven't posted this in the wrong area. I have tried DIGI-KEY and MOUSER. They appear to be out of stock according to their websites. Any suggestions? Thanks, A PS:...
Saturday, 20 September 2008 - 15:47
Does anyone have experience with OPTREX's F-51852
I'm looking for spme help with the interface and power supply on this part. Has anyone used it before? A
Tuesday, 9 September 2008 - 18:55
External RAM access question
Hello, I have inserted both a 32K Battery backed SRAM as well as a 512K SRAM into the memory map of a atm640. I have no difficulty accessing each ram. I am using the internal...
Sunday, 7 September 2008 - 18:42
640 reset after programming vs power on reset.
Hello, I am using a dongle type programmer to program an ATm640. After the programming the programmer appears to automatically perform a reset. At this point my code runs just...
Saturday, 30 August 2008 - 17:30
Program space pointers
Hello, I need to declare a pointer to program space of type char. When I use PGM_P it creates a pointer but AVRstdio4 tells me that this is a pointer of undefined type. Any...
Monday, 25 August 2008 - 19:45
ATmega640 -> ATmega2560
Hello, A program I am developing for the ATmega640 is going to exceed the 64K boundry and probably fill 75% of the 2560's flash when complete. When I exceed the 64K, is there...
Wednesday, 20 August 2008 - 14:20
Packed and unpacked structures?
Hello, I have reviewed the GCC documentation on packed and unpacked stuctures and it still leaves me with some questions. 1. How does a packed structure differ from one that is...
Wednesday, 20 August 2008 - 13:47