Thank you for your comments.

I understand what was wrong.

Then how can I download program without erasing of internal flash?


----- Original Message ----- 
From: "Joe Polastre" <[EMAIL PROTECTED]>
To: "Chong Hui Kim" <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Wednesday, August 23, 2006 1:14 AM
Subject: Re: [Tinyos-help] Howto use InternalFlash on Tmote


> Did you Mass Erase between programs (ie, type 'make tmote install')?
> That erases all of the internal flash.
> 
> -Joe
> 
> On 8/22/06, Chong Hui Kim <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> I want to write some data in Flash of MSP430 and read them.
>> For this, I used InternalFlashC component and InternalFlash interface.
>>
>> However, data did not been stored in Flash.
>>
>> In single program, it works well. (I conducted write and read. Then stored
>> data was read exactly same.)
>> In separated write and read program, however, data did not been stored.
>>
>> I conducte write data into Flash in one program. After doing this, I conduct
>> read data of Flash from same address in another program. Then wrong value is
>> read.
>>
>> In my thought, Flash may be erased. I used information memory of Flash in
>> MSP430.
>> (Address is from 01000h to 010FFh with 256 Byte.)
>>
>>
>> Just write code is call InternalFlash.write((uint8_t *)0x00, data<array>,
>> sizeof(data));
>> read code is call InternalFlash.read((uint8_t *)0x00, data<array>,
>> sizeof(data));
>>
>> Plz, help me.
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to