Avr usbasp

Help! I've spent the last couple of hours banging my head against the wall. I was trying to update my firmware with my new usbasp programmer, and have only managed to erase my chip.

I bought the programmer off ebay (it says USBASP V2.0 - LC Technology), and wired an adapter cable with the following mappings (from Sanguino to programmer):

1 - 9 (MISO)
2 - 2 (VCC)
3 - 7 (SCK)
4 - 1 (MOSI)
5 - 5 (CS)
6 - 10 (GND)

When using, it, the 1284p is detected and has the correct signature, and I can successfully read and change the fuses, so the connection seems okay. However, when trying to upload a bootloader or marlin build, it always fails to verify as follows. Any ideas? The programmer itself only has a jumper for 3.3/5V (currently set to 5V).

>avrdude -C .etcavrdude.conf -c usbasp -p m1284p -U flash:w:SolidoodleMarlin.cpp.hex -v -D

How to Update the Firmware on a Cheap USBasp-Clone: This is a small guide to flashing new firmware onto a USBasp-clone like mine. This guide is specifically written for the USBasp-clone seen in the pictures, however it should still work with others. The wiring is shown on step 5, there is a TL;DR o. Cheap USBASP programmer which you china buy on ebay, ali and others. Official project WebPage: JP1 – Supply Target – Choose between 5V and 3.3V. JP2 – Self Program – jumper on for self.

How To Check Usbasp Firmware Version Free

avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

System wide configuration file is '.etcavrdude.conf'

Using Port : lpt1
Using Programmer : usbasp
AVR Part : ATMEGA1284P
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 Max
W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
eeprom 65 10 128 0 no 4096 8 0 9000 90
00 0xff 0xff
flash 65 10 256 0 yes 131072 256 512 4500 45
00 0xff 0xff
lock 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
signature 0 0 0 0 no 3 0 0 0
0 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0
0 0x00 0x00

Programmer Type : usbasp
Description : USBasp, http://www.fischl.de/usbasp/ Baka to test season 2.

avrdude: AVR device initialized and ready to accept instructions

How To Check Usbasp Firmware Version Windows 7

Reading ################################################## 100% 0.02s

avrdude: Device signature = 0x1e9705
avrdude: safemode: lfuse reads as DE
avrdude: safemode: hfuse reads as DB
avrdude: safemode: efuse reads as F8
avrdude: reading input file 'SolidoodleMarlin.cpp.hex'
avrdude: input file SolidoodleMarlin.cpp.hex auto detected as Intel Hex
avrdude: writing flash (110734 bytes):

Writing ################################################## 100% 59.31s


avrdude: 110734 bytes of flash written
avrdude: verifying flash memory against SolidoodleMarlin.cpp.hex:
avrdude: load data flash data from input file SolidoodleMarlin.cpp.hex:
avrdude: input file SolidoodleMarlin.cpp.hex auto detected as Intel Hex
avrdude: input file SolidoodleMarlin.cpp.hex contains 110734 bytes
avrdude: reading on-chip flash data:

Avr Usbasp

Reading ################################################## 100% 57.39s


Usbasp Driver

avrdude: verifying ..
avrdude: verification error, first mismatch at byte 0x0000
0x0c != 0x00
avrdude: verification error; content mismatch

How To Check Usbasp Firmware Version

avrdude: safemode: lfuse reads as DE
avrdude: safemode: hfuse reads as DB
avrdude: safemode: efuse reads as F8
avrdude: safemode: Fuses OK

How To Check Usbasp Firmware Version Windows 10

avrdude done. Thank you.