Reply by louistran30 July 9, 20102010-07-09
Al, Mark,
Thanks for your response. I am using crossworks and had set the target "erase all" to yes. Like you said, setting it to "no" did the job.
-Louis

--- In m..., OneStone wrote:
>
> Just set the programmer to erase main memory only and preserve
> information memory, since this is in the info memory block
>
> Al
>
> Mark Rages wrote:
> > On Wed, Jul 7, 2010 at 3:49 PM, Louis Tran wrote:
> >> I am using the TI MSP430F5437A. And I would like to keep the segment
> >> 0x1800->0x1880 of the Flash uninitialized when I program the micro-controller
> >> via the SPY_BI_WIRED_JTAG. Please advise how this can be done. Right now the
> >> flash is initialized to 0xFF every time I program the uC. Please advise.
> >
> > Your software (which you didn't specify) is probably doing the bulk erase.
> >
> > Instead, you want a segment-by-segment erase, skipping the one at 0x1800.
> >
> > Or, you could remember the contents of 0x1800->0x1880 before erasing
> > and write it back.
> >
> > Regards,
> > Mark
> > markrages@gmail
>

Beginning Microcontrollers with the MSP430

Reply by OneStone July 8, 20102010-07-08
Just set the programmer to erase main memory only and preserve
information memory, since this is in the info memory block

Al

Mark Rages wrote:
> On Wed, Jul 7, 2010 at 3:49 PM, Louis Tran wrote:
>> I am using the TI MSP430F5437A. And I would like to keep the segment
>> 0x1800->0x1880 of the Flash uninitialized when I program the micro-controller
>> via the SPY_BI_WIRED_JTAG. Please advise how this can be done. Right now the
>> flash is initialized to 0xFF every time I program the uC. Please advise.
>
> Your software (which you didn't specify) is probably doing the bulk erase.
>
> Instead, you want a segment-by-segment erase, skipping the one at 0x1800.
>
> Or, you could remember the contents of 0x1800->0x1880 before erasing
> and write it back.
>
> Regards,
> Mark
> markrages@gmail
Reply by Mark Rages July 8, 20102010-07-08
On Wed, Jul 7, 2010 at 3:49 PM, Louis Tran wrote:
> I am using the TI MSP430F5437A. And I would like to keep the segment
> 0x1800->0x1880 of the Flash uninitialized when I program the micro-controller
> via the SPY_BI_WIRED_JTAG. Please advise how this can be done. Right now the
> flash is initialized to 0xFF every time I program the uC. Please advise.

Your software (which you didn't specify) is probably doing the bulk erase.

Instead, you want a segment-by-segment erase, skipping the one at 0x1800.

Or, you could remember the contents of 0x1800->0x1880 before erasing
and write it back.

Regards,
Mark
markrages@gmail
--
Mark Rages, Engineer
Midwest Telecine LLC
m...@midwesttelecine.com
Reply by "Hayashi, Steve" July 8, 20102010-07-08
0xff IS sort of the uninitialized state for flash.

When you run an erase on flash memory, it will become 0xff and erasing is the only way to turn a 0 -> 1. If you don't want it "initialized" don't erase that segment.

-Steve

From: m... [mailto:m...] On Behalf Of Louis Tran
Sent: Wednesday, July 07, 2010 4:50 PM
To: m...
Subject: [msp430] MSP430 Flash Initialization

I am using the TI MSP430F5437A. And I would like to keep the segment
0x1800->0x1880 of the Flash uninitialized when I program the micro-controller
via the SPY_BI_WIRED_JTAG. Please advise how this can be done. Right now the
flash is initialized to 0xFF every time I program the uC. Please advise.



Reply by Matthias Weingart July 8, 20102010-07-08
You can do this by changing the settings of your software. What kind of
software are you using?

M.

Louis Tran :

> I am using the TI MSP430F5437A. And I would like to keep the segment
> 0x1800->0x1880 of the Flash uninitialized when I program the
> micro-controller via the SPY_BI_WIRED_JTAG. Please advise how this can
> be done. Right now the flash is initialized to 0xFF every time I program
> the uC. Please advise.
>

Reply by Louis Tran July 7, 20102010-07-07
I am using the TI MSP430F5437A. And I would like to keep the segment
0x1800->0x1880 of the Flash uninitialized when I program the micro-controller
via the SPY_BI_WIRED_JTAG. Please advise how this can be done. Right now the
flash is initialized to 0xFF every time I program the uC. Please advise.