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 v6 and cc3200: trouble reading peripheral registers

Other Parts Discussed in Thread: CC3200

I'm looking for a way to see the cc3200 peripheral registers through CCS v6, how do I do?

The Registers view show only the core registers and when I try to read the memory block allocated for TIMERA0 I get:

Cortex_M4_0: Trouble Reading Memory Block at 0x40030000 on Page 0 of Length 0x100: Debug Port error occurred.

I have a CC3200 LaunchXL dev board.

Greetings

Attilio

  • Attilio Dona' said:
    I'm looking for a way to see the cc3200 peripheral registers through CCS v6, how do I do?

    As per this post, the peripheral registers currently cannot be viewed in the CCS Registers view.

    An alternate way to view them would be to open a memory view at the register address.

  • When I read the register address through the "Memory Browser" view I get:

    Cortex_M4_0: Trouble Reading Memory Block at 0x40030000 on Page 0 of Length 0x100: Debug Port error occurred.
  • Per this post, you need to enable the peripheral clock using PRCMPeripheralClkEnable() API before accessing peripheral registers. Have you done that already?

    If you are still having trouble with this, I would suggest starting a new thread in the SimpleLink CC31xx/CC32xx forum as the experts there should be able to help better with this.

  • Yes, PRCMPeripheralClkEnable() API is invoked: the problem arises when loading the interrupt example project coming with the CC3200 SDK.

    Thanks for the suggestion, eventually I will repost on the cc3200 forum.

    I posted here because I supposed that this was a CCS problem: compiling with gcc and using openocd the cc3200 memory registers are visualized as expected.

    Attilio
  • Ok,

    The reported problem was caused by my wrong debug session, CCS works correctly:

    setting correctly the breakpoint after  PRCMPeripheralClkEnable() the peripheral registers values are displayed.

    Thanks for your support

    Attilio