How to use USBASP.

Go To Last Post
12 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am going to buy an USBASP to make my own arduino UNO.

I want to know whats the difference between usbisp and usbasp

One question is still hitting me is,since usbasp has the 8 mhz crystal and the atmega328 can be powered by usbasp +VCC so do i  need to add crystal and make connection for atmga328 on breadboard or simply connect the MOSI, MISO, SCK, RST, VCC, and GND pins of USBASP to atmega 328 ????

Last Edited: Sat. Feb 14, 2015 - 07:17 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A USBISP comes from Zhifeng Software and uses a HID USB driver.    It does not work with avrdude.exe.   It only works with Zhifengsoft.com "progisp1.72".

It probably looks like this:

Image result for USBISP

 

A USBASP is made by many different manufacturers and does work with avrdude.exe.    You download the Windows driver from http://www.fischl.de/usbasp

It probably looks like this:

Image result for USBASP

I suspect that both have identical hardware inside.    However,   I don't know how to open the sexy case.    Most Chinese dongles have perfectly good firmware.    Replacement USBASP firmware is in the public domain.     The USBISP firmware is proprietary to Zhifengsoft and as far as I know,   completely unobtainable.

 

In common with most GUI programs,    they don't work properly all the time.    But hey-ho,    is not that the way GUI is supposed to be.

 

progisp1.72.exe will work with most common AVR chips for most common operations.     It can control USBISP and USBASP

extremeburner.exe will work with some common AVR chips for some common operations.

 

"avrdude.exe -c usbasp" will work reliably with every OS and every Tiny and Mega AVR.    (with the fischl.de firmware it even does TPI)

 

David.

Last Edited: Sat. Feb 14, 2015 - 09:16 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

actually my question was a bit different 

please take a look at it again

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

itscoldice wrote:

actually my question was a bit different 

please take a look at it again

Really?  David answered one of your questions perfectly.

itscoldice wrote:
I want to know whats the difference between usbisp and usbasp

 

itscoldice wrote:
One question is still hitting me is,since usbasp has the 8 mhz crystal and the atmega328 can be powered by usbasp +VCC so do i  need to add crystal and make connection for atmga328 on breadboard or simply connect the MOSI, MISO, SCK, RST, VCC, and GND pins of USBASP to atmega 328 ????

You do not need a crystal on your breadboard because the ATmega328p will initially be running with the internal oscillator.

 

I just answered your second question.

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." - Marcus Aurelius               

Last Edited: Sat. Feb 14, 2015 - 10:46 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Do you know the rest of the basic circuitry that is required for an ATmega328P?  If not then maybe you should purchase an Arduino UNO instead so that you can get more familiar with it and its circuitry first and then you can progress to building your own circuit.

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." - Marcus Aurelius               

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

david answered my question but it also has the second part which about crystal

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

itscoldice wrote:

david answered my question but it also has the second part which about crystal

Yes, and I answered that question in my post above.  Are you going to answer my question?

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." - Marcus Aurelius               

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

When you assemble a UNO,   you place all the components on the pcb. 

 

Then you connect your USBASP to the 3x2 ISP header.    Do not connect the USB.

 

Then run the Arduino IDE and select "Programmer" and "Burn Bootloader"

 

Mind you,   this seems a lot of faffing about.    e.g. $3 for USBASP + $20 for UNO components

Especially when you could buy a UNO clone for about $12 and use this as a programmer.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

the parts are costing me around $10 and i also want to know how every arduino is made so that i could rectify errors occurred in my custom arduino if occured

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well,  if you can buy the parts and make the pcb for $10,   good luck to you.

 

The full schematic,  pcb layout, solder mask, BOM is available on the Arduino website.

As far as I know,   anyone can reproduce them.    Just do not copy the official registered Logos.  i.e. make it obvious that you are not the official Italian manufacturer.

 

Yes,   of course you can customise anything that you like.     Just make it clear that you have a special "Indian" board.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks david for your answer.

I really appreciate it. smiley

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I still think that it would be easier to use a ready-made Chinese clone Uno.

 

Or if you want something smaller,  a clone Nano or Pro-Mini.

 

Good Luck.

 

David.