328p-pu bootload

hi
i got like 4 or 5 chips that i cant bootload i always get same message

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Arduino\hardware\tools\avr/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : usbasp
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         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    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash            65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse              0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse             0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 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: programm 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.

im tired of reading about it but just cant figuer out any sugestions?

It could be a problem related to SCK on USBasp. If you set slow SCK it could help for raw chip. Depending on your USBasp programmer if it has a jumper or contacts for soldering the jumper which sets slow SCK. Look at the original Fischl's web for it: USBasp - USB programmer for Atmel AVR controllers - fischl.de .

i got the UsBasp v2 e also tryed with arduino uno has a isp and wasnt able to do it

Arduino ISP should work also for this task. Do you have correctly connected chip? Check it or provide some photo for analyze.

Another thing to think about:
Can you bootload the UNO with the USBASP successfully?
If so, you can remove the 328 from the UNO, insert the 328 you want to bootload, and burn the bootloader. Repeat.

Did you remember the crystal, loading caps, and decoupling caps?

The sck error is spurious - I've had no problems bootloading virgin 328s with the Chinese asp clones that give that message.

yes mate i have put all the correct components but i finaly solved the problem i did fuse doctor on breadboard and turn out that the fuses wasnt the correct ones so with fusedoctor i was able to recover the dead atmegas back to life :slight_smile:

thanks all for trying to help out