Hi guys!
I'm using the following command:
atprogram -t atmelice -i ISP -cl 125000 -d ATmega2560 program -c -fl -ee -fs -lb -f Project.elf --verify
but I'm getting:
Firmware check OK
[ERROR] Failed to start programming session before chip erase:Unexpected signature 0x00000102 (expected 0x001e9801). (TCF Error code: 131103)
but when running atprogram for info I get:
atprogram -t atmelice -i ISP -cl 125000 -d atmega2560 info
Firmware check OK
Tool atmelice has firmware version: 01.27
Target voltage: 5.06 VDevice information:
Name: atmega2560
JtagId: N/A
Revision: A
CPU arch.: AVR8
Signature: 0x1e9801Memory Information:
Address Space StartAddress Size
prog 0x0 0x40000
FLASH 0x0 0x40000
BOOT_SECTION_1 0x3fc00 0x400
BOOT_SECTION_2 0x3f800 0x800
BOOT_SECTION_3 0x3f000 0x1000
BOOT_SECTION_4 0x3e000 0x2000signatures 0x0 0x3
fuses 0x0 0x3
lockbits 0x0 0x1
data 0x0 0x10000
REGISTERS 0x0 0x20
MAPPED_IO 0x20 0x1e0
IRAM 0x200 0x2000
XRAM 0x2200 0xde00eeprom 0x0 0x1000
io 0x0 0x40
osccal 0x0 0x1
OscCal: 0x98
Fuses:
EXTENDED (0b11111100):
BODLEVEL 0x4HIGH (0b11011111):
OCDEN 0x1
JTAGEN 0x1
SPIEN 0x0
WDTON 0x1
EESAVE 0x1
BOOTSZ 0x3
BOOTRST 0x1LOW (0b11111111):
CKDIV8 0x1
CKOUT 0x1
SUT_CKSEL 0x3fLOCKBIT (0b11111111 <-> 0xff):
BLB1 0x3
BLB0 0x3
LB 0x3
so the signature is read OK.
Am I missing someting in the command line?
regards
Tomasz