wukong-m2m / NanoKong

GNU General Public License v2.0
7 stars 3 forks source link

Bootloader can't upload EEPROM #41

Closed nielsreijers closed 11 years ago

nielsreijers commented 11 years ago

For some reason, the Arduino bootloader can't write to EEPROM. The corresponding lines are #defined out for the Mega1280 and Mega2560. It will look like it's uploading, but actually nothing happens. This means the initial values I added for, for instance 0 for the length of the location in wkpf_config.c won't get written to EEPROM and the initial value will be 0xFF instead, or whatever happened to be there before we uploaded the VM. We can work around it for now, but it should be solved eventually.

It's a known issue in arduino: http://code.google.com/p/arduino/issues/detail?id=543

nielsreijers commented 11 years ago

Solved. Every node needs to burn the new bootloader. Note that it still doesn't work with the latest avrdude from the Subversion repository, but the versions in CrossPack-AVR and Arduino are fine. (haven't tested the ubuntu or homebrew versions)