chirag2239
Member level 3

Hello,
I am working with ATmega2560 and I need to program it by ISP programmer using AVRDUDE.
I am applying an external clock of 2 to 4 MHz to the XTAL 1 pin of ATmega2560 which is generated by 555 astable multivibrator.
Is this correct set up? Previously I have worked with ATmega16 with the same set up and it was working.
Now I am working with ATmega2560 and got the following error :
avrdude.EXE: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude.EXE: Device signature = 0x000102
avrdude.EXE: Expected signature for ATMEGA2560 is 1E 98 01
Double check chip, or use -F to override this check.
avrdude.EXE done. Thank you.
It seems that I have set up the wrong fuse. I have tried to set up the fuse for external clock calculated from the engbedded.com website. But it is not working still.
I have connected all the pins of VCC, AVCC, AREF, GND, XTAL2, MISO, MOSI, SCK, and RST. From hardware point of view, everything is perfect but the problem is at fuse setting.
Can any one guide me what fuse I have to set up? What would be the start up time?
I read the datasheet but I could not understand what fuse would be there?
Please help me to solve this problem.
Thanks.
Chirag
I am working with ATmega2560 and I need to program it by ISP programmer using AVRDUDE.
I am applying an external clock of 2 to 4 MHz to the XTAL 1 pin of ATmega2560 which is generated by 555 astable multivibrator.
Is this correct set up? Previously I have worked with ATmega16 with the same set up and it was working.
Now I am working with ATmega2560 and got the following error :
avrdude.EXE: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude.EXE: Device signature = 0x000102
avrdude.EXE: Expected signature for ATMEGA2560 is 1E 98 01
Double check chip, or use -F to override this check.
avrdude.EXE done. Thank you.
It seems that I have set up the wrong fuse. I have tried to set up the fuse for external clock calculated from the engbedded.com website. But it is not working still.
I have connected all the pins of VCC, AVCC, AREF, GND, XTAL2, MISO, MOSI, SCK, and RST. From hardware point of view, everything is perfect but the problem is at fuse setting.
Can any one guide me what fuse I have to set up? What would be the start up time?
I read the datasheet but I could not understand what fuse would be there?
Please help me to solve this problem.
Thanks.
Chirag