I'd like to integrate loading of hex files created from sketches in Arduino 1.0 IDE via USB into a Windows Forms Application. I've read a lot about AVRDUDE, but it isn't clear to to me if this utility can do that, or if it's only for burning AVR's with a hardware programmer.
Is there by chance any native Windows C/C++ source code available? I suppose I could use the Windows ShellExecute() command to execute AVRDUDE, but I prefer to write native or managed code as part of my app.
Thank you. Can you give me a command line example that would upload a hex program to an ATmega328-based Arduino? Right now, I use Nano's, but I will eventually make my own discreet Arduinos on a circuit board with ATmega328 DIPs and FT232RL chips.
I also wondered if AVRDUDE and/or Arduino IDE can be used to burn Arduino Bootloader into an ATmega 328 processor. Can this be done over USB, or is an EEPROM programmer required? If so, what unit could program the DIP package and might be reasonably priced and easy to use?