So, I had a need for an easy-to-use hex firmware uploader that anyone could use, without having to explain how to install and run the IDE, or explain the command-line for avrdude.
It's actually pretty easy to just use avrdude, but sometimes we have people who aren't even familiar with the command shell in windows, mac, or linux. Considering this took all of a few hours to put together, it costs less to do than constantly re-explain avrdude grin
I'm sharing it in case anyone else has a need for similar, it only works with the Atmega328-based duemilanove's, afaik, but can easily be modded to support any board.
I use it with avrdude 5.10, so there's no need to do any serial port reset hackery, instead it uses the "arduino" programmer type.
Excellent! I think this might be what I might need — I'm not sure yet. It might be the thing that makes amforth go from the downloads folder of my MacBook to the Arduino Lilypad it needs to exist on. How do I make this work on my Mac?
All you should have to do is load up processing, replace the files in bin/ with the avrdude binaries for mac (I'm going to have to leave that one up to you =), put your hex file in the hex/ directory , and then adjust the avrdude parameters in the processing sketch to match the right ones for your lilypad. (Hint: go into arduino ide, and upload a basic sketch, but hold down 'shift' when you click on the upload button to get verbose output.)
I've got as far as installing “processing”, and am now going to replace the files in bin/ with what, precisely? Explain what “the avrdude binaries for mac” means.
Currently the contents of bin, to be replaced by that unclarified something, are:
I meant the "bin" directory in the hex uploader source tree... not /bin on your computer =)
Download the source from the link above, you'll see it has its own directory tree, including a sub-directory called "bin", another "hex", "data", and so on.
As for avrdude... You'll need to google that one =) I'm going to have to leave getting avrdude, and understanding what it is, up to you (hence my original statement in my first post =) ... In fact, all you need to solve your problem is avrdude, and trying to hack this hex uploader just to use avrdude in a gui will be more work for you!
I've been reading about this “avrdude” you suggested. You're right, it seems to be what is needed to put a hex on the Lilypad. However, it looks vastly too complicated and technical to understand clearly, so I'll give it all a miss.
Avrdude is what is used by the arduino IDE to upload the sketchs to the arduino board but it is all undercover, if you want a GUI wrapper for avrdude maybe PonyProg is easier to use and there is no need to use strange Processing wrappers.