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.

How to add peripheral registers in CCSv4 View Register option for OMAP44xx

Hello,

First off, I apologize if this question has been answered before. I tried to find in the forum but could not find the relevant answers. I need some help on how to add OMAP4430 peripheral registers + CORTEX A9 CP15 registers under register windows. I can see lot of xml files are available in ccsv4\common\targetdb\Modules\omap44xx but do not know how to add the same. Any help will be greatly appreciated.

Below is my platform setup:-

1)      Debugger CCSv4 Version: 4.2.2.00033 running in Windows VISTA.

2)      Target:- OMAP4430 Pandaboard

3)      JTAG:- xds100v2

 

Best regards,

Sanjuricku.

Below is the screenshot of the debugger showing only CORE registers:-

  • Hi,

    These registers are hidden by default in CCS, and currently can be accessed via the Expressions view. Simply type the desired register name in the Expressions view with uppercase letters. For example, you can type CP15_ID_CODE, CP15_MMU_TLB_TYPE, etc. and see its value there.

    In any case, I filed an enhancement request under the number SDSCM00042334 - you can check its status at the link SDOWP below.

    Regards,

    Rafael

  • Hi Rafael,

    Thanks for the pointer.

    I did some research and found the reason why CCS is not showing CP15 and other ARM registers. As shown below, cortex_a9.xml file has a bug - blank ID field, which prevents the CCS displaying the name in the register window. Once blank id is replaced with a name, I can see all the registers in Register window. But one problem that I am facing is, I am not able to modify the register bits. I think that could be related to permission setting - permissions="p". Do you know what permission I need to set to make the registers writeable?

    Thanks,

    Sanjuricku.