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.

CCS/RF430FRL152H: How to access to memory

Part Number: RF430FRL152H

Tool/software: Code Composer Studio

According to 'Ki-soo' from the above address, if I know the address value of memory, I can read the value stored at that address through the CCS.
Can you tell me about the method (code)?
For your information, I would like to approach the address F8B4.

  • hyosung kim said:
    I can read the value stored at that address through the CCS.
    Can you tell me about the method (code)?
    For your information, I would like to approach the address F8B4.

    I assume you want to print out this value from your application via C I/O? If that is the case, since you know the memory address that contains the data you wish to print, you can just read the address in your C code and store the value in a variable that you can print out later:

    int *ptr;
    int var;
    
    *ptr = (int *)0xF8B4;
    var = *ptr;

  • So, we need only four lines to print ADC0 information sent from RF430FRL152H? ...
    Is it possible to calculate decimal values stored in var by expression?

    I wanted to know this, so I asked over 50 questions.

  • hyosung kim said:
    So, we need only four lines to print ADC0 information sent from RF430FRL152H? ...

    I can't help you with this question. It is best asked to the MSP experts

    hyosung kim said:
    Is it possible to calculate decimal values stored in var by expression?

    This one I can answer. In the Expressions view, right-click on the expression of interest and select "Number Format" in the context menu. Form there, you will see an option to change the format to decimal (or any other supported format).

    Thanks

    ki