Hello forum,
I tried out Nick Gammons hex-uploader and the board-programmer (http://www.gammon.com.au/forum/?id=11638) and I am happy: it works fantastic.
Now i need further help...
I want to use an uno as programmer and a mega 2560 as target.
The blink.hex is on an I2C EEPROM that the mega is connected to as master and the uno as slave.
The procedure should be as follows:
- mega (master) writes blink.hex to EEPROM via I2C (source may be SD or ftp, etc.)
- uno (slave) checks on start if blink.hex is on EEPROM
- uno (slave) reads blink.hex from EEPROM via I2C
- uno (programmer) burns blink.hex to mega (target)
- uno (programmer) resets mega (target)
- mega (master) starts up and clears EEPROM on success
if the EEPROM is empty the uno just does nothing after reset
Sounds a little complicated, but I did not find any working solution to update a sketch with no computer connected. maybe someone can help.
Many thanks in advance,
jmF