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/IWR1642: people counting demo

Part Number: IWR1642
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

按照指导进行的,可是在用CCS连接目标时总是报错

C674X_0: Error connecting to the target: (Error -275 @ 0x0) The attempt to poll a target device exceeded its timeout limit. The utility or debugger has requested that a target device be repeatedly accessed for a specific data or status value. This has failed because the built-in limit for the maximum number of attempts when polling the JTAG scan-path has been exceeded. (Emulation package 7.0.100.0)
C674X_0: Error connecting to the target: (Error -1146 @ 0x0) Data scanned out of device is corrupt and not valid. 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 7.0.100.0)
C674X_0: Error connecting to the target: (Error -1146 @ 0x0) Data scanned out of device is corrupt and not valid. 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 7.0.100.0)
CS_DAP_0: Error: (Error -261 @ 0x0) Invalid response was received from the XDS110. (Emulation package 7.0.100.0)
CS_DAP_0: Unable to determine target status after 20 attempts
CS_DAP_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
IcePick_M_0: Error: (Error -261 @ 0xFFFFFEFB) Invalid response was received from the XDS110. (Emulation package 7.0.100.0)
C674X_0: Error connecting to the target: (Error -261 @ 0x0) Invalid response was received from the XDS110. (Emulation package 7.0.100.0)

  • Hello,

    Please check you have right image on the flash device as mentioned in the steps. Help us know which steps are you following here.

    Please search form for similar questions.

    https://e2e.ti.com/support/sensors/f/1023/t/689120

    https://e2e.ti.com/support/tools/ccs/f/81/t/716649?CCS-AWR1642BOOST-C674X-Error-Connecting-to-the-Target

    https://e2e.ti.com/support/tools/ccs/f/81/t/194841?C674X-0-Error-connecting-to-the-target

    Hope this helps. If the issue is image related as mentioned in above threads please confirm and mark fixed.

    Thank you,

    Vaibhav

  • 你好,我是根据user's guide做的,在利用CCS连接目标时一直出错,我现在换用了deployment mode来下载了image,uniflash上现实的程序下载成功,但是接下来我用matlab运行主程序时报错

    类 'matlab.graphics.GraphicsPlaceholder' 没有恰当的方法、属性或字段 'UserData'。

    出错 setup>btnConnect_Callback (line 264)
    controlSerialPort = hUARTPort.UserData.strPort;

    出错 gui_mainfcn (line 95)
            feval(varargin{:});

    出错 setup (line 42)
        gui_mainfcn(gui_State, varargin{:});

    出错 matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)setup('btnConnect_Callback',hObject,eventdata,guidata(hObject))
     
    错误使用 uiwait (line 81)
    计算 UIControl Callback 时出错。

    这个要怎么解决

  • Hello,

    It is not clear from your original question and the follow-up response how and when the problem happens. From your original error log, it appears that the JTAG emulator lost connection to then target somehow. It's possible that the device restarted (i.e. a power failure from JTAG's perspective so it got disconnected).

    I assume this happened after you sent the sensor configuration to the device.

    I would suggest you to check your power supply and make sure that it's rated for 5V 3A. The people counting demo has a high duty cycle and hence higher power requirement. If you use an under-rated power supply with this demo, it may cause such issues such as device re-start once you send the configuration.

    Regards

    -Nitin