NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » 2 Dimensional Arrays
July 23, 2011 by lavared |
Hi, I'm getting an error when i'm trying to compile my program containing 2 dimensional arrays (defined uint8_t type). My array definition and initialization function is given below:
My program will keep updating this array.The error message while compiling is given below: Kindly specify if i'm doing anything wrong with the arrays definition. I have checked and ruled out other error sources in my code and strongly suspect something acting fishy in my array data. thanks |
---|---|
July 24, 2011 by Noter |
It looks like you have exceeded the size of available memory and are attempting to write into the bootloader section. I would have to see your fuse settings to be sure but 0x3800 is the starting address for a 2k bootloader. If you can, reduce the size of your program. Or get a bigger chip like the 328p that has twice the memory. |
Please log in to post a reply.
Did you know that a flyback diode is important when driving a motor or any inductive load? Learn more...
|