Re: Infomation memory in MSP430F1101A
- From: "ckto" <cktoaster@xxxxxxxxx>
- Date: Tue, 26 Jul 2005 21:42:08 -0500
>Hi,
> In MSP430F1101A, How information memory differs from flash memory?
> In what way it is useful for a programmer?
>
> If anyone have any supporting documents related to this, please guid
>me.
>
> Thanks in advance
>
>
>
>
>This message was sent using the comp.arch.embedded web interface o
>www.EmbeddedRelated.com
>
The information memory should be no different compare to the rest of the
memory block on the MSP430 MCU, except the block size. Most of case,
MSP430 has 2 block of 128B flash. The smaller block size sometimes is
useful for using this flash as data area for storing the calibration
data.
I had one case, I need not more than 128B space for storing calibration
data, which sometimes has some bytes need to be updated. Than I make use
of the two 128B block to do the flash data upadate, since I do not have
enough RAM for buffering that 128B data. What I did is something like;
* Data flash A is the data block we used
* Data flash B is backup block during the flash update process
1) Erase block B
2) Copy block A to B
3) Erase block A
4) Read block B byte by byte and check do this byte need to be modified.
If not, we write it to block A. If it need modification, we write the new
data byte to block A. This process run until the whole block B is update
to black A again.
Ok, the above process looks quite complicated, but it help me to save the
128B RAM for buffering the block A to RAM. The total ROM of nmost MSP430
is only 256B.
I hope my experience is useful for you.
have a good day
Ken
This message was sent using the comp.arch.embedded web interface on
www.EmbeddedRelated.com
.
- References:
- Infomation memory in MSP430F1101A
- From: Narottam
- Infomation memory in MSP430F1101A
- Prev by Date: Re: Where do i start?
- Next by Date: Re: HC12
- Previous by thread: Infomation memory in MSP430F1101A
- Next by thread: Confused with "task" keyword.
- Index(es):
Relevant Pages
|