USBASP Programmer

Hi All
Sorry yet another USBASP programmer I am tryin to upoad a sketch with my usbasp programmer
I have copied the error code below

Arduino: 1.8.16 (Windows 10), Board: "Arduino Duemilanove or Diecimila, ATmega328P"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\John\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\John\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\John\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:diecimila:cpu=atmega328 -ide-version=10816 -build-path C:\Users\John\AppData\Local\Temp\arduino_build_366868 -warnings=none -build-cache C:\Users\John\AppData\Local\Temp\arduino_cache_580506 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\John\AppData\Local\Temp\untitled1447625584.tmp\sketch_nov08a\sketch_nov08a.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\John\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\John\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\John\OneDrive\Documents\Arduino\libraries -fqbn=arduino:avr:diecimila:cpu=atmega328 -ide-version=10816 -build-path C:\Users\John\AppData\Local\Temp\arduino_build_366868 -warnings=none -build-cache C:\Users\John\AppData\Local\Temp\arduino_cache_580506 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\John\AppData\Local\Temp\untitled1447625584.tmp\sketch_nov08a\sketch_nov08a.ino

Using board 'diecimila' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr

Detecting libraries used...

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868\\sketch\\sketch_nov08a.ino.cpp" -o nul

Generating function prototypes...

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868\\sketch\\sketch_nov08a.ino.cpp" -o "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868\\preproc\\ctags_target_for_gcc_minus_e.cpp"

"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10816 -DARDUINO_AVR_DUEMILANOVE -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868\\sketch\\sketch_nov08a.ino.cpp" -o "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868\\sketch\\sketch_nov08a.ino.cpp.o"

Compiling libraries...

Compiling core...

Using precompiled core: C:\Users\John\AppData\Local\Temp\arduino_cache_580506\core\core_arduino_avr_diecimila_cpu_atmega328_0c812875ac70eb4a9b385d8fb077f54c.a

Linking everything together...

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868/sketch_nov08a.ino.elf" "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868\\sketch\\sketch_nov08a.ino.cpp.o" "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868/..\\arduino_cache_580506\\core\\core_arduino_avr_diecimila_cpu_atmega328_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868" -lm

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868/sketch_nov08a.ino.elf" "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868/sketch_nov08a.ino.eep"

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868/sketch_nov08a.ino.elf" "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868/sketch_nov08a.ino.hex"

"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-size" -A "C:\\Users\\John\\AppData\\Local\\Temp\\arduino_build_366868/sketch_nov08a.ino.elf"

Sketch uses 444 bytes (1%) of program storage space. Maximum is 30720 bytes.

Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.

avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'

avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'




if any member could I would appreciate advice pleae
the driver is from zadig 2.7 libusbK (v3.1.0.0)
i have been able to uploa the sketch using my arduino uno as an Arduino as ISP
thanks
oldguyjn

`

Looks like your USBasp is not showing up as a USB device. Check your Windows 10 Device manager to make sure the device shows up and has the right Vendor ID and Product ID.

Thanks John
It does show up in device manager, I was going to try and update the firmware but I believe I require fuse settings when uploading the hex file and I don’t know what the fuses should be set to .
I think I should maybe stick to my arduino as an ISP, I am not the greatest at trying to update firmware.
Kind Regards
Oldguyjn