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/AWR6843ISK: CCS connection failed, error code -2062

Part Number: AWR6843ISK
Other Parts Discussed in Thread: IWR6843ISK

Tool/software: Code Composer Studio

Hi,

I'm trying to modify the IWR6843ISK image to disable all DSS components and preserve MSS and BSS only, as detailed in this post, and therhe efore trying to connect to the device through CCS.

The error I received is as below. I found relevant discussion in css debugging jtag connectivity, which suggests that the problem is due to faulty image flashed onto the device.

Cortex_R4_0: Error connecting to the target: (Error -2062 @ 0x0) Unable to halt device.

More details:

I've tried flashing ccs_debug/demo image provided from SDK, as well as format SFLASH and none worked. I tried SDK v3.5 and v3.4

I was trying to connect to the ARM CPU R4F, not the DSP 674x core.

I was connecting through user target-configuration file alone, without a project.

I tried resetting jtag clock rate to 1.25MHz and 2.5MHz.

Please let me know if you have any suggestions. Regards.

PJ

  • PJ,

    Can you try the following:

    Launch the debug session for the .ccxml file

    (don't connect to either core)

    Select the R4 core in the debug view.

    From the Toolbar in CCS click the down arrow beside the reset button and select "System Reset".

    If that completes then try connecting to the R4.

    Regards,

    John

  • Hi John

    Thank you for your suggestion. After I select system reset, there was no response from CCS console for 10min, so I suppose the process is completed. Then the attempt to connect the core still fails with the same error message:

    ```

    Error connecting to the target:
    (Error -2062 @ 0x0)
    Unable to halt device. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
    (Emulation package 9.2.0.00002)

    ```

    Regards,

    Phil

     

  • Phil,

    I was hoping that would do the trick.  I will need to see if one of my co-workers has access to a 6843 board.  That may not be possible until Jan 4th.

    Regards,

    John

  • Hi PJ,

    What are the settings of your SOP jumpers? Only SOP0 should be set to ON if you wish to connect with CCS.

    Are you using the on-board XDS110 debug probe?

    Thanks

    ki