Standalone firmware flasher for AVRISP MkII

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

I've been searching for a while now, but there doesn't seem to be a memory flash tool for the AVRISP MkII.

There is for old ATmega's, there is for USB, there is for Uart, there is for parallel port, but not for TPI with MkII. At least not that I could find.

I need something like this for the assembly house and I do not have time to build this myself. I cannot send a 700 MB large IDE as programmer tool.

This immediately excludes all command line tools since an idiot must be able to use it, on Windows.

Does something like this exist?
Or did I choose the wrong platform?

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

Does the latest avrdude not have TPI support then?

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

jeroen3 wrote:
This immediately excludes all command line tools since an idiot must be able to use it, on Windows.
I would think that GUI tools would be excluded. You can easily create a script to invoke the command line tools with the correct options thus reducing the likelihood of operator error. At a minimum, you could use a batch file but a scripting language like Perl or Python is more versatile. Or, you could write a simple app in C/C++ (console or GUI) to drive the tools.

Don Kinzer
ZBasic Microcontrollers
http://www.zbasic.net

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

I 've found that the included "atprogram.exe" in AS6.1 can be called in one line for ATtiny10 TPI with AVRISP Mk2.

AVRdude cannot utilize an unmodified AVRISP Mk2. It requires an customized unsigned driver, which you cannot install on Windows without changing policy.

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

jeroen3 wrote:
AVRdude cannot utilize an unmodified AVRISP Mk2. It requires an customized unsigned driver, which you cannot install on Windows without changing policy.

What version of AVRdude are you using?

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

jeroen3 wrote:

AVRdude cannot utilize an unmodified AVRISP Mk2. It requires an customized unsigned driver, which you cannot install on Windows without changing policy.

Get a "Real" OS :wink:

/Bingo

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

> It requires an customized unsigned driver

Only under Windows. All other OSes these days ship with a default
USB driver that can be used to attach a userland program to an
arbitrary USB device. Windows is the only system that requires the
installation of custom drivers (like the Jungo driver) for that
purpose, and as far as I know, having them "signed" means that one
has to pay money for it.

(libusb on non-Windows systems does not require any extra drivers,
but simply abstracts on top of each OSes default USB driver.)

Jörg Wunsch

Please don't send me PMs, use email if you want to approach me personally.

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

Yes, that is exaclty the problem. Everyone uses Windows, because all the tools are for Windows, except those few widely homebrew used stuff.
Time for microsoft to have another Vista and dissapear forever. But until then, we have to fiddle around with it.

I've already accepted using Atmel Studio is the only solution. Luckily I can create a Batch file calling the atprogram executable.

Maybe I'll create a dirty C# thingy for it.

One more question, does an .elf contain the fuse configurations?

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

Quote:

One more question, does an .elf contain the fuse configurations?

It does if you use avr-gcc tools and this:

http://www.nongnu.org/avr-libc/u...

(actually it wouldn't be an elf if you weren't using avr-gcc so we'll take that as read ;-))