|
From: | Charles Goyard |
Subject: | Re: [uracoli-devel] Feature request: ability to change a network address with Wibo |
Date: | Tue, 23 Nov 2010 17:21:07 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.6 |
Hi,
Well, you can use the tool w/o a hexfile and avrdude with the -D option ("don't auto erase flash before programming"), but this would just allow you to punch "0" into existing "1" bits.
Yes, but as far as I know, avrdude isn't wibo compatible yet :).
It seems possible, but it can be protected by the lock bits, so we have to check for that first.For a self modifying bootloader code I need to look into the datasheet if this is possible. The bootloader would read the last page into RAM, modify the nodeconfig values, erase the page and reprogramm it.
Having two sources for configuration sounds like asking for trouble. Maybe it's safe enough, I'm not sure. A compile-time option for selecting either eeprom or flash storage may help.On the other hand, how about to have the option to store the nodeconfig data at the end of the eeprom and use this record, if the CRC is OK.
-- Charlot
[Prev in Thread] | Current Thread | [Next in Thread] |