In the Adaloader file Optiloader.h, I can't seem to get the array to become larger than 32k.
I have tried various other data types with no luck. I have tried arduino 022,023 & 1.05. I've read many forum post. I have tried manually editing the hex so that it is intel 16byte. My hex file is large, it barely fits into the atmega644 I am trying to flash. I have read the correct signature from a avrisp mkII. I intend to use a arduino mega 2560 to burn ALOT, thousands, of atmega 644's. I am building a jig that can program many chips at once. The adaloader will compile, upload and properly burn a blink.pde to a atmega328. I think my last remaining problem is this size limit. In Westfields fork of the Arduino, several years old now, he points to this fault and claims a fix. It seems that Adaloader was created after his fix. Any suggestions are very appreciated.
Thanks,
Aleksei (Grissini) Sebastiani
Code: Select all
typedef struct image {
char image_name[30]; /* Ie "optiboot_diecimila.hex" */
char image_chipname[12]; /* ie "atmega168" */
uint16_t image_chipsig; /* Low two bytes of signature */
byte image_progfuses[5]; /* fuses to set during programming */
byte image_normfuses[5]; /* fuses to set after programming */
byte fusemask[4];
uint16_t chipsize;
byte image_pagesize; /* page size for flash programming */
byte image_hexcode[33000]; /*<--too large for the array- intel hex format image (text) */
} image_t;