Simple AVRISPmkII downloader

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

I am looking for a simple windows based application for a AVRISPmkII and Windows XP that has a drop down menu to select the file and has a download button. I need to set up a users laptop for field upgrades and do not require the functionality or potential confusion that might come with using AVR Studio. I did a quick search so I possibly missed what I am looking for. Any help would be appreciated.

Thanks, SG

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

IIRC there is a console (command line) application delivered with AVR Studio that can do the download. Now all you need to do is write a small .NET GUI application with the menu, an Open file standard dialogue that shells out to the console app, catches it's output, parses it and present relevant information on the result of the download to the user.

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

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

I think someone posted AVRFLASH a while ago which would be pretty much what you need.

edit found the thread https://www.avrfreaks.net/index.p...

John Samperi

Ampertronics Pty. Ltd.

www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

Last Edited: Tue. Feb 15, 2011 - 01:38 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Or perhaps a simple batch file that takes the .hex name as a command line argument. About a minutes work! Of course, this wouldn't have a drop down menu!
Or a single batch file for each .hex to be installed? Or are you really hung up on it being a GUI based approach?

--greg
Still learning, don't shout at me, educate me.
Starting the fire is easy; the hardest part is learning how to keep the flame!

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

Couldn't you just add a bootloader? If so, that would also obviate the need even for the AVRISPmkII.

If you insist on ISP & GUI then perhaps Sinaprog might be another option. Google it, it's just a simple GUI for AVRdude but quite nice to use IMHO.

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

I looked at the command line documentation and found it absolutely lacking the detail that would make me comfortable. As far as programming a small .net app to shell, parse and capture. Sorry, not interested in the learning curve or the risk for a one off, "We need it now." project not working. So far the JS suggestion is a close contender.

Thanks for the link.

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

The commands for the params are in the avrstudio help under avrisp. Put something like this in "burn.bat"

@rem file burn.bat  Feb 14 2011 Bob Gardner burns avr hex file using avrisp mkii
cmd /k "c:\"program files"\atmel\"avr tools"\stk500\STK500.EXE -cUSB -dATmega128 -fF73A -FF73A -EFF -GFF"

Imagecraft compiler user

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

End result: Big fail mode as I feared. An attempt was made to use AVR Studio on another machine. The other party did not want to download Studio off the internet as I suggested and insisted on using the CD that came with the ISP instead. Hours of my life wasted on the problem. I saw this coming and had the perfect "Bob's your Uncle" solution which was shot down in advance. Thanks for all the suggestions.

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

SG,

To avoid the 80MB+ download of AVR Studio, to get just the files needed to support the command line tools Atmel have a "cut down" package on www.atmel.no/beta_ware/ which may be of some use. (using outdated CDs is NEVER a great idea!)

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

The little "key fob" programmers are pretty handy for field upgrades, and relatively foolproof.

Tom Pappano
Tulsa, Oklahoma

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

If anyone's got a Butterfly there's always "ButtLoad" ;-)