Re: Loss of IP saved in the flash

Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Martin, Anabel wrote:
> We load our new Slush.tbin with JavaKit and it loads successfully. We
> type B18, F0 and E and after that, we loss the IP we had saved into the
> flash.
> 
> That behaviour could be avoided? Which sentences should we use for it?

Slush.tbin and the IP information are stored in the same 64K block of 
flash.  In order to change flash memory, you must erase the entire 
block.  Therefore, your IP address will go away as well.

You could store your IP address in several other places outside of the 
flash:
1. In your application
2. DHCP over network
3. In an external memory device.  You will need to read it and set the 
IP address manually.
    a. 1-Wire EEPROM (e.g. DS2433)
    b. I2C EEPROM (e.g. 24LC02)
    C. SPI EEPROM

-- 
--
Bryan Armstrong
bryan.armstrong-6tN4nzCoH/[email protected]


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.