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: running people counting demo (lab0011) in debug mode

Part Number: IWR1642
Other Parts Discussed in Thread: SYSBIOS, , , IWR6843ISK

Tool/software: Code Composer Studio

Hello team,

My customer started to evaluate our people counting demo (based xWR1642) and they have tried to run the demo in a debug mode and failed.

they have flashed the xwr1642ccdebug.bin, and load the xwr16xx_pplcount_mss.xer4f and xwr16xx_pplcount_dss.xe674.

Please find below the error they got, could you please propose a solution:

 

[C674X_0] Debug: Logging UART Instance @00815e30 has been opened successfully

Debug: DSS Mailbox Handle @0080d8c8

Debug: MMWDemoDSS create event handle succeeded

[Cortex_R4_0] Exception occurred in ThreadType_Main.

Main handle: 0x0.

Main stack base: 0x8005760.

Main stack size: 0x1000.

R0 = 0x00000000  R8  = 0x00000003

R1 = 0x00000011  R9  = 0x00014fd4

R2 = 0x00000028  R10 = 0x12e20000

R3 = 0xffffe100  R11 = 0x000000d1

R4 = 0x08006750  R12 = 0x080043a0

R5 = 0x0800674c  SP(R13) = 0x08006700

R6 = 0x00008220  LR(R14) = 0x00014eb5

R7 = 0x0001c388  PC(R15) = 0x00014ed4

PSR = 0x400c01df

DFSR = 0x0000080d  IFSR = 0x00000000

DFAR = 0x07ffff94  IFAR = 0x00000000

ti.sysbios.family.arm.exc.Exception: line 209: E_undefinedInstruction: pc = 0x00014ed4, lr = 0x00014eb5.

xdc.runtime.Error.raise: terminating execution

 

second thing, my customer need to extract the point could especially the elevation data, how it can be done?

Thanks in advance

regards,

Shai 

  • Hello Shai,

    What ES version (silicon revision) of IWR1642 are they using?  You can use the device markings described in the IWR1642 Device Errata doc to verify the ES version of the device.

    The current version of the 16xx People Counting lab on the TI Resource Explorer requires IWR1642 ES2.0 and mmWave SDK 2.0.0.4.

    Regards,
    John

  • Hi Shai,

    As John said, please ensure you are using the latest mmWave Industrial toolbox with ES2.0 or Industrial Toolbox version 2.3.0 with ES1.0.  Please ensure the CCSDebug binary is taken from the correct SDK as well. Use SDK 2.0.0.4 with ES2.0 or SDK 1.2.5 with ES1.0.

    The people counting demo exports the point cloud information. By pressing the "Exit" button in the GUI, the GUI will create an fHist file that contains the point cloud. Point cloud will be in the following format:

    1. Range (meters)
    2. Azimuth (radians)
    3. Doppler (Velocity m/s)
    4. SNR

    The IWR1642BOOST EVM cannot return elevation information due to the antenna pattern.  What is the customer trying to achieve with the elevation info?

    Regards,

    Justin

  • Justin, thanks for your detailed clarification.

    I'll check the ES version and act respectively to your inputs and advise back.

    in relation to the elevation information, according to what I know the IWR6843ISK has antenna patterns that alow elevation.

    Do you familiar with lab0015 (pplcount_68xx demo) in the industrial toolkits v3, if it possible to exports the point cloud of the elevation?

    Thanks,

    Best regards,

    Shai Berman

  • Hi Shai,

    The lab0015 68xx People Counting does not export elevation. However, the Out of Box demo will export a point cloud that has X, Y, Z information.

    Regards,
    Justin
  • Justin,

    the elevation information is very important to my customer, there is a way to add the Z axis into the demo?
    could TI support elevation info in people counting demo any time soon?
    Thanks and regards,
    Shai
  • Hi Justin,

    Once we realized that our EVM based on ES1.0 silicon, we get by to work with mmwave SDK 1.02.05 and execute the debug mode, but I encountered other issue when I tried to run the demo GUI in parallel to the debugging.
    I understand that apparently in debug mode the COM port is busy in favor of debugging so the GUI not responding and I can not load the CFG.
    Could you please guide me on how to work properly in debug mode and still run the demo GUI or capture the outputs in a terminal.

    Thanks and regards,
    Shai
  • Hi Shai,

    The debugger will not take the COM Port. If you are unable to connect, it is because a program (besides CCS) is connected to that com port. Please ensure no other programs have connection to the COM Port and try again.

    Regards,

    Justin

  • Hi Justin,

    My name is Gil, and i experienced a related scenario.

    After connecting at debug mode (all the relevant steps ,passed correctly)

    i got this message at the console right after loading and running the project:

    Thank you for the assistance.

    BR

    Gil

  • Justin,

    I have retired and got the following error polt from the pplcount_gui.exe launcher:

    Output argument "strPorts" (and maybe others) not assigned during call to "setup>get_com_ports".

    Error in setup>popupData_CreateFcn

    Error in gui_mainfcn (line 95)

    Error in setup (line 42)

    Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)setup('popupData_CreateFcn',hObject,eventdata,guidata(hObject))

    Output argument "strPorts" (and maybe others) not assigned during call to "setup>get_com_ports".

    Error in setup>popupUART_CreateFcn

    Error in gui_mainfcn (line 95)

    Error in setup (line 42)

    Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)setup('popupUART_CreateFcn',hObject,eventdata,guidata(hObject))

    Error using serial/fopen (line 72)
    Open failed: Port: COM11 is not available. Available ports: COM5, COM6.
    Use INSTRFIND to determine if other instrument objects are connected to the requested device.

    Error in setup>configureDataSport (line 548)

    Error in setup>btnConnect_Callback (line 273)

    Error in gui_mainfcn (line 95)

    Error in setup (line 42)

    Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)setup('btnConnect_Callback',hObject,eventdata,guidata(hObject))

    Error using uiwait (line 81)
    Error while evaluating UIControl Callback.


    Can you please advise back, Thanks.

    Best regards,
    Shai
  • Hi Shai,

    Please ensure that you do need to connect to COM 11, and not COM 6 or COM 5. If COM11 is the correct port, please ensure that no other programs are connecting to the com ports. Most likely there are some other demo connecting to the device and blocking this com port.

    Regards,
    Justin
  • I am having the same problem as shown above. Hoping for an answer to this! Thanks.

  • Hello Gil Albo and Hui Yuan Kok,

    Since the issues you are facing appear to be different from the issues the original poster is having please open a new thread if you are still seeing the problem so the appropriate response and debug can be provided.

    Shai, Please reply if you are still seeing the issue reported.

    Regards,
    John