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.

Bug in Memory Browser in CCS 6.2 for Macintosh

If you right click on a variable in the watch window and select "View memory" the variable shows properly in the memory browser.  If, however, you manually type the name of the variable into the search box at the top of the memory browser, you get the wrong address.  For example, my array is at 0xA800 but if I search for the array, it properly finds it but goes to memory 0xA80 -- It leaves off the last hex digit and therefore shows the wrong memory location.

Regards

  • Neil,

    Which device are you working with? I couldn't reproduce this with CCS 6.2 on my Mac but I'd like to try it with a similar device to the one you are using.
    Also do you see the incorrect address in memory browser for all variables or just some?

  • I am using an F28335 board demo board. It appears to do it with all variables. The code was generated from Simulink Embedded Coder. Here is a video of it happening on my machine. mydrive.scocloud.com/.../Wx05F9DJkE7hibR  I'll email you the password.

  • NEIL SINGER said:
    It appears to do it with all variables.

    With CCS 6.1.3 under Windows and a Tiva device found then when type the name of an integer variable into the memory browser then the memory browser displays the memory address which is the value of the variable.

    E.g. if the integer global variable count has the value 2, then typing count into the memory browser displays memory starting at address 2 (which is in flash for the Tiva device):

    Whereas typing &count into the memory browser displays the memory at the address of the variable:

    Not sure if this is a bug, or the intended operation of the memory browser.

  • Chester is correct.

    Typing the symbol name in the memory browser displays memory at the value of the symbol (equivalent to selecting "View Memory at Value" from Expressions view). Typing &symbol displays the memory at the address of the variable (equivalent to selecting "View Memory" from Expressions view).

  • Thank you. That was the problem. I was unaware that you had to use the pointer (&) because that is inconsistent with how it is done in the watch window ( no &). As a suggestion: the watch window and the memory search should really use the same syntax.
  • NEIL SINGER said:
    I was unaware that you had to use the pointer (&) because that is inconsistent with how it is done in the watch window ( no &).

    Actually this information is buried in the CCS Online Help (CCS menu Help->Help Contents, Search for "memory view" in search box, and see the section "Working with memory").