Using a USBASP v2.0 as a cheap ATmega8 Arduino platform

finally got round playing with my AVRASP v2.0 boards. The ones Sleepwalker3 mentioned. Thanks mate!

I bought three USBASP v2.0 on ebay for under £1.50 each. They each came with a short cable (5×2 sockets at each end). However, they do not come with the JP2 header soldered on. Solder it or you won’t be able to re-flash the on-board ATmega8 chip. JP3 on the other hand has been deprecated. It may still have some use in your own projects. You decide!

Using a USBASP v2.0 as a cheap ATmega8 Arduino platform

Then download some software (this is for Windows):

To use the USBASP programmer with the Arduino IDE, you will need to download the driver, latest firmware and WinAVR-20100110-install.

Small setback, my boards came pre-installed with an older firmware, so I needed to upload the latest. This is to avoid complaints from the Arduino IDE. avrdude: warning: cannot set sck period. please check for usbasp firmware update.

So let’s do this, shall we? Link two boards using one of the provided cables. Close JP2 on the board you intend to program. The other board, and ONLY the other board, goes into the USB port. This is the board that will be used as the programmer.

Type the following command in the appropriate folder.

 

For more detail: Using a USBASP v2.0 as a cheap ATmega8 Arduino platform


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top