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.

TMS570LS3137: TMS570 bus interfaces and DAP connection

Part Number: TMS570LS3137

Hi support.

I am looking for more information about bus interfaces on TMS570LS3137 MCU.

I  specially need some information about the connection of DAP (Debug Access Port) to the system buses, and how it access MCU resources (CPU, SRAM, Flash, etc).

Regards,

Fabio.

  • Hello Fabio,

    The interconnect is provided in the block diagrams in the datasheet and TRM. The DAP is connected through SCR1 AHB and can access the CPU, SRAM, FLASH, Other Masters, and peripherals in the device.

    Detail view from the datasheet:

    Architectural Block diagram from the technical reference manual:

  • Hi, Chuck. Thanks for your answer.

    I have seen these images before. But it is not clear to me.

    1)  As shown in first figure, DAP has two outputs: 

                 a. One connected to AHB interface via AHB matrix (Figure 2). Does the core have an AHB slave port?

                 b. One connected to APB interface. Where is this in Figure 2?

    2) What does "A2A" (Figure 1) mean?

    Regards,

    Fabio

  • Hello Fabio:

    It may be helpful to review the CoreSight Architecture Specification from the ARM infocenter at this link:

    Fabio Nazzi said:
    a. One connected to AHB interface via AHB matrix (Figure 2). Does the core have an AHB slave port?

    No. The DAP has access to all Masters in the system (the only registers the DAP cannot access are the PMM registers).

    Fabio Nazzi said:
         b. One connected to APB interface. Where is this in Figure 2?

    This is a highlevel view. In reality, the bus interfaces are built into the SCRS noted in the block diagram. Note that the AHB and APB are just the protocols to "speak" to the various components on the VBUSM/BMM bus,

    Fabio Nazzi said:
    2) What does "A2A" (Figure 1) mean?

    A2A = AHB to APB interface. Its a bus to bus translator/bridge.

    e2e.ti.com/.../554437

  • Hello Chuck, thanks for your reply.

    I've been working on a JTAG based programmer for a TMS570 MCU. Trying to understand how the protocol and the interconnections work, some doubts have arisen.
    Can AHB-AP directly access the memory map (System registers, SRAM, peripherals, etc)? Or are all accesses made through the CPU?

    Regards!
  • Hello Fabio,

    The only devices with limitations where the CPU has to be used are the low end devices in the Hercules Family. This includes the TMS470M devices as well as the TMS570LS04xx/03xx/02xx and RM41x/RM42x devices (these latter divices are deceiving in that the DAP will return a value indicating AHB is connected when it is not since the AHB flag was tied high in the DAP on these devices).

    All others have a connection through a SCR between the DAP and the AHB so memories in the peripherals as well as the TCM memories can be accessed.