Hi,
So I have one of those cheap USBASP programmers (specifically USBASP V2.0 LC Technology here ) and I'm trying to use it to upload sketches to an ATTiny85.
The ATTiny85 is in an SMD package so I have to program it already on the PCB. I've got the USBASP ribbon cable plugged directly into my PCB (6 pin), which connects to the relevant pins of the ATTiny85. I've programmed regular DIP8 ATTiny85s before so I don't think the issue lays with that.
What's happening is that when I plug my USBASP in, nothing shows up under Ports. Trying to select other things like "Burn Bootloader" or "Upload using programmer" also have no affect, regardless of whether programmer is set to USBasp, AVRISP mk2, or Arduino as ISP.
The error message that comes up when trying to upload is this:
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg WunschSystem wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/ivantregear/.avrduderc"
User configuration file does not exist or is not a regular file, skippingUsing Port : usb
Using Programmer : usbasp
AVR Part : ATtiny25
Chip Erase delay : 4500 us
PAGEL : P00
BS2 : P00
RESET disposition : possible i/o
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 6 4 0 no 128 4 0 4000 4500 0xff 0xff
flash 65 6 32 0 yes 2048 32 64 4500 4500 0xff 0xff
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 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
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00Programmer Type : usbasp
Description : USBasp, USBasp - USB programmer for Atmel AVR controllers - fischl.deavrdude: auto set sck period (because given equals null)
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.
the selected serial port
does not exist or your board is not connected
I'd really appreciate a little help with this, as I've been looking around on the internet for the last hour and haven't found a solution.
P.S: as a little heads up, I'm pretty experienced with electronics and the sort, but programming isn't my forte so if the solutions requires something beyond the Arduino IDE, please be patient as it's likely completely new to me!
Thank you very much,
Ivan