Friday, August 5, 2011

AVRDUDE HELPER - release

About :
AVRDUDE HELPER is application that controlls avrdude, for simple and quick uploading code to your microchip, if you don't use AVRSTUDIO or anything that can do it simply and quick too.

It is only for uploading hex files to flash memory (later, if anyone request, I can add more features, but I want keep it simple and quick for use)

It can be also associated with hex file for even faster use.

How it looks :





It's simple console app, but very useful. When you learn few combinations, you can access writing or checking process in one second.

How it works :
When you start it, it will ask you for your programmer...
(for USBtiny we pres 1)
Than for microchip...
(for ATtiny2313 we pres 1)
And you are in main menu.

All available programmers and microchips can be edited in configuration file, that is generated on first start or if it just not exist. Programmers and microchips are limited to 10 items (10 programmers and 10 microchips).

In main menu we have some options what to do. Backspace will restart application for re-choosing programmer and microchip, Escape will quit application and F1 will show help.

Than we have here Write (shortcut is Enter) and Check (shortcut is Spacebar).

If you choose Write, it will ask you for hex file (you can enter filename with absolute or relative path or you can enter just filename), but if you open associated file, it will skip this step. Than will be executed this command :

avrdude -c PROGRAMMER -p MICROCHIP -U flash:w:FILE.HEX

When avrdude finish its task, you will be able to repeat uploading or go to main menu (or quit).

By choosing Check, you can check microchip signature for connection test before you perform write operation. This command will be executed :

avrdude -c PROGRAMMER -p MICROCHIP

 When avrdude finish job you can also repeat operation or go to main menu (or quit as well).

Installation :
The first step is download. So you can download it here :
AVRDUDE_HELPER.exe (link deleted, please download latest version from this blog)
I have not make installation file. So after downloading AVRDUDE_HELPER.exe you can put it somewhere into program files folder. Start it and close it. Configuration file has been created (settings.cfg). Open it in notepad and you will see simple code with little help. Code is very easy to edit.

Here it is :
settings.cfg

In example you can see "p". That means, that next two words will be used for microprocessor. "ATtiny2313" is the name, that will you see in AVRDUDE HELPER. And "t2313" is code, that will avrdude receive as microprocessor type, when you will do write or check operation.

All available programmers and microprocessors you can find here, in avrdude documentation.

Last step is associating hex files to AVRDUDE HELPER. This step is recommended for faster and easier use of AVRDUDE HELPER. You can also drag and drop file to AVRDUDE_HELPER.exe icon to perform same thing as launching associated hex file.


Enjoy this software :)

©2011 Tomáš Pazdiora

No comments:

Post a Comment