Hi,
as i tried to get beyond the arduino IDE i tried out Atmel Studio 7 to program in pure C code.
I did a simple Blink sketch and installed the usbASP via Zadig (libusb-win32 (v1.2.6.0)).
I tried to upload said sketch to my arduino uno via Atmel Studio and the error was:
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
I checked all connections twice with my multimeter, there was nothing wrong.
My thougt was that there was something about the Atmel Studio confing that caused this error so i went back to the Arduino IDE to see if the ASP would work. I opened the Blink example and set the Programmer to "usbASP" and got this error message :
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.
I did this with two diffenent computers an reinstalled the IDE but it was always the same error.
After that i tried to upload the blink sketch to the Arduino via the normal usb port but i got this error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xd1
So now my Arduino doesn't work at all
I tried the whole process again with another arduino, with the exact same result.
So i thougt that the ASP would be faulty and replaced it. but even with another asp it wouldn't work.
So I've chanded pc, arduino and Asp and im really helpless what to look for now .
when googling around i read about eXtreme Burner and thougt maybe if I look into the registers of the ATmega328 i would be able to find something but eXtreme Burner was also not able to communicate with the Arduino.
My Questions are now:
What happened?
Can my Arduinos be saved?
Did i overlook something about the usbASP wich i should have done (more than installing the driver)?
Both of the PCs i have used run Win10.
The full output of avrdude when i try to upload the Blink sketch via usbASP:
System wide configuration file is "C:\Program Files (x86)\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, USBasp - USB programmer for Atmel AVR controllers - fischl.de
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.
I am really desperate ATM so any help ist highly Appreciated.