Hi,
for consideration... would it be possible to add in the arduino program an option, through where you will program arduino?
For example, I have been working on a program and now that it is complete, I would like to burn it with parallel programmer so it would start without delay (for a demonstration on my collage). And to do this without that "hack" to manualy change settings in that text file each time that you want to change the way of programming.
You can create a new entry in your boards file that specifies the use of a parallel programmer. Then, to switch programming methods, you simply select a different item in the Tools > Boards menu. You only need to edit the text file once.
Can you please help me out with this, I guess I found what needs editing (boards.txt), but there's a lot of lines for each board. Can you give me a hand with what to add/change?
Make a copy of the board you're using and change the first part of each key: e.g. the "diecimila" in "diecimila.upload.rate", etc. It can be anything (e.g. "foo"), as long as they're all the same. Then add a "foo.upload.using" key whose value is the key for the in programmers.txt for the programmer you want to use. Also change the foo.name to something like "Arduino Diecimila w/ AVRISP" or whatever so you can find it in the Boards menu.
Oh, that easy? Thanks. So that's it, I don't need to change anything else? I can change max size to 16000 since this overwrites the bootloader, right? (I managed to write "only" 10k of a program until now though...)
And... this works really fast, I think faster than via serial port.
Sounds like the right commands are being called (though you can check by setting upload.verbose to true in your Arduino preferences file). Maybe it's a wiring problem in the parallel programmer?