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/AWR1642: XDS560V2 can not connect to C674x in AWR1642

Part Number: AWR1642

Tool/software: Code Composer Studio

Hi champion,
   My customer is testing their own AWR1642 board. They are using a Specturm Digital XDS560V2 STM debug probe to connect AWR1642. They found the R4F can be connected correctly, but could not connect C674x. The error is as below.
Do you have any suggestion on it?

Thanks,

Adam

  • Adam,

    Have they selected the right DSP code C6748 ?

    -Raghu
  • Hi Raghu,
       Yes, the core is set correctly.The JTAG test connection in ccxml can pass, but when they connect the C674x. Above errors happen in GEL_EvalOnTarget("C674X_0", "GEL_SetWaitInResetMode(1)");.  What is the meaning of the errors above?

    DSS_PreConnect_CheckResetStatus()
    {
        uint32_t pwrap_dprec0_rd = 0;
        uint32_t gempwrsmcfg4_rd = 0;
        int ctxWasConnected = GEL_IsConnected(); /* Store CCS connection state */

        if(0 == ctxWasConnected)
        {
            GEL_Connect();
        }

        pwrap_dprec0_rd = PWRAP_DPREC0;  /* Debug Sub-Domain Power Reset Execution Control Register for DSS */
        gempwrsmcfg4_rd = HW_RD_REG32(DSS_REG_GEMPWRSMCFG4_REG);
     
     
        // Check if PWRSMLRSTHALT is set
        if(0x00020000 == (gempwrsmcfg4_rd & 0x00020000))
        {
            // Check if DSS is powered-off or in application-controlled reset
            if((0x00000000 == (pwrap_dprec0_rd & 0x00000020)) || (0x00020000 == (pwrap_dprec0_rd & 0x0007C000)))
            {
                printf("--->> DSS is under application controlled reset.  Prior to connecting this reset must be released.\n");
                printf("--->> The debugger will enable \"Halt On Reset\" and release the application-extended reset\n");

                GEL_EvalOnTarget("C674X_0", "GEL_SetWaitInResetMode(1)");
                printf("--->> \"Halt On Reset\" has been enabled on the C674X_0");
                DSS_ReleaseDSPHalt();
            }
        }

        if(0 == ctxWasConnected)
        {
            GEL_Disconnect();
        }
    }

  • Hello Adam,
    Can you confirm that they have flashed xwr16xx_ccsdebug.bin or demo application to AWR1642 device and switched the device to SOP-4 mode before connecting to DSS JTAG?

    Regards,
    Jitendra
  • Hello Jitendra,
    Thanks for the good suggestion. I am still checking it with customers.

    Best regards,
    Adam