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.

  • TI Thinks Resolved

TMS320DM8168: JTAG Emulator connection problem

Part Number: TMS320DM8168

1.When I connect the DM8168 DSP core with a JTAG emulator,The following information will be warned,


2.But when I click OK,i can read the data on the  DSP core memory register further


3.So  Device core was hung,what does it mean? What is the state of the DSP core?


 


  • Hi Sean,

    You need first connect to Cortex-A8 ARM, then you need to execute special GEL function to enable DSP C674x core, then you can connect to DSP C674x core.

    Check evm816x.gel, hotmenu C674x()

    See also below links:

    processors.wiki.ti.com/.../Connecting_to_DSP_on_C6A8168,_DM8168,_DM8148

    e2e.ti.com/.../282696

    Regards,
    Pavel



  • In reply to Pavel Botev:

    Dear Pavel

    Sorry,Update the working conditions of DM8168:

    1.DM8168 run normally when power up, we can access 4 cores(A8 DSP VPSS M3) of DM8168 by software;

    2.After a period of time(may be 2 days or later), the DSP program is abnormal, we can't access DSP but another cores is OK

    3.We try to use JTAG to debug DSP by CCS online, but it's not response at all. a pop-up dialog below:Device core was hung

    5.But when I click OK,i can read the data on the  DSP core memory register further

    So,What is mean that Device core was hung?Why we can also read the information on the DSP at this time?

  • In reply to Sean wang:

    Sean,

    It seems you have bug in your DSP application. This is an error that was recovered but the code integrity is unknown. At this point it may be possible to dump memory and try to find the source of the error.

    processors.wiki.ti.com/.../Debugging_JTAG_Connectivity_Problems

    Regards,
    Pavel



  • In reply to Pavel Botev:

    Dear Pavel,

    So,According to the failure,Is it a problem caused by a DSP software application?Because we can still read the DSP core data when the DSP core has a failure

    And the register address is in the loop below:

  • In reply to Sean wang:

    Sean wang
    According to the failure,Is it a problem caused by a DSP software application?

    Yes

    Sean wang
    Because we can still read the DSP core data when the DSP core has a failure

    Yes, this is normal and expected. The error was recovered but the code integrity is unknown.

    Sean wang
    And the register address is in the loop below:

    Yes, these addresses belongs to C674x DSP memory map.

    You should debug your DSP application. You can refer to the below pointers to check if these will be in help:

    DM816x Silicon errata, Advisory 2.1.34 — DEMMU May Hang When Used in Table-Walk Mode

    DM816x datasheet, 3.3 DSP Subsystem, 3.9.5 C674x Memory Map

    DM816x TRM, 1.3 C674x DSP Subsystem, 1.5.5 C674x Memory Map

    TMS320C674x DSP Megamodule Reference Guide:
    www.ti.com/.../sprufk5a.pdf

    TMS320C674x DSP CPU and Instruction Set Reference Guide:
    www.ti.com/.../sprufe8b.pdf

    TMS320C674x DSP Cache User's Guide:
    www.ti.com/.../sprug82a.pdf



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.