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.

LP-AM243: peripheral register view

Part Number: LP-AM243
Other Parts Discussed in Thread: AM2434

Hy

I'm working with LP-AM243x using CCS  v. 11.0.0.

I'm not able in debug phase to see the peripheral registers (adc, UART, GPIO ... registers).

When I open the  View -> Register window  I can see the core, user,  interrupt registers  and so on (see figure)  but not the register  reletad to the  peripherals:

Thanks

M

  • Hi M,

    Most of the AM243x peripheral registers are Memory Mapped. You can use the Memory Browser in CCS to read/write them.

    Best regards,

    Ming

  • When I open the  View -> Register window  I can see the core, user,  interrupt registers  and so on (see figure)  but not the register  reletad to the  peripherals

    Looking at a CCS 11.1 installation, under C:\ti\ccs1110\ccs\ccs_base\common\targetdb\Modules can't see an am243x sub-directory. Therefore, it appears that peripheral register definition XML files for the CCS debugger haven't been created for the am243x devices.

  • Hi Chester,

    I know we were able to see the peripheral registers from CCS register tab for some of TI devices. For the MCU+ SoCs, the CCS register window is just for the ARM related registers. All the peripheral registers are memory mapped, so they can be viewed via CCS Memory Browser.

    Best regards,

    Ming 

  • Hi Ming,

    could you elaborate on how peripheral registers are best viewed in CCS Memory Browser. I hope there is something better than

    (for EPWM0 as an example).

    Best regards,

    Johannes

  • Hi Johannes,

    In order to see the bit map of the registers for each peripheral, there should be the corresponding XML files in the ccs_base\common\targetdb\Modules\am243x folder. Also the ccs_base\common\targetdb\devices\AM2434_ALV.xml has to refer to them. In CCS 11.1.0. the reference and the folder are not there. That is why you cannot see them in the register view. I will file a bug against this. Meanwhile the best way to view the peripheral registers is using the memory browser and refer to the TRM for bitmap definition.

    Sorry for any inconvenience. We hope it can be fixed soon.

    Best regards,

    Ming