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: pplcount_16xx demo does not work with Code composer studio.

Part Number: IWR1642

Tool/software: Code Composer Studio

Hi,

       I am running CCS 7.4.0.00015 with Industrial Toolbox 2.4.0. The SDK used is mmwavesdk_02_00_00_04. But it does not detect anything when run with pplcount_gui.exe. Attached are the logs from both the UI and CCS. Can somebody please help? I must also say, the prebuilt image (lab0011-pplcountquickstart\xwr16xx_pcount_lab.bin) when flashed works. 

Can somebody have a look at the log and let me know what I am doing wrong, please?

Many Thanks,

Tony

6403.log.txt

######################################
Log from CCS Console
######################################

Debug: Heap before creating a tracker
Debug: System Heap (TCM): Size: 65536, Used = 27864, Free = 37672 bytes
Debug: (GtrackModuleInstance *)0x8008a00
Debug: System Heap (TCM): Size: 65536, Used = 50344, Free = 15192 bytes
Debug: MMWDemoMSS Received CLI sensorStart Event
Debug: System Heap (TCM): Size: 65536, Used = 50344, Free = 15192 bytes
Debug: MMWDemoMSS mmWave  config succeeded 
[C674X_0] processCreate: (radarProcessInstance_t *)0x801da0
processCreate: (RADARDEMO_rangeProc_handle *)0x801e0c
processCreate: (RADARDEMO_detectionCFAR_handle *)0x802060
processCreate: (RADARDEMO_aoaEstCaponBF_handle *)0x802c70
processCreate: (radarProcessBenchmarkObj *)0x8042c8
processCreate: heatmap (float *)0x20089000
DDR Heap : size 655360 (0xa0000), used 599948 (0x9278c)
LL2 Heap : size 45056 (0xb000), used 9764 (0x2624)
LL2 Scratch : size 4096 (0x1000), used 2048 (0x800)
LL1 Scratch : size 16384 (0x4000), used 16384 (0x4000)
HSRAM Heap : size 8192 (0x2000), used 0 (0x0)


######################################
Log from GUI Console
######################################

Sending configuration from mmw_pplcount_demo_default.cfg file to IWR16xx ...

   Serial Port Object : Serial-COM3

   Communication Settings
      Port:               COM3
      BaudRate:           115200
      Terminator:         'LF'

   Communication State
      Status:             open
      RecordStatus:       off

   Read/Write State
      TransferStatus:     idle
      BytesAvailable:     0
      ValuesReceived:     0
      ValuesSent:         0


dfeDataOutputMode 1
channelCfg 15 3 0
adcCfg 2 1
adcbufCfg 0 1 1 1
profileCfg 0 77 30 7 62 0 0 60 1 128 2500 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 2
frameCfg 0 1 128 0 50 1 0
lowPower 0 0
guiMonitor 1 1 0 0
cfarCfg 6 4 4 4 4 16 16 4 4 50 62 0
doaCfg 600 1875 30 1
trackingCfg 1 2 250 20 200 50 90
sensorStart
left wall: -6
R wall: 6
front wall: 6
back wall: 0
------------------

  • Former Member
    0 Former Member

    Hello Tony,

    If you are using Industrial Toolbox 2.4.0 and SDK 2.0.0.4, then I guess that you have an ES2.0 version of the IWR1642?

    If yes, then there is a problem with the cfg file you are loading the low power mode must be enabled. The line in red should read lowPower 0 1 :

    dfeDataOutputMode 1
    channelCfg 15 3 0
    adcCfg 2 1
    adcbufCfg 0 1 1 1
    profileCfg 0 77 30 7 62 0 0 60 1 128 2500 0 0 30
    chirpCfg 0 0 0 0 0 0 0 1
    chirpCfg 1 1 0 0 0 0 0 2
    frameCfg 0 1 128 0 50 1 0
    lowPower 0 0
    guiMonitor 1 1 0 0
    cfarCfg 6 4 4 4 4 16 16 4 4 50 62 0
    doaCfg 600 1875 30 1
    trackingCfg 1 2 250 20 200 50 90
    sensorStart

    It appears to me from the log that you are not using the version of the gui and chirp configuration in the People Counting demo  from Industrial toolbox 2.4.0. Please ensure you are using the appropriate visualizer versions too since changes in SDK required a different .cfg file.

    Which version are you using pre-compiled binaries from?

    Best,

    Amanda

  • Hi Amanda,

    Thank you for the information. I am not sure whether it is an ES2.0. There is no sticker as mentioned in the other forums to identify the board. But I received the board from TI last week. So am assuming it is ES2.0. Are there any visually detectable changes between ES1.0 and ES2.0, or any registers which can be interrogated for version?

    I did not load any config last week. But have been using the "Use Default" option within the People Counting GUI (in Toolbox 2.4.0). But today I chose the mmw_PC_6m_ConferenceRoom.cfg found in mmwave_industrial_toolbox_2_4_0\chirps\images\People+Tracking+and+Counting+Application. I have modified lowPower 0 1 as suggested. But unfortunately, it still does not detect people. I have attached the logs.

    The precompiled binary (which works) I used was mmwave_industrial_toolbox_2_4_0\labs\lab0011-pplcount\lab0011_pplcount_quickstart/xwr16xx_pcount_lab.bin I am not sure which version is it.

    2705.log.txt
    
    ######################################
    Log from CCS Console
    ######################################
    
    Debug: Heap before creating a tracker
    Debug: System Heap (TCM): Size: 65536, Used = 27864, Free = 37672 bytes
    Debug: (GtrackModuleInstance *)0x8008a00
    Debug: System Heap (TCM): Size: 65536, Used = 50344, Free = 15192 bytes
    Debug: MMWDemoMSS Received CLI sensorStart Event
    Debug: System Heap (TCM): Size: 65536, Used = 50344, Free = 15192 bytes
    Debug: MMWDemoMSS mmWave  config succeeded 
    [C674X_0] processCreate: (radarProcessInstance_t *)0x801da0
    processCreate: (RADARDEMO_rangeProc_handle *)0x801e0c
    processCreate: (RADARDEMO_detectionCFAR_handle *)0x802060
    processCreate: (RADARDEMO_aoaEstCaponBF_handle *)0x802c70
    processCreate: (radarProcessBenchmarkObj *)0x8042c8
    processCreate: heatmap (float *)0x20089000
    DDR Heap : size 655360 (0xa0000), used 599948 (0x9278c)
    LL2 Heap : size 45056 (0xb000), used 9764 (0x2624)
    LL2 Scratch : size 4096 (0x1000), used 2048 (0x800)
    LL1 Scratch : size 16384 (0x4000), used 16384 (0x4000)
    HSRAM Heap : size 8192 (0x2000), used 0 (0x0)
    
    
    ######################################
    Log from GUI Console
    ######################################
    Opening configuration file C:\Users\tmakkiel\Desktop\mmw_PC_6m_ConferenceRoom.cfg ...
    Opening configuration file C:\Users\tmakkiel\Desktop\mmw_PC_6m_ConferenceRoom.cfg ...
    Sending configuration from C:\Users\tmakkiel\Desktop\mmw_PC_6m_ConferenceRoom.cfg file to IWR16xx ...
    
       Serial Port Object : Serial-COM3
    
       Communication Settings
          Port:               COM3
          BaudRate:           115200
          Terminator:         'LF'
    
       Communication State
          Status:             open
          RecordStatus:       off
    
       Read/Write State
          TransferStatus:     idle
          BytesAvailable:     0
          ValuesReceived:     0
          ValuesSent:         0
    
    
    dfeDataOutputMode 1
    channelCfg 15 3 0
    adcCfg 2 1
    adcbufCfg 0 1 1 1
    profileCfg 0 77 30 7 62 0 0 60 1 128 2500 0 0 30
    chirpCfg 0 0 0 0 0 0 0 1
    chirpCfg 1 1 0 0 0 0 0 2
    frameCfg 0 1 128 0 50 1 0
    lowPower 0 1
    guiMonitor 1 1 0 0
    cfarCfg 6 4 4 0 0 16 16 4 4 50 62 0
    doaCfg 600 1875 30 1
    SceneryParam -6 6 0.05 4
    GatingParam 4 3 2 0
    StateParam 10 5 10 100 5
    AllocationParam 250 0.01 5 1 2
    VariationParam 0.289 0.289 1.0
    trackingCfg 1 2 250 20 200 50 90
    sensorStart
    left wall: -6
    R wall: 6
    front wall: 6
    back wall: 0
    ------------------
    Lost sync at frame 4489(4491), Reason: Header Checksum is wrong, 130 bytes in Rx buffer
    Lost sync at frame 4489(4492), Reason: Header Checksum is wrong, 156 bytes in Rx buffer
    Found sync at frame 4491(4493), after 26.4ms
    

    Many Thanks,

    Tony

  • Following were the values I written down when I received the board (from mmWave_Demo_Visualizer). Not sure whether it is useful to identify whether it is ES1 or ES2.

    RF F/W Version : 02.00.00.01.17.10.5
    RF F/W Patch : 01.01.00.02.18.04.10
    mmWaveLink Version: 01.01.00.05
  • Former Member
    0 Former Member in reply to TonyMakkiel

    Tony,

    To clarify, the precompiled xwr16xx_pcount_lab.bin works for you but when you try and compile the demo yourself it compiles ok but then when you run the pplcount_gui.exe it also runs ok and loads the demo but then in the GUI you get no detection points?

    The GUI appears to work as in the frame number is increasing but there's no detections?

    If this is the case, then I think it is likely that you are not compiling with the correct compiler version for the DSS project. Please note that the DSS requires a specific compiler version not installed with CCS 7.4:

    From the User's Guide:

    "The DSS project must be built using compiler version 7.4.16. To check the build settings, select pplcount_16xx_dss and right click on the project to select Show build settings.... Under the General tab, the Advanced Settings section has a drop down menu for Compiler Version. Ensure that it reads TI v7.4.16."

    Please install this compiler version and try recompiling with it and let me know if that resolves your issue or not. 

    Best,

    Amanda

  • Setting DSP compiler to v7.4.16 resolves the problem.