avrdude alternative...

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

Hi guys, is there a stand alone flash programming util I can use other than AVRDude? I have a couple of programmers, JTAGICE2, JTAGEICE3 and avrisp2 I have tried to use avrdude but keep getting:

avrdude.exe: usbdev_open(): did not find any USB device "usb"

I have googled for a couple of hours and tried all sorts of stuff. The filter driver picks it up and looks like it has installed but I'm getting no where fast. AVR Studio install is not an option as it is for a production test and I want command line only, I can however program with AS6.

Cheers!

John.

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

AS4 has utilities such as jtagiceii.exe, stk500.exe (but nothing for ICE3 as it has no ICE3 support).

AS6 has combined all these into atprogram.exe which "knows" all the Atmel programmers and debuggers in a single program.

Of course if you do have AS6 then I wonder why you'd bother with the command line tools when the GUI interface to them in the IDE is far more user friendly.

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

I have a board test utility that the intention is to flash a board with test software that runs and reports back failures with the hardware. It all works and the last step is to get the 'download test software' button to program the processor automatically. I really don't want to load studio 6 (needed for xmega128a1u) on to a production test machine just to program the chip and ideally I want a one stop solution. Obviously it might just have to be but I'll persevere with avrdude if there is no other suggestion. It must work somehow.

Thanks.

John.

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

For a "potted" solution there's little doubt that avrdude is the best - just a handful of files to distribute.

While the tools in AS4 are also fairly "stand alone" the atprogram.exe in AS6 relies on a huge directory full of "atbackend" which makes it less than portable and I'm not sure if anyone yet has succeeded in working out exactly what you have to take out of the AS6 installation to make a "package".

BTW do you know about the libusb filter driver? If you have an installation of any "Studio" you likely have Jungo/WinDriver supporting the Atmel tools. So the libusb that avrdude "talks" to has to be able to interact with that existing Jungo driver it cannot hit the hardware direct which is what the default libusb will attempt to do.

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

Hi, yeah, I tried to install the filter, well it looked like it installed actually, it was listed when I uninstalled it (just to see) but still no luck with avrdude. I'm sure it is just a config thing but it has taken a couple of hours to get this far (which is nowhere) and I'm starting to lose interest!! I will try another machine when I get chance. Thought this was going to be the easy bit which is why I left it until last!

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

usbdeview.exe can be useful for diagnosing USB device related problems. It's a free download if you google the name.

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

Ah, I generated an inf using libusb and when installed avrdude works fine, AS6 won't but it'll be fine on the target machine. I'll leave it there!

Thanks for your help.

John.

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

There are several threads here showing how to create a rather portable command line only atbackend-based package. I tried it myself too. Seemed to work. See my thread: https://www.avrfreaks.net/index.p...

Eugene

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

Nice, thanks, I did start to do this but then found I can get avrdude working and it is a fraction of the size.
It would be good though if there was a stand alone official release of a command line programmer for exactly this reason (production programming).