On Jul 26, 2011, at 6:27 PM, Michael Schippling wrote:

> I don't know if there is any erase of external EEPROM done
> when a device is programmed, so the contents _might_ persist
> across new downloads and thus you would only have to do
> the message thing once.

  It does indeed persist, at least to my empirical knowledge. You will have to 
explicitly erase the flash, if you really want it erased. Also, afaik, you 
_must_ erase it the first time you use a new volumes-xyz.xml layout file. Not 
sure what happens if you don't, but I think that's what the docs said ..

Best,
Jakob


> Markus Niedermann wrote:
>> Hey!
>> Im using tinyos 2.1.1 at micaZ and iris nodes.
>> 
>> I use ECDH to get a secret key for a symmetric encryption between nodes 
>> and with the PC.
>> For saving time, I pregenerate my public / private keys at the PC.
>> First, I hard-coded them as uint8_t- arrays in the code.
>> The configuration is should be installed at different nodes with 
>> different keys.
>> Now I want to save the 160-bit-keys at the external flash of my nodes.
>> How should I handle this?
>> The TinyOS-Page seems to be partially offline, so I can't get all 
>> Information I need.
>> 
>> http://docs.tinyos.net/tinywiki/index.php/Storage
>> I read this tutorial.
>> I'm not quite sure how I have to configure the xml file.
>> 
>> I guess I have to write a second application, that I use to save the 
>> keys on my nodes, right? Or is there a way to save something directly 
>> over the serial interface?

-- 
net.cs.bonn.edu/bieling


_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to