This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

VIEWING RAM USING CCS-V4

Other Parts Discussed in Thread: MSP430G2452

Good morning,

How can I view the contents of RAM using CCSV4?  Or how can I write RAM location 200h to a register?

thanks all,    bigM

  • bigM said:

    How can I view the contents of RAM using CCSV4?  Or how can I write RAM location 200h to a register?

    Open a Memory Window (Menu View->Memory).  You will find a text box to enter an address and CCSv4 will display the contents of memory starting at your specified address.

  • Hi Brandon,

    Thanks for the new years response.  I have entered the value 0x0200 in the text box and absolutely nothing happens.  I am running the LaunchPad along with the free version of CCS-V4.  Is this memory view function disabled in the free version or is it not available on the LaunchPad?  I have done everything I can think of.  Alternatively, can I put the contents of RAM location 200h in one of the registers with a mov instruction?  I am doing assembly language coding and using the program MSP430G2x32_adc_01  with an msp430G2452 device installed on the LaunchPad.

    thanks for your help, it is really appreciated,      bigM

  • Are you in debugging mode and is the processor halted (pause button) as you try to read the memory?

    If the processor is running there is no live view of the memory available. Just something which came up my mind. You could also try and use the watch view and enter a expression like *((unsigned int*)0x200). (I just tried that in CCSv5.1 in the expression view, I hope this works in CCSv4 also)

    But I don't know if that works in assembly mode (is there even a difference?) - I'm always using C. 

  • Hi Bernhard,

    I appreciate very much your response.  When I want to look at memory I am always in the debugging mode with the processor halted.  I did try your suggestion and entered the expression you gave me and data came up in the watch view.  i don't know much about C programming - sorry.  Do you know why the memory view doesn't work?  How can I move data from a RAM address to one of the REGISTERS?

    thank you, I don't mean to be a pain -         bigM

**Attention** This is a public forum