MSP430F2122: Programming info memory

Part Number: MSP430F2122

HI, 

may be, this is a silly question. 

I had several assembler codes with IAR and want to transfer to CCS at part MSP430F2122. 

With IAR I used ORG command e.g. for programming info memory (adr 0x1000) with data or code. 

Now I tried 

                .sect  ".infoA"
data1       .byte  01h,02h,03h,04h

but this didn't work. There was no error at the assembler, but if I checked the memory browser, there was no such data at 0x1000. I did it within .text section or also just before .text section. 

It works when I programmed the interrupt (within .text), e.g.:

            .sect ".int02"                    ; FFF6h, Port 1
            .short TIMELP

It works also if I program 

data1       .byte  01h,02h,03h,04h without .sect  ".infoA", but then the data are in the .text section. 

What could be the problem? I wanted to use the info memory also for code. is this possible?

Karl Schroedinger

  • Hi Karl,

    I am on business travel these two weeks. I'll check and feedback when I have time to went through the details. Thanks for your patience.

    In the meantime, I'll mark the thread open and see if other experts have comments on this.

    B.R.

    Sal