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
How to preserve INFO block
Started by ●September 18, 2009
Reply by ●September 18, 20092009-09-18
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
>
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
>
Reply by ●September 18, 20092009-09-18
--- 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
>
>
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
>