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/AWR1642BOOST: CCS not connected to EVM

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: UNIFLASH, AWR1642

Tool/software: Code Composer Studio

I am trying to read the ADC data using CCS.

However, after making the .ccxml file, when I try to connect to the target, I get the console error that:

IcePick_M_0: Error connecting to the target: (Error -261 @ 0x0) Invalid response was received from the XDS110. (Emulation package 8.0.27.9) 

Before this, I have flashed the "xwr16xx_capture_demo.bin" into AWR164Boost board.

  • Hi,

    Have you created before a target configuration file for xWR1642 before? Do you need help with the steps?

    thank you
    Cesar
  • No, I am afraid Ihavent created this file. Would need the guidance.
  • Anum,

    I think you may have missed a step in trying to replicate the steps found the white paper on RAW data capture using CCS. Whenever you are trying to use CCS to run an application, you first need to flash the CCS debug image to the device and not the actual application image. You need to perform this step so that you can actually connect CCS to the device. Once you perform this step, then you can load the application image from within CCS and then execute the program.

    Please refer to our existing documentation in the SDK about flashing the CCS debug image and also search this forum for similar examples. Please keep in mind that when you are in CCS, you will not load the .bin file application. It will be a .xer4f file instead of a .bin file.

    Regards,
    Kyle
  • Der Kyle, 

    I was using the attached pdf to do the process.

    5545.mmwave_sdk_user_guide.pdf

    If there is any other white paper, can you kindly share it.

    According to the attached image of page 31 of the pdf, I was flashing the highlighted bin file. In the pdf, .xer4f was not mentioned at all.

    Another, to read Raw ADC data, I would only be needing the AWR1642Boost Board. Right?

    Regards

  • When I try to flash "xwr16xx_capture_demo_mss.xer4f" using Uniflash, I get the following error.

    [8/1/2018, 11:58:12 AM] [INFO] Cortex_R4_0: Header of C:/ti/mmwave_sdk_01_01_00_02/packages/ti/demo/xwr16xx/capture/xwr16xx_capture_demo_mss.xer4f file indicates it is not a valid file to flash to AWR1642: 0x464c457f
    [8/1/2018, 11:58:12 AM] [ERROR] Cortex_R4_0: !!! Aborting flashing of specified files!!!

    I have power cycles the device before.
  • If I try to load there two files using Uniflash, I get error
    C:\ti\mmwave_sdk_01_02_00_05\packages\ti\utils\ccsdebug\xwr16xx_capture_demo_mss.xer4f
    C:\ti\mmwave_sdk_01_02_00_05\packages\ti\utils\ccsdebug\xwr16xx_capture_demo_dss.xe674

    or,
    C:\ti\mmwave_sdk_01_01_00_02\packages\ti\utils\ccsdebug\xwr16xx_capture_demo_mss.xer4f
    C:\ti\mmwave_sdk_01_02_00_02\packages\ti\utils\ccsdebug\xwr16xx_capture_demo_dss.xe674

    However, when I am able to load the following bin files successfully
    C:\ti\mmwave_sdk_01_01_00_05\packages\ti\utils\ccsdebug\xwr16xx_ccsdebug.bin
    C:\ti\mmwave_sdk_01_01_00_02\packages\ti\utils\ccsdebug\xwr16xx_ccsdebug.bin

    However, when I load the bin files, in CCS, after creating the configuration file, I am unable to connect to the target. Can there by any error of the emulation package? I am not sure however. This is another error I get when tyring to connect to the target.

    Error connecting to the target:
    (Error -261 @ 0x0)
    Invalid response was received from the XDS110.
    (Emulation package 8.0.27.9)
    and
    CS_DAP_0: Error connecting to the target: (Error -261 @ 0x0) Invalid response was received from the XDS110. (Emulation package 8.0.27.9)

    Any help would be appreciated.

    Many Thanks
  • I have alsosearched the forum, but couldnt understand much.

    There was a forum mentioned below in which the person loaded the .bin file, but I guess he was able to connect to the target.
    e2e.ti.com/.../686269
  • Anum,

    Please read through section 3.2.2 from the PDF document that you uploaded to this thread. It explains how CCS development mode works and what the process is for loading the CCS debug image and then loading the program applications.

    TI's Uniflash tool is only used to flash .bin files. The .xer4f and .xe674 and file extensions that are only recognized in CCS. You cannot use these file extensions in Uniflash. As I stated in my previous post, you have to flash the CCS debug image onto the device. After this, you load your actual application files (.xer4f and .xe674) within CCS, not through Uniflash.

    The SDK User's Guide provides all of the information that you need in order to proceed.

    Regards,
    Kyle
  • Thanks a lot, let me try this...

  • Hey Kyle, I was working on the steps. Can you kindly confirm if I need both AWR1642Boost and mmWave-Devpack for this.

    I have been going through different forumns and people have been using both for certain type of application. I am not sure when do we need both boards and when only AWR1642Boost.
  • Hey Kyle, I have been able to connect the CCS to my AWR1642Boost board. However, following the attached tutorial's capture demo (3.3.3), when I start the teraterm, I do not see anything on the screen. I havepressed enter multiple times, but nothing happens.

  • If I press enter, I just see a '-' being displayed on the tera term screen. I am not sure how to proceed.
  • Following is the sequency of steps I have performed:
    1) Formatted the device using Uniflash
    2) Flashed CCS debug file xwr16xx_ccsdebug.bin from mmwave_sdk_01_01_00_02\packages\ti\ utils\ccsdebug
    3) Powered cycle the board in functional mode
    4) Created the target configuration file and launched it.
    5) After connecting C674X_0/DSS and Cortex_R4_0/MSS to the target, loaded the following programs to each C674X_0 and Cortex_R4_0
    xwr16xx_capture_demo_mss.xer4 from C:\ti\mmwave_sdk_01_01_00_02\packages\ti\demo\xwr16xx\capture to Cortex_R4_0
    xwr16xx_capture_demo_dss.xe674 from C:\ti\mmwave_sdk_01_01_00_02\packages\ti\demo\xwr16xx\capture to C674X_0

    6) Ran both C674X_0/DSS and Cortex_R4_0/MSS seperatley and got the success message in Consol Screen.
    7) Without doing anything else to my board or CSS, opened Teraterm. and Selected Com 3/ User UART port.
    8) On the screen, I just see a - and sometmes, random symbols if I press 'enter'
  • Dont bother, the issue is resolved.
    In the default settings of teraterm, Com3 port had a lower baud rate. I just changed the value to the baud rate of Com3 port i.e. 115200 and it is working now.

    Thanks.