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.

IWR6843: matlab time out; index exceed matrix dimensions; people counting demo

Part Number: IWR6843
Other Parts Discussed in Thread: UNIFLASH,

hi,

i am trying to run people counting demo on mmwave icboost module along with iwr6843. but the visualizer crashes once i click the start button on the  visualizer. The ports are well connected. the board is flashed correctly using uniflash. i remove the sop2 jumper and power cycled the board but still getting the same error  again and again.
hObject =

UIControl (editUART) with properties:

Style: 'edit'
String: 'COM22'
BackgroundColor: [1 1 1]
Callback: [function_handle]
Value: 0
Position: [0.3046 0.7262 0.2831 0.2857]
Units: 'normalized'

Use GET to show all properties

Opening configuration file mmw_pplcount_demo_default.cfg ...
trackingCfg specifies -6.981317e-01.
GUI specifies 0. 90 will be used for azimuth in cfg.
Sending configuration from mmw_pplcount_demo_default.cfg file to IWR16xx ...

Serial Port Object : Serial-COM22

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

Communication State
Status: open
RecordStatus: off

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


flushCfg
dfeDataOutputMode 1
channelCfg 15 5 0
adcCfg 2 1
adcbufCfg 0 1 1 1
profileCfg 0 60.6 30 10 62 0 0 53 1 128 2500 0 0 30
chirpCfg 0 0 0 0 0 0 0 1
chirpCfg 1 1 0 0 0 0 0 4
frameCfg 0 1 128 0 50 1 0
lowPower 0 1
guiMonitor 1 1 0 0
cfarCfg 6 4 4 4 4 16 16 4 4 50 62 0
doaCfg 600 1875 30 1 1 0
SceneryParam -6 6 0.5 6
GatingParam 4 3 2 0
StateParam 10 5 100 100 5
AllocationParam 250 250 0.25 10 1 2
AccelerationParam 1 1 1
trackingCfg 1 2 250 20 52 82 50 90
sensorStart
left wall: -6
R wall: 6
front wall: 6
back wall: 0
------------------
Warning: Unsuccessful read: The specified amount of data was not returned within the Timeout period..
Index exceeds matrix dimensions.

Error in main_pplcount_viz (line 513)

MATLAB:badsubscript

please help me out.

  • Hi Dua,

    It looks like the device is not returning data.  Please use a utility like Tera Term to monitor the Data com port after the GUI crashes. (COM 5 from the video in your other thread - baud 921600). If the sensor is returning data, you should see random characters continuously coming over in tera term. Please make sure this is the case - otherwise we need to determine why the board is not sending data.

    Regards,

    Justin

  • hi Justin,

    thanks for your reply. When I am running the test people counting demo then the UART AND DATA ports both are connected thats why I couldnot connect to tera term using either of UART and Data ports. I am able to run "Human falls and stances" test. it works properly. I guess the system is returning data. But only the people counting demo is not responding. please help me out in solving this problem.

  • Hi Dua,

    You will have to close the Matlab connection to the device to connect with Tera Term to verify the data is coming across.  As the fall detection demo is a different one, I would like to verify that People Counting is working properly on the device before moving to debugging the visualizer.

    Regards,

    Justin