Error while burning bootloader on mega2560

Hi i tested these methods with functional arduino it works but I test with a 2560 nine it is impossible for me to have other things that the erector below (the seller claims that the products are original)

and

https://letmeknow.fr/blog/2015/11/04/resolution-du-probleme-de-televersement-rencontre-avec-les-clones-arduino-uno/

I have already spent more than 10 hours on the test I always the same erector

Arduino: 1.6.12 (Linux), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 ( - Pastebin.com

"Arduino: 1.6.12 (Linux), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude -C/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf -v -patmega2560 -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m

avrdude: Version 6.3, compiled on Dec 16 2016 at 12:32:01
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf"
User configuration file is "/home/user/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : usb
Using Programmer : usbasp
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/

avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: program enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude done. Thank you.

Error while burning bootloader."

if you have an idea thank you for your help :slight_smile:

Are you trying upload to brand new chip? If yes, then USBasp may have problem with SCK. Usually the USBasps from ebay have not mounted jumper JP3 for slow SCK. Solder the pins and plug the jumper to short these pins. It should work then. Another way is to upgrade the FW on USBasp which can do it automatically but it is not from Fischl. I cannot find the link at this moment, maybe someone else or later.

This: USBasp FW.

I tested with JP3 what gives me that):

"Arduino: 1.6.12 (Linux), Board: “Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)”

/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/bin/avrdude -C/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf -v -patmega2560 -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xD8:m -Ulfuse:w:0xFF:m

avrdude: Version 6.3, compiled on Dec 16 2016 at 12:32:01
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is “/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino8/etc/avrdude.conf”
User configuration file is “/home/user/.avrduderc”
User configuration file does not exist or is not a regular file, skipping

Using Port : usb
Using Programmer : usbasp
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/

avrdude: auto set sck period (because given equals null)
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: program enable: target doesn’t answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude done. Thank you.

Error while burning bootloader."

Budvar10:
This: USBasp FW.

I do not understand what I have to do with this file I read the "Readme.txt" but it did not help me ):

The JP3 must help if it is the problem I am writing about. Just another thing, there can be differences in JP marking depending on producer. You can check it according the schematics if JP3 is correct.
Here is the most frequent type in my opinion:

Sya:
I do not understand what I have to do with this file I read the "Readme.txt" but it did not help me ):

This is a FW for USBasp which solve the problem described above by SW. You have to upload it to the USBasp with another ISP programmer. :frowning:
Forget it for now. If the jumper does not solve it, the problem will be somewhere else.

the USB ASP that I use is the same as the one on the photo, but the tests did not give more result):

Check your HW setup again. Wait a moment, here on the picture there is 10uF cap between RESET and GND. Do I see correctly? It disables to reset the MCU.

Budvar10:
Check your HW setup again. Wait a moment, here on the picture there is 10uF cap between RESET and GND. Do I see correctly? It disables to reset the MCU.

I directly replace the chip on a mega arduino card, to be sure that everything is ok