EmbeddedRelated.com
Forums

How to preserve INFO block

Started by giorgioel September 18, 2009
I'm programming an MSP430x149 using IAR compiler.
I'm not able to avoid the INFO block (0x1000-0x10ff) to be initialized at 0xFF when the program is uploaded.
Any suggestion?
(I removed the fill unused memory option in linker table, I declared a _no_init char array[0xff] @0x1000, no results...)
Thank you,
Giorgio

Beginning Microcontrollers with the MSP430

You need to select "Erase main memory" instead of "Erase main and Information memory" under Project->Options->FET Debugger->Download->Flash erase.

Patrick

--- In m..., "giorgioel" wrote:
>
> I'm programming an MSP430x149 using IAR compiler.
> I'm not able to avoid the INFO block (0x1000-0x10ff) to be initialized at 0xFF when the program is uploaded.
> Any suggestion?
> (I removed the fill unused memory option in linker table, I declared a _no_init char array[0xff] @0x1000, no results...)
> Thank you,
> Giorgio
>
--- In m..., "distantship101" wrote:
>
Great!

Many thanks,
Giorgio
>
> You need to select "Erase main memory" instead of "Erase main and Information memory" under Project->Options->FET Debugger->Download->Flash erase.
>
> Patrick
>
> --- In m..., "giorgioel" wrote:
> >
> > I'm programming an MSP430x149 using IAR compiler.
> > I'm not able to avoid the INFO block (0x1000-0x10ff) to be initialized at 0xFF when the program is uploaded.
> > Any suggestion?
> > (I removed the fill unused memory option in linker table, I declared a _no_init char array[0xff] @0x1000, no results...)
> > Thank you,
> > Giorgio
>