Has anyone been able to get one these to work?

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

I bought this several years ago off ebay and have never been able to get it to work. I am using a linux machine with avrdude and cannot come up with an ID code that works with it. I know my usb port is ok because I have another programmer that does work. Any ideas on how to make it work?

 

Thanks, Roger

 

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

Mopar_512 wrote:
off ebay

so, presumably, cheap ?

 

Maybe just consign it to "experience" ... ?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm going to assume that this is the standard USBasp (USB-to-AVR-ISP) interface that sells for a few dollars on eBay.  

 

Download the most recent (2012?) version of USBasp from its host site:https://www.fischl.de/usbasp/.

Also download the all-purpose AVR interface tool: avrdude.exe for Linux.  On the avrdude command line, include the parameter for your TTY port (PC COM port in Windows) and the param for the USBasp interface tool, along with the target AVR device and the hex file.  This will send the programming data and fuse settings from the Linux PC to the AVR's flash.

 

Your AVR target should have a ten-pin header for ISP access.  If it has a six pin header, then you need to beg/borrow/make a 10-to-6pin ISP convertor.  If there is neither, then connect the pins of the 10-pin header to Gnd:{Vcc}:MOSI:MISO:SCK:reset on the AVR target board.   There may be a select switch on the ASP unit that will allow you to select between +5V and +3.3V.  This would be the Vcc voltage supplied to the AVR target CPU (and application's PCB) by the USBasp unit.  If there is no voltage select, then assume that the USBasp is +5V.  If your AVR CPU is operating at 3.3V and this voltage is not being supplied by the USBasp unit, then put 220 ohm resistors in the MOSI, SCK, and reset lines and leave the Vcc from the USBasp disconnected.

 

It is the nature of programmers to leave weird, mysterious, and useless upgrade and warning messages in their released code for devices like this.  So if you see any, then they can be safely ignored.

Last Edited: Mon. Oct 7, 2019 - 08:13 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

UsbAsp's and UsbIsp's are used with avrdude all the time so I don't really understand why you'd have a problem? You didn't actually say what avrdude invocation you were attempting or what the result was. Remember you can add up to four lots of -v to an avrdude command to make it more and more verbose about what it's attempting and what's going on.

 

The usual issue with this kind of programmer in Linux is simply the need to setup udev rules so it has the correct sudo rights.

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

No,  it has an HID device not a USBASP.

 

You have to use the Chinese progisp1.72

 

As far as I know progisp1.72 is the only software that can control the HID device.   avrdude does not understand HID.

 

Progisp1.72 can understand regular USBASP too.   So it does not matter what arrives at your front door from Ebay.   Progisp1.72 can use both types.

 

Of course the underlying dongle hardware is exactly the same.   So if you prefer a regular USBASP that you can use with avrdude,  you can just replace the firmware.

 

David.

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

Not sure about that. I seem to remember that usbisp were just tiny2313 based while usbasp are mega8/mega88 so I don't think you can simply reprogram one as the other.

 

Usbisp never really took off as it was one cost cutting step too far (it relies on even more if the ISP intelligence living in the PC driving software)

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

Why isn't compatible with studio 7 (or vice-versa)...seem like by now they'd get them together.   Or maybe they are & I've never seen it. 

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

Last Edited: Mon. Oct 7, 2019 - 11:30 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avrcandies wrote:
Why isn't compatible with studio 7 (or vice-versa)...seem like by now they'd get them together.   Or maybe they are & I've never seen it. 
Why would Atmel put any effort into selling other peoples programmers/debuggers. It's part of how they make their money!

 

There is always "external command" in AS7 anyway - so you can have it launch any external process and tie that to a menu entry or a toolbar button - but they aren't going to help any more than that (and that stuff is just inherited from VS2015 anyway).

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

 

Why would Atmel put any effort into selling other peoples programmers/debuggers. It's part of how they make their money

 That's a good point, though I'd expect 99% is from selling gabillions of chips.  For example, they tied into Arduino...maybe they should also support USBasp & sell more even chips.  Of course, they will want us to move away from AS7 anyhow & probably purchase their compilers while we're at it.

When in the dark remember-the future looks brighter than ever.   I look forward to being able to predict the future!

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

clawson wrote:

Not sure about that. I seem to remember that usbisp were just tiny2313 based while usbasp are mega8/mega88 so I don't think you can simply reprogram one as the other.

 

Usbisp never really took off as it was one cost cutting step too far (it relies on even more if the ISP intelligence living in the PC driving software)

 

You are thinking of UsbTiny whose firmware "just fits" in a Tiny2313.    Works fine with avrdude.   Costs more than USBASP dongles.

 

This thread is about the item in the #1 photo.

This has USBASP hardware but HID firmware which only works with Chinese Progisp1.72 software.

Progisp1.72 does not have a command line.   So is no good for avrdude,  AS7.0 or batch files.

Progisp1.72 works fine with GUI.  Hey-ho,  some people like GUIs.

 

You can reprogram the firmware with regular USBASP firmware that works with avrdude  (if you have another programmer e.g. Uno)

 

David.

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

I had one of these supplied with a BLTouch upgrade kit for my 3d printer, it would only work with the Windows software provided to install the boot loader on the printers control board.

they can be re-flashed with USBASP firmware sucsesfully

remove the metal shield & solder a link across the back (labbled UP) & connect using the 10 pin ribbon from your working programmer.

 

it is now my preferred programmer as the case is nicer  & more robust than the plastic USBASP i purchased from Amazon

 

 

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

Ah-ha.   So there is some English software for it.   Can you remember the name of the Windows program?

 

Yes.   Nice case.  Shame about the firmware.

 

David.

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

Ah my bad. USBIsp/USBTiny confusion. Sorry about that.

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

Sorry I don't use windows so never even bothered looking at the "Correct" software, i simply used my existing USBASP to flash the boot loader into my Ender 3 & left the new programmer in a draw until i got curious.

 

 

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

I suspect that the HID "device" has a very simple syntax.    But it is a waste of time if there is no documentation.

 

I was not expecting you to dirty your hands with Windows.

I just asked if you could remember the name.

 

David.