hi
can u store data to the flash memory of MSP430f149 during run time?
i need to do that to store data in case of power failure or reset.
thanks
flash memory
Started by ●March 7, 2007
Reply by ●March 7, 20072007-03-07
yes. YOU HAVE TO READ flASH pROGRAMMING into the datasheet.
_____
From: m... [mailto:m...] On Behalf Of
Salam
Sent: Micoles, 07 de Marzo de 2007 02:43 p.m.
To: m...
Subject: [msp430] flash memory
hi
can u store data to the flash memory of MSP430f149 during run time?
i need to do that to store data in case of power failure or reset.
thanks
--
--
_____
From: m... [mailto:m...] On Behalf Of
Salam
Sent: Micoles, 07 de Marzo de 2007 02:43 p.m.
To: m...
Subject: [msp430] flash memory
hi
can u store data to the flash memory of MSP430f149 during run time?
i need to do that to store data in case of power failure or reset.
thanks
--
--
Reply by ●March 8, 20072007-03-08
Yes, you can store data to part of the Flash during run time. But do
not do it when the power is failing!
Note that the "cumulative program time", tCPT, of most members of
MSP430 is only 4 msec Max. This is very difficult to meet if you try to
program one byte at a time and you want to program every byte in a 64-
byte block. For example, the write-a-byte routine in bluBOS will turn
on the programming voltage for 87 usec for each byte it writes. After
you write 46 bytes of a 64-byte block, you have already exceeded the 4
msec tCPT limit. If you program one word at a time instead of one byte
at a time, it is much easier to meet the tCPT requirement.
--- In m..., "Salam" wrote:
>
> hi
> can u store data to the flash memory of MSP430f149 during run time?
> i need to do that to store data in case of power failure or reset.
> thanks
>
not do it when the power is failing!
Note that the "cumulative program time", tCPT, of most members of
MSP430 is only 4 msec Max. This is very difficult to meet if you try to
program one byte at a time and you want to program every byte in a 64-
byte block. For example, the write-a-byte routine in bluBOS will turn
on the programming voltage for 87 usec for each byte it writes. After
you write 46 bytes of a 64-byte block, you have already exceeded the 4
msec tCPT limit. If you program one word at a time instead of one byte
at a time, it is much easier to meet the tCPT requirement.
--- In m..., "Salam" wrote:
>
> hi
> can u store data to the flash memory of MSP430f149 during run time?
> i need to do that to store data in case of power failure or reset.
> thanks
>
Reply by ●March 9, 20072007-03-09
Hi,
what about using a power supply monitor and a (big) capacitor to keep
MSP430 alive for a while after power down, in order to write data to the
internal flash ?
Bye,
Blu
>
> hi
> can u store data to the flash memory of MSP430f149 during run time?
> i need to do that to store data in case of power failure or reset.
> thanks
>
what about using a power supply monitor and a (big) capacitor to keep
MSP430 alive for a while after power down, in order to write data to the
internal flash ?
Bye,
Blu
>
> hi
> can u store data to the flash memory of MSP430f149 during run time?
> i need to do that to store data in case of power failure or reset.
> thanks
>
Reply by ●March 9, 20072007-03-09
We have done this in the past. It's a narrow path you walk here and its
filled with detours, and hidden boulders.
Okay, more to the point....
With a decent power supply we had plenty of time to write the values.
But what happens on a watch dog reset?
Back to the original post....what type of data are you talking about?
We store set up parameters in flash. These get written a couple of
times in the life time of the product. The flash has a limited
write/rewrite lifetime so isn't really the best to store run-time data
like cycle counters. Its possible but care must be taken.
Dan M
-----Original Message-----
From: m... [mailto:m...] On Behalf
Of b.lu
Sent: Friday, March 09, 2007 3:32 AM
To: m...
Subject: [msp430] Re: flash memory
Hi,
what about using a power supply monitor and a (big) capacitor to keep
MSP430 alive for a while after power down, in order to write data to the
internal flash ?
Bye,
Blu
>
> hi
> can u store data to the flash memory of MSP430f149 during run time?
> i need to do that to store data in case of power failure or reset.
> thanks
>
Yahoo! Groups Links
filled with detours, and hidden boulders.
Okay, more to the point....
With a decent power supply we had plenty of time to write the values.
But what happens on a watch dog reset?
Back to the original post....what type of data are you talking about?
We store set up parameters in flash. These get written a couple of
times in the life time of the product. The flash has a limited
write/rewrite lifetime so isn't really the best to store run-time data
like cycle counters. Its possible but care must be taken.
Dan M
-----Original Message-----
From: m... [mailto:m...] On Behalf
Of b.lu
Sent: Friday, March 09, 2007 3:32 AM
To: m...
Subject: [msp430] Re: flash memory
Hi,
what about using a power supply monitor and a (big) capacitor to keep
MSP430 alive for a while after power down, in order to write data to the
internal flash ?
Bye,
Blu
>
> hi
> can u store data to the flash memory of MSP430f149 during run time?
> i need to do that to store data in case of power failure or reset.
> thanks
>
Yahoo! Groups Links