The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.
: Write to flash - raspa84 - Sep 8 5:38:25 2009
Hi,I'm doing a simple program that get temperature from the integrated sensor and store in
flash memory, using a msp430x20x3.I have no problem till I start at 0x1040 address and
writing 128 bytes, but when I start at 0x1200 my program doesn't work?Any idea?I also try
to looking for TI documentations,but there's no good application notes!
Thanks in advance
Gianni Bindi
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )
Re: : Write to flash - Ian Okey - Sep 8 6:04:31 2009
Try reading the chip data sheet. You need to write the data to an area of
the address space that is connected to physical flash memory.
Ian
2009/9/8 raspa84
> Hi,I'm doing a simple program that get temperature from the integrated
> sensor and store in flash memory, using a msp430x20x3.I have no problem till
> I start at 0x1040 address and writing 128 bytes, but when I start at 0x1200
> my program doesn't work?Any idea?I also try to looking for TI
> documentations,but there's no good application notes!
>
> Thanks in advance
>
> Gianni Bindi
>
> ------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: : Write to flash - raspa84 - Sep 8 6:27:11 2009
I look at datasheets but I only see memory segmentation,nothing about address to physical
flash memory.
Gianni
--- In m...@yahoogroups.com, Ian Okey
wrote:
>
> Try reading the chip data sheet. You need to write the data to an area of
> the address space that is connected to physical flash memory.
>
> Ian
>
> 2009/9/8 raspa84 > Hi,I'm doing a simple program that get temperature from
the integrated
> > sensor and store in flash memory, using a msp430x20x3.I have no problem till
> > I start at 0x1040 address and writing 128 bytes, but when I start at 0x1200
> > my program doesn't work?Any idea?I also try to looking for TI
> > documentations,but there's no good application notes!
> >
> > Thanks in advance
> >
> > Gianni Bindi
> >
> >
> >
> > ------------------------------------
> >
> >
> >
> >

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: : Write to flash - Ian Okey - Sep 8 6:33:57 2009
http://focus.ti.com/lit/ds/symlink/msp430f2013.pdf
Data sheet page 15
2009/9/8 raspa84
> I look at datasheets but I only see memory segmentation,nothing about
> address to physical flash memory.
>
> Gianni
>
> --- In m...@yahoogroups.com, Ian Okey wrote:
> >
> > Try reading the chip data sheet. You need to write the data to an area
> of
> > the address space that is connected to physical flash memory.
> >
> > Ian
> >
> > 2009/9/8 raspa84
> >
> > > Hi,I'm doing a simple program that get temperature from the integrated
> > > sensor and store in flash memory, using a msp430x20x3.I have no problem
> till
> > > I start at 0x1040 address and writing 128 bytes, but when I start at
> 0x1200
> > > my program doesn't work?Any idea?I also try to looking for TI
> > > documentations,but there's no good application notes!
> > >
> > > Thanks in advance
> > >
> > > Gianni Bindi
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > >
> > >
> > >
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: : Write to flash - raspa84 - Sep 8 10:24:06 2009
Thanks,I see.But every address I use out of 0x1040 seems it doesn't work!
--- In m...@yahoogroups.com, Ian Okey
wrote:
>
> http://focus.ti.com/lit/ds/symlink/msp430f2013.pdf
>
> Data sheet page 15
> 2009/9/8 raspa84 > I look at datasheets but I only see memory
segmentation,nothing about
> > address to physical flash memory.
> >
> > Gianni
> >
> > --- In m...@yahoogroups.com, Ian Okey wrote:
> > >
> > > Try reading the chip data sheet. You need to write the data to an area
> > of
> > > the address space that is connected to physical flash memory.
> > >
> > > Ian
> > >
> > > 2009/9/8 raspa84
> > >
> > > > Hi,I'm doing a simple program that get temperature from the integrated
> > > > sensor and store in flash memory, using a msp430x20x3.I have no problem
> > till
> > > > I start at 0x1040 address and writing 128 bytes, but when I start at
> > 0x1200
> > > > my program doesn't work?Any idea?I also try to looking for TI
> > > > documentations,but there's no good application notes!
> > > >
> > > > Thanks in advance
> > > >
> > > > Gianni Bindi
> > > >
> > > >
> > > >
> > > > ------------------------------------
> > > >
> > > >
> > > >
> > > >

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: : Write to flash - Ian Okey - Sep 8 10:50:17 2009
addresses 0x1000 -> 0x10FF are valid but are in 4 different sectors A,B,C&
D. If you erase just the first of these sectors then you can write in
addresses 0x1000 to 0x103F. Address 0x1040 will be in the first unerased
sector and you cannot write data here.
You really do not want to erase segment A as this contains factory
programmed calibration data for things like the clock generator
frequencies. Special commands are needed to erase this sector.
Ian
2009/9/8 raspa84
> Thanks,I see.But every address I use out of 0x1040 seems it doesn't work!
>
> --- In m...@yahoogroups.com, Ian Okey wrote:
> >
> > http://focus.ti.com/lit/ds/symlink/msp430f2013.pdf
> >
> > Data sheet page 15
> >
> >
> > 2009/9/8 raspa84
> >
> > > I look at datasheets but I only see memory segmentation,nothing about
> > > address to physical flash memory.
> > >
> > > Gianni
> > >
> > > --- In m...@yahoogroups.com, Ian Okey wrote:
> > > >
> > > > Try reading the chip data sheet. You need to write the data to an
> area
> > > of
> > > > the address space that is connected to physical flash memory.
> > > >
> > > > Ian
> > > >
> > > > 2009/9/8 raspa84
> > > >
> > > > > Hi,I'm doing a simple program that get temperature from the
> integrated
> > > > > sensor and store in flash memory, using a msp430x20x3.I have no
> problem
> > > till
> > > > > I start at 0x1040 address and writing 128 bytes, but when I start
> at
> > > 0x1200
> > > > > my program doesn't work?Any idea?I also try to looking for TI
> > > > > documentations,but there's no good application notes!
> > > > >
> > > > > Thanks in advance
> > > > >
> > > > > Gianni Bindi
> > > > >
> > > > >
> > > > >
> > > > > ------------------------------------
> > > > >
> > > > >
> > > > >
> > > > >

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: : Write to flash - raspa84 - Sep 8 11:08:01 2009
Right!But following TI examples on flash writing, I see that address (0x1040) and I used
too.I try also to write my data at the address 0xF500,that it would be out of code and
informations address space,but it still not working!thank you for the patience!:)
--- In m...@yahoogroups.com, Ian Okey
wrote:
>
> addresses 0x1000 -> 0x10FF are valid but are in 4 different sectors A,B,C&
> D. If you erase just the first of these sectors then you can write in
> addresses 0x1000 to 0x103F. Address 0x1040 will be in the first unerased
> sector and you cannot write data here.
>
> You really do not want to erase segment A as this contains factory
> programmed calibration data for things like the clock generator
> frequencies. Special commands are needed to erase this sector.
>
> Ian
>
> 2009/9/8 raspa84 > Thanks,I see.But every address I use out of 0x1040
seems it doesn't work!
> >
> > --- In m...@yahoogroups.com, Ian Okey wrote:
> > >
> > > http://focus.ti.com/lit/ds/symlink/msp430f2013.pdf
> > >
> > > Data sheet page 15
> > >
> > >
> > > 2009/9/8 raspa84
> > >
> > > > I look at datasheets but I only see memory segmentation,nothing about
> > > > address to physical flash memory.
> > > >
> > > > Gianni
> > > >
> > > > --- In m...@yahoogroups.com, Ian Okey wrote:
> > > > >
> > > > > Try reading the chip data sheet. You need to write the data to an
> > area
> > > > of
> > > > > the address space that is connected to physical flash memory.
> > > > >
> > > > > Ian
> > > > >
> > > > > 2009/9/8 raspa84
> > > > >
> > > > > > Hi,I'm doing a simple program that get temperature from the
> > integrated
> > > > > > sensor and store in flash memory, using a msp430x20x3.I have no
> > problem
> > > > till
> > > > > > I start at 0x1040 address and writing 128 bytes, but when I start
> > at
> > > > 0x1200
> > > > > > my program doesn't work?Any idea?I also try to looking for TI
> > > > > > documentations,but there's no good application notes!
> > > > > >
> > > > > > Thanks in advance
> > > > > >
> > > > > > Gianni Bindi
> > > > > >
> > > > > >
> > > > > >
> > > > > > ------------------------------------
> > > > > >
> > > > > >
> > > > > >
> > > > > >

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: Re: : Write to flash - Ian Okey - Sep 8 11:12:58 2009
which chip are you actually using.
0xF500 is not a valid flash address for F2013 (lowest address is 0xF800) or
F2003 (Lowest flash address is 0xFC00). On these two devices there is no
memory at the address that you are specifying.
Ian
2009/9/8 raspa84
> Right!But following TI examples on flash writing, I see that address
> (0x1040) and I used too.I try also to write my data at the address
> 0xF500,that it would be out of code and informations address space,but it
> still not working!thank you for the patience!:)
>
> --- In m...@yahoogroups.com, Ian Okey wrote:
> >
> > addresses 0x1000 -> 0x10FF are valid but are in 4 different sectors
> A,B,C&
> > D. If you erase just the first of these sectors then you can write in
> > addresses 0x1000 to 0x103F. Address 0x1040 will be in the first unerased
> > sector and you cannot write data here.
> >
> > You really do not want to erase segment A as this contains factory
> > programmed calibration data for things like the clock generator
> > frequencies. Special commands are needed to erase this sector.
> >
> > Ian
> >
> > 2009/9/8 raspa84
> >
> > > Thanks,I see.But every address I use out of 0x1040 seems it doesn't
> work!
> > >
> > > --- In m...@yahoogroups.com, Ian Okey wrote:
> > > >
> > > > http://focus.ti.com/lit/ds/symlink/msp430f2013.pdf
> > > >
> > > > Data sheet page 15
> > > >
> > > >
> > > > 2009/9/8 raspa84
> > > >
> > > > > I look at datasheets but I only see memory segmentation,nothing
> about
> > > > > address to physical flash memory.
> > > > >
> > > > > Gianni
> > > > >
> > > > > --- In m...@yahoogroups.com, Ian Okey wrote:
> > > > > >
> > > > > > Try reading the chip data sheet. You need to write the data to
> an
> > > area
> > > > > of
> > > > > > the address space that is connected to physical flash memory.
> > > > > >
> > > > > > Ian
> > > > > >
> > > > > > 2009/9/8 raspa84
> > > > > >
> > > > > > > Hi,I'm doing a simple program that get temperature from the
> > > integrated
> > > > > > > sensor and store in flash memory, using a msp430x20x3.I have no
> > > problem
> > > > > till
> > > > > > > I start at 0x1040 address and writing 128 bytes, but when I
> start
> > > at
> > > > > 0x1200
> > > > > > > my program doesn't work?Any idea?I also try to looking for TI
> > > > > > > documentations,but there's no good application notes!
> > > > > > >
> > > > > > > Thanks in advance
> > > > > > >
> > > > > > > Gianni Bindi
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ------------------------------------
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: : Write to flash - raspa84 - Sep 8 11:21:51 2009
I'm using eZ430 kit with the F2013.Ok,I'll read the documentations one more time,and try
to understand well these memory!Thank you for your help!
--- In m...@yahoogroups.com, Ian Okey
wrote:
>
> which chip are you actually using.
>
> 0xF500 is not a valid flash address for F2013 (lowest address is 0xF800) or
> F2003 (Lowest flash address is 0xFC00). On these two devices there is no
> memory at the address that you are specifying.
>
> Ian
>
> 2009/9/8 raspa84 > Right!But following TI examples on flash writing, I see
that address
> > (0x1040) and I used too.I try also to write my data at the address
> > 0xF500,that it would be out of code and informations address space,but it
> > still not working!thank you for the patience!:)
> >
> > --- In m...@yahoogroups.com, Ian Okey wrote:
> > >
> > > addresses 0x1000 -> 0x10FF are valid but are in 4 different sectors
> > A,B,C&
> > > D. If you erase just the first of these sectors then you can write in
> > > addresses 0x1000 to 0x103F. Address 0x1040 will be in the first unerased
> > > sector and you cannot write data here.
> > >
> > > You really do not want to erase segment A as this contains factory
> > > programmed calibration data for things like the clock generator
> > > frequencies. Special commands are needed to erase this sector.
> > >
> > > Ian
> > >
> > > 2009/9/8 raspa84
> > >
> > > > Thanks,I see.But every address I use out of 0x1040 seems it doesn't
> > work!
> > > >
> > > > --- In m...@yahoogroups.com, Ian Okey wrote:
> > > > >
> > > > > http://focus.ti.com/lit/ds/symlink/msp430f2013.pdf
> > > > >
> > > > > Data sheet page 15
> > > > >
> > > > >
> > > > > 2009/9/8 raspa84
> > > > >
> > > > > > I look at datasheets but I only see memory segmentation,nothing
> > about
> > > > > > address to physical flash memory.
> > > > > >
> > > > > > Gianni
> > > > > >
> > > > > > --- In m...@yahoogroups.com, Ian Okey wrote:
> > > > > > >
> > > > > > > Try reading the chip data sheet. You need to write the data to
> > an
> > > > area
> > > > > > of
> > > > > > > the address space that is connected to physical flash memory.
> > > > > > >
> > > > > > > Ian
> > > > > > >
> > > > > > > 2009/9/8 raspa84
> > > > > > >
> > > > > > > > Hi,I'm doing a simple program that get temperature from the
> > > > integrated
> > > > > > > > sensor and store in flash memory, using a msp430x20x3.I have no
> > > > problem
> > > > > > till
> > > > > > > > I start at 0x1040 address and writing 128 bytes, but when I
> > start
> > > > at
> > > > > > 0x1200
> > > > > > > > my program doesn't work?Any idea?I also try to looking for TI
> > > > > > > > documentations,but there's no good application notes!
> > > > > > > >
> > > > > > > > Thanks in advance
> > > > > > > >
> > > > > > > > Gianni Bindi
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > ------------------------------------
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )Re: : Write to flash - raspa84 - Sep 9 4:25:08 2009
Ok,I understand better the address and now my program it's fixed!thank you so much for
your help Ian!
--- In m...@yahoogroups.com, "raspa84"
wrote:
>
> I'm using eZ430 kit with the F2013.Ok,I'll read the documentations one more time,and try
to understand well these memory!Thank you for your help!
>
> --- In m...@yahoogroups.com, Ian Okey wrote:
> >
> > which chip are you actually using.
> >
> > 0xF500 is not a valid flash address for F2013 (lowest address is 0xF800) or
> > F2003 (Lowest flash address is 0xFC00). On these two devices there is no
> > memory at the address that you are specifying.
> >
> > Ian
> >
> > 2009/9/8 raspa84
> >
> > > Right!But following TI examples on flash writing, I see that address
> > > (0x1040) and I used too.I try also to write my data at the address
> > > 0xF500,that it would be out of code and informations address space,but it
> > > still not working!thank you for the patience!:)
> > >
> > > --- In m...@yahoogroups.com, Ian Okey wrote:
> > > >
> > > > addresses 0x1000 -> 0x10FF are valid but are in 4 different sectors
> > > A,B,C&
> > > > D. If you erase just the first of these sectors then you can write in
> > > > addresses 0x1000 to 0x103F. Address 0x1040 will be in the first unerased
> > > > sector and you cannot write data here.
> > > >
> > > > You really do not want to erase segment A as this contains factory
> > > > programmed calibration data for things like the clock generator
> > > > frequencies. Special commands are needed to erase this sector.
> > > >
> > > > Ian
> > > >
> > > > 2009/9/8 raspa84
> > > >
> > > > > Thanks,I see.But every address I use out of 0x1040 seems it doesn't
> > > work!
> > > > >
> > > > > --- In m...@yahoogroups.com, Ian Okey wrote:
> > > > > >
> > > > > > http://focus.ti.com/lit/ds/symlink/msp430f2013.pdf
> > > > > >
> > > > > > Data sheet page 15
> > > > > >
> > > > > >
> > > > > > 2009/9/8 raspa84
> > > > > >
> > > > > > > I look at datasheets but I only see memory segmentation,nothing
> > > about
> > > > > > > address to physical flash memory.
> > > > > > >
> > > > > > > Gianni
> > > > > > >
> > > > > > > --- In m...@yahoogroups.com, Ian Okey wrote:
> > > > > > > >
> > > > > > > > Try reading the chip data sheet. You need to write the data to
> > > an
> > > > > area
> > > > > > > of
> > > > > > > > the address space that is connected to physical flash memory.
> > > > > > > >
> > > > > > > > Ian
> > > > > > > >
> > > > > > > > 2009/9/8 raspa84
> > > > > > > >
> > > > > > > > > Hi,I'm doing a simple program that get temperature from the
> > > > > integrated
> > > > > > > > > sensor and store in flash memory, using a msp430x20x3.I have no
> > > > > problem
> > > > > > > till
> > > > > > > > > I start at 0x1040 address and writing 128 bytes, but when I
> > > start
> > > > > at
> > > > > > > 0x1200
> > > > > > > > > my program doesn't work?Any idea?I also try to looking for TI
> > > > > > > > > documentations,but there's no good application notes!
> > > > > > > > >
> > > > > > > > > Thanks in advance
> > > > > > > > >
> > > > > > > > > Gianni Bindi
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ------------------------------------
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )