Save/Restore config eeprom
Posted: Tue Sep 11, 2012 7:06 pm
I modified the Arduino interface project (IR generator + debug console by telnet) so that it can also save/restore the config eeprom (http://wiki.samygo.tv/index.php5/Ethern ... _Interface)
I hope it will allow config backup for later easy unbrick, or maybe allow config modification that we cannot do with the setup menu (enable visual test for example).
Decoding the config is not obvious. If some parameters are easy to locate (pin code for example), most of them are not.
At this point, it can only save the config, not restore it :
I'm very carefull in my writing tests, and until now, my device eeprom is read only; I think the WP line is directly connected to the processor and cannot be forced low (like SDA or SCK), but I'm still investigating on this.
I hope it will allow config backup for later easy unbrick, or maybe allow config modification that we cannot do with the setup menu (enable visual test for example).
Decoding the config is not obvious. If some parameters are easy to locate (pin code for example), most of them are not.
Code: Select all
0038B0h 01 0F 0F 0F 0F 0F 0F 01 01 02 00 61 00 61 00 61 ...........a.a.a
0038C0h 00 61 00 61 00 61 00 00 00 00 31 32 33 34 01 01 .a.a.a....1234..
0038D0h E5 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
I'm very carefull in my writing tests, and until now, my device eeprom is read only; I think the WP line is directly connected to the processor and cannot be forced low (like SDA or SCK), but I'm still investigating on this.