How to write/read to/from the memory on MSP430?

Hi,

I’ll greatly appreciate if anyone can help? I’m currently working with MSP430F147 and CC2500 using IAR compiler.

  1. I’ve been wondering how to write/read the program to/from the memory? I tried changing IAR Project menu->Options->Linker->Output format as Intel-extended. I got this error saying “The stack plug-in failed to set a breakpoint on “main”. The Stack window will not be able to display stack contents.” Any idea what does this means?

  2. I tried changing back to debug mode but faced another error “Can not write to 0x8000H” 0x8000H is the address for the main memory. So i unplug the power to IAR emulator and restarted the program, I can work in debug mode. I tried running the same program but i got different results from the previous test that I ran before the change of the Output format. As CC2500 can only transmit max at 2.483GHz but now I found that it is transmitting at 2.9GHz. I’m wondering is it cos the program that was released was not erased? Any idea?

  3. How do I completely erase the data in the memory of the chip? Currently, whenever I press Ctrl+D, it will erase memory and download application. Is there any ways to only erase the memory and not do anything else? Can I also read data from the chip to see if I still have some data stored in the chip?

Sincerely thank you for ur help!