hi all, I am a learner in MSP 430. I am working in GPS application project.I want to write some data in External serial flash memory through MSp430F149.I am using serial flash memory for data logging purpose from ST microelectronics part no M25P20.That serial flash connected in SPI mode control protocol thru MSP430F149.The serial flash data input line is connected to SIMO pin of MSP.The serial flash data out pin is connected to SOMI pin.How to write a data in to that serial flash in a particular location of serial flash.i am waiting for ur valuable Guidance. With Regards Saravana

Data logger using external serial flash memory
Started by ●February 11, 2005
Reply by ●February 11, 20052005-02-11
Hi,
The internal architecture of this Serial flash allow
programming one page at a time, one page is 256 bytes.
If you want to change a particular byte you need to
read the block in which this byte reside, change that
byte, than issue a page erase command and write back
the page with changed data.
Regards,
Boby
--- saravana_friend81 <saravana_friend81@sara...>
wrote:
>
>
> hi all,
> I am a learner in MSP 430. I am working in GPS
> application project.I
> want to write some data in External serial flash
> memory through
> MSp430F149.I am using serial flash memory for data
> logging purpose
> from ST microelectronics part no M25P20.That serial
> flash connected
> in SPI mode control protocol thru MSP430F149.The
> serial flash data
> input line is connected to SIMO pin of MSP.The
> serial flash data out
> pin is connected to SOMI pin.How to write a data in
> to that serial
> flash in a particular location of serial flash.i am
> waiting for ur
> valuable Guidance.
> With Regards
> Saravana
>
>
>
>
>
>
>
>
__________________________________________________
Reply by ●February 11, 20052005-02-11
Alternately, I believe you can erase the page once, then issue "page
program" commands at successive addresses. Just remember that for each
page program command issued, you must wait until the write completes,
which could take a long time.
There doesn't seem to be any indication that the address passed during a
"PP" instruction must be the start of a page. To the contrary, it
appears that addresses inside the pages can be used, and data passed
during the instruction that overflows beyond the page boundary is
wrapped around to the beginning of the page.
Dave
On Fri, 2005-02-11 at 08:34 -0800, Robert Bacs wrote:
> Hi,
>
> The internal architecture of this Serial flash allow
> programming one page at a time, one page is 256 bytes.
> If you want to change a particular byte you need to
> read the block in which this byte reside, change that
> byte, than issue a page erase command and write back
> the page with changed data.
>
> Regards,
> Boby
>
>
> --- saravana_friend81 <saravana_friend81@sara...>
> wrote:
>
> >
> >
> > hi all,
> > I am a learner in MSP 430. I am working in GPS
> > application project.I
> > want to write some data in External serial flash
> > memory through
> > MSp430F149.I am using serial flash memory for data
> > logging purpose
> > from ST microelectronics part no M25P20.That serial
> > flash connected
> > in SPI mode control protocol thru MSP430F149.The
> > serial flash data
> > input line is connected to SIMO pin of MSP.The
> > serial flash data out
> > pin is connected to SOMI pin.How to write a data in
> > to that serial
> > flash in a particular location of serial flash.i am
> > waiting for ur
> > valuable Guidance.
> > With Regards
> > Saravana
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> __________________________________________________
>
>
>
> .
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
Reply by ●February 14, 20052005-02-14
hi all, i am a beginner in MSP430.I am working in GPS(Global positioning System) appln projects.I am using external serial flash memory M25P20 for storing GPS data.The serial flash memory is connected to MSP430s USART0 in SPI mode.Then how to write a data in particular addess location of serial flash memory thru MSP430.I am waiting for ur valuable Guidance. Thanks&Regards Saravan
Reply by ●February 14, 20052005-02-14
Hi,
thanks for ur reply.How to transfer the command(ex, Erase,page
program...)in to external serial flash memory.Suppose erase command
in 0xc7h.How to transfer this command to serial flash thru MSP. and
how to check whether the erase operation is completed or not.Then
for writing how to point out the partivular location of serial flash
memory and then write.
Thanks&Regards
Saravana
--- In msp430@msp4..., Robert Bacs <robert_bacs@y...> wrote:
> Hi,
>
> The internal architecture of this Serial flash allow
> programming one page at a time, one page is 256 bytes.
> If you want to change a particular byte you need to
> read the block in which this byte reside, change that
> byte, than issue a page erase command and write back
> the page with changed data.
>
> Regards,
> Boby
>
>
> --- saravana_friend81 <saravana_friend81@y...>
> wrote:
>
> >
> >
> > hi all,
> > I am a learner in MSP 430. I am working in GPS
> > application project.I
> > want to write some data in External serial flash
> > memory through
> > MSp430F149.I am using serial flash memory for data
> > logging purpose
> > from ST microelectronics part no M25P20.That serial
> > flash connected
> > in SPI mode control protocol thru MSP430F149.The
> > serial flash data
> > input line is connected to SIMO pin of MSP.The
> > serial flash data out
> > pin is connected to SOMI pin.How to write a data in
> > to that serial
> > flash in a particular location of serial flash.i am
> > waiting for ur
> > valuable Guidance.
> > With Regards
> > Saravana
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> __________________________________________________
>
Reply by ●February 14, 20052005-02-14
Hi, thanks for ur reply.How to transfer the command(ex, Erase,page program...)in to external serial flash memory.Suppose erase command in 0xc7h.How to transfer this command to serial flash thru MSP. and how to check whether the erase operation is completed or not.Then for writing how to point out the partivular location of serial flash memory and then write. Thanks&Regards Saravana --- In msp430@msp4..., "David D. Rea" <dave@d...> wrote: > Alternately, I believe you can erase the page once, then issue "page > program" commands at successive addresses. Just remember that for each > page program command issued, you must wait until the write completes, > which could take a long time. > > There doesn't seem to be any indication that the address passed during a > "PP" instruction must be the start of a page. To the contrary, it > appears that addresses inside the pages can be used, and data passed > during the instruction that overflows beyond the page boundary is > wrapped around to the beginning of the page. > > Dave > > On Fri, 2005-02-11 at 08:34 -0800, Robert Bacs wrote: > > Hi, > > > > The internal architecture of this Serial flash allow > > programming one page at a time, one page is 256 bytes. > > If you want to change a particular byte you need to > > read the block in which this byte reside, change that > > byte, than issue a page erase command and write back > > the page with changed data. > > > > Regards, > > Boby > > > > > > --- saravana_friend81 <saravana_friend81@y...> > > wrote: > > > > > > > > > > > hi all, > > > I am a learner in MSP 430. I am working in GPS > > > application project.I > > > want to write some data in External serial flash > > > memory through > > > MSp430F149.I am using serial flash memory for data > > > logging purpose > > > from ST microelectronics part no M25P20.That serial > > > flash connected > > > in SPI mode control protocol thru MSP430F149.The > > > serial flash data > > > input line is connected to SIMO pin of MSP.The > > > serial flash data out > > > pin is connected to SOMI pin.How to write a data in > > > to that serial > > > flash in a particular location of serial flash.i am > > > waiting for ur > > > valuable Guidance. > > > With Regards > > > Saravana > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > > > > > > > . > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > >
Reply by ●February 14, 20052005-02-14
Hi saravana,
how about reading the documentation of your flash chip and also the
documentation for MSP especially the UART sections, then looking into the
examples and appnotes? There's plenty of information on the net and on
TI's pages.
www.google.com is also very useful.
Georg
saravana_friend81 wrote:
>
> Hi,
> thanks for ur reply.How to transfer the command(ex, Erase,page
> program...)in to external serial flash memory.Suppose erase command
> in 0xc7h.How to transfer this command to serial flash thru MSP. and
> how to check whether the erase operation is completed or not.Then
> for writing how to point out the partivular location of serial flash
> memory and then write.
> Thanks&Regards
> Saravana
>
>
>
>
> --- In msp430@msp4..., "David D. Rea" <dave@d...> wrote:
>
>>Alternately, I believe you can erase the page once, then
>
> issue "page
>
>>program" commands at successive addresses. Just remember that for
>
> each
>
>>page program command issued, you must wait until the write
>
> completes,
>
>>which could take a long time.
>>
>>There doesn't seem to be any indication that the address passed
>
> during a
>
>>"PP" instruction must be the start of a page. To the contrary,
it
>>appears that addresses inside the pages can be used, and data
>
> passed
>
>>during the instruction that overflows beyond the page boundary is
>>wrapped around to the beginning of the page.
>>
>>Dave
>>
>>On Fri, 2005-02-11 at 08:34 -0800, Robert Bacs wrote:
>>
>>>Hi,
>>>
>>>The internal architecture of this Serial flash allow
>>>programming one page at a time, one page is 256 bytes.
>>>If you want to change a particular byte you need to
>>>read the block in which this byte reside, change that
>>>byte, than issue a page erase command and write back
>>>the page with changed data.
>>>
>>>Regards,
>>>Boby
>>>
>>>
>>>--- saravana_friend81 <saravana_friend81@y...>
>>>wrote:
>>>
>>>
>>>>
>>>>hi all,
>>>>I am a learner in MSP 430. I am working in GPS
>>>>application project.I
>>>>want to write some data in External serial flash
>>>>memory through
>>>>MSp430F149.I am using serial flash memory for data
>>>>logging purpose
>>>>from ST microelectronics part no M25P20.That serial
>>>>flash connected
>>>>in SPI mode control protocol thru MSP430F149.The
>>>>serial flash data
>>>>input line is connected to SIMO pin of MSP.The
>>>>serial flash data out
>>>>pin is connected to SOMI pin.How to write a data in
>>>>to that serial
>>>>flash in a particular location of serial flash.i am
>>>>waiting for ur
>>>>valuable Guidance.
>>>>With Regards
>>>>Saravana
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>__________________________________________________
>>>
>>>
>>>
>>>.
>>>
>>>
>>>Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
>
>
>
>
> .
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
Reply by ●February 15, 20052005-02-15
http://www.st.com/stonline/books/pdf/docs/7736.pdf signals: #S, C, D, Q, #W pages 5/39 to whatever saravana_friend81 <saravana_friend81@sara...> wrote: hi all, i am a beginner in MSP430.I am working in GPS(Global positioning System) appln projects.I am using external serial flash memory M25P20 for storing GPS data.The serial flash memory is connected to MSP430s USART0 in SPI mode.Then how to write a data in particular addess location of serial flash memory thru MSP430.I am waiting for ur valuable Guidance. Thanks&Regards Saravan . document.write(''); --------------------------------- . --------------------------------- Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'
