CC2340R5: Accessing CFG-AP and SEC-AP

Part Number: CC2340R5
Other Parts Discussed in Thread: UNIFLASH, SEGGER

Hello,

The goal is to develop my own flash programming application for the CC2340R5 via SWD interface. My first step is trying to accessing the CFG-AP to read the device id and also the SEC-AP to send commands to the debug mailbox (DBGSS). I'm having trouble accessing both of these access ports. 

Referring to the CC23xx SimpleLink Wireless MCU Technical Reference Manual (document SWCU193), I think I found a list of SEC-AP registers in 5.10 DBGSS Registers.

I can't seem to find any list for the CFG-AP. 

Can I get a description of all the registers of both these access ports?

Thank you

  • Hi Johnny,

    We don't provide support for developing flash programming applications via the SWD interface. We provide Uniflash along with the XD110 debug probe or there's support for Segger J-Link. But we don't document the registers for the APs

    SEC-AP for SACI commands is available via the debug mailbox as the memory mapped registers TXD and RXD in DBGSS as you noted above.

    Thanks,

    Jake

  • Hi Jake,

    Thanks for answering.

    My problem is not flash programming. All I want to do is access one of these APs. Can you help me talk to the CFG-AP so I can read some information out of the MCU?

    Per the TRM:

    5.3.2 Debug Access Ports

    The CFG-AP provides device information to the debug probe so that the debug probe can identify device characteristics, including the device part number and the device revision

    Regards,
    Johnny Ng

  • Hi Johnny,

    I don't have documentation that I can provide for the APs.

    If you're looking for the information that's accessed via the CFG-AP then the same information can be read back from the FCFG (see table 9-1 from the TRM):

    BR,

    Jake