Author Topic: A small AVRDUDE GUI  (Read 3610 times)

0 Members and 1 Guest are viewing this topic.

Offline TrumpkinTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,176
  • Helpful? 5
« on: July 15, 2009, 09:50:04 AM »
I made a small AVRDUDE GUI in python, so far I can confirm that it will program the flash of both the ATmega8 and ATmega168 with the AVR-PG1B programmer, you can easily modify it to program other microcontrollers. I have ATmega328 as an option in the program but it will not work since AVRDUDE does not support it yet. The AVR ISP II programmer will not work either unless you do some stuff with your computer, a quick google search should show you what to do. To run the program, you will need to install the latest version of AVRDUDE and TKinter, then open up command prompt or terminal and do:
Code: [Select]
cd /directory/of/program
python AVRDUDE_GUI.py
Here it is: http://www.mediafire.com/?tdazzmccwgp
Feel free to modify it and make it better.
Enjoy!  ;D
« Last Edit: July 15, 2009, 09:56:35 AM by Trumpkin »
Robots are awesome!

Offline Finnik

  • Full Member
  • ***
  • Posts: 59
  • Helpful? 4
« Reply #1 on: July 15, 2009, 11:23:09 AM »
Looks goods, I haven't tried programming with it, but it seems like it'll work seeing as it's just setting up the command line for avrdude.

I don't think I'll use it though because of several reasons. First of all, you'll need to have a .hex file first to upload. This requires configuring the makefile and going to the command-line. With the 50 dollar robot makefile, it's all just typing cd /.../... to get to the right folder and then "make all" to get the .hex file. It's not worth the extra effort to run your program, instead of typing "make program". They both essentially do the same, and you should have already specified microcontroller and programmer in the makefile.

Even though I wouldn't use it, it still looks okay. You could of course always improve by adding the entire list of supported devices and programmers to your program.
Think outside the box... inside is to crowded.


Get Your Ad Here