Skip to content

olliiiver/USBasp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert zhifengsoft (03eb:c8b4) USB ISP ASP AVR programmer to an USBasb programmer


You brought a cheap USB AVR that only can be used with ProgISP, which is not available for Linux or Mac? Here is a tutorial to compile USBasb to use the stick via avrdude, platformIO or Arduino IDE.


  1. Have a look at this blog post https://www.sciencetronics.com/greenphotons/?p=938. File in this repo has already been changed.

  2. Add a wire to the self-programming jumper pins.

  3. Connect the programmer to another programmer, for example an Arduino Uno that has the ISP sketch (File/Examples/11.ArduinoISP).

  4. Install dependencies apt-get install avrdude gcc-avr avr-libc

  5. Go into firmware sub directory and check the settings in Makefile. For example, some USB ISP use atmega8, others atmega88.

  6. Compile: make main.hex

  7. Set fuse: avrdude -c avrisp -p atmega88 -b 19200 -P /dev/ttyACM1 -u -U hfuse:w:0xdd:m -U lfuse:w:0xff:m or make fuses

  8. Upload firmware: avrdude -c avrisp -p atmega88 -P /dev/ttyACM1 -b 19200 -U flash:w:main.hex or make flash

  9. Remove jumper wire and enjoy. The USB ISP should now be recognised as USBasb device.

About

Convert zhifengsoft (03eb:c8b4) USB ISP ASP AVR programmer to an USBasb programmer (USBasp from http://www.fischl.de/usbasp/).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Assembly 40.8%
  • C 40.3%
  • PHP 10.0%
  • HTML 6.2%
  • Makefile 1.8%
  • C++ 0.6%
  • Other 0.3%