Hi,
I find a bug in avr-gcc library. When the following code is compiled, the avr-objcopy.exe has problem and exit. The compilation information has the following information:
Converting to AVR Extended COFF: main.cof avr-objcopy --debugging --change-section-address .data-0x800000
--change-section-address .bss-0x800000 --change-section-address .noinit-0x800000 --change-section-address .eeprom-0x810000 -O coff-ext-avr main.elf main.cof make.exe: *** [extcoff] Error -1073741819
And there is no problem when I changed atol() to atoi().
Code:
: : a[len]=0; getProductInfo(atol(a)); //getProductInfo(atoi(a)); : :