So, I have my “Netduino” shield successfully programming a Bare Bones Freeduino using this command line (in OS X):
arduino-0010/hardware/tools/avr/bin/avrdude -C arduino-0010/hardware/tools/avr/etc/avrdude.conf -pm168 -cstk500v1 -Pnet:192.168.2.105:7 -D -Uflash:w:/tmp/build34808.tmp/Blink_edit.hex:i
(You may recall I achieved this previously on a breadboard, but now it’s working with the shield–once I got the rx/tx lines in the right order!)
Now, I foolishly thought I might be able to get away with setting the IDE preferences for
serial.port to the format that avrdude expects for network devices and have it work. Alas, it did not. Doing so causes a failure:
processing.app.SerialException: Serial port 'net:192.168.2.105:7' not found. Did you select the right one from the Tools > Serial Port menu? at processing.app.Serial.<init>(Serial.java:149) at processing.app.Serial.<init>(Serial.java:72) at processing.app.Uploader.flushSerialBuffer(Uploader.java:66) at processing.app.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:55) ...
So, I was wondering if there is an undocumented way to pass avrdude its
-P argument without it being treated like a serial port? (I wonder if that’s what the “Burn Bootloader” code does?)
If this feature does not exist, then what are the chances of it being implemented so I can upload sketches over the network from the IDE? (I wonder if this ties in with the work I think is being done for Arduino 0011 to enable burning of sketches via USB programmers?)
Or do I just have to write the patch myself?