Can we remotely update sketch for Arduino Uno + Ethernet System ?
Not easily. Need a whole nother system to send the sketch to and reset the target system and load load into it.
Could look at Fio boards, they are supposed to support wireless upload, maybe adapt that with bootloader that can drive the ethernet to receive the code that is to be loaded, maybe in small blocks that have some error checking on them and a way to request a block be sent if it was deemed bad.
Hello Sir, Yes, its a complete different system and its a great work and saves lot of time if we can achieve this. I am currently following freetronics: http://www.freetronics.com/pages/how-to-upload-a-sketch-to-your-arduino-via-a-network#.U52r6vldW1c
It requires a static Ip address for UNO device with a specific MAC id for UNO device(created IP address and everything). Here is how it works with TFTP protocol: 1) We first bootload the UNO for TFTP. This makes the system to store the Network settings on EEPROM of UNO. 2) After bootloading and loading the IP values to EEPROM, we connect the device to network by Ethernet Shield. 3) Then we convert our required file to be sent into a binary file and then transfer it using a tftp protocol.
Initially I felt, it can be done when i followed the blog of freetronics and i failed at the last step of sending the binary file. While we convert our compiled code into a binary code, its actually stored in a virtual memory which i am not able to access it. Please help me regarding this.
I really wanted to do something !!
Here are the list of hardware i used: 1) Arduino UNO 2) Arduino Ethernet Shield 3) ISP Programmer to bootload UNO: http://www.freetronics.com/collections/modules/products/usbasp-icsp-programmer-for-avr-arduino#.U52uhfldW1c 4) Belkin RJ-45 cat5e cable to connect Arduino + Ethernet to network 5) Computer to compile code, convert the compile code into binary code with cmd, the load the binary code to the system with tftp protocol.
Thanks a lot in advance !!