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: people count demo time out

Part Number: IWR6843
Other Parts Discussed in Thread: IWR1642

hi, I'm looking at getting the standard iwr6843 working with the people count demo I'm able to load the .bin successfully(all though unifalsh does not detect the board and I have to manually select the board). I have then moved the sop2 to funcinal mode and power cycled the device. I'm then able to get the GUI config screen up and connect the ports but when i click start a black screen appears and after 30 seconds I'm greeted with this

"

Undefined variable "matlab" or class "matlab.webcam.internal.Utility.enumerateWebcams".

Error in webcamlist (line 25)


Error in setup>popupWebcam_CreateFcn (line 612)


Error in gui_mainfcn (line 95)


Error in setup (line 42)


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


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

"

any help would be appreciated more than likely my error. 

  • Hi Marcus,

    This error occurs when the device does not return data to the Matlab program. From the window, it appears that the device successfully took the configuration.

    Please ensure that the device is sending data. The best way to do this is to use a utility like TeraTerm, which can read and display the serial UART data from the COM Port. If the device is sending data, you should see random characters appear when connected to the DATA COM Port.

    If you do not see data coming across the line, please try running the out of box demo to ensure proper functionality of the board.

    Regards,

    Justin
  • hi i have have been able to see data from the uart when using the people count demo, and i have tried the out of the box demo and i was able to get this to work. however i'm unable to get the people count demo to work, im also unable to get certian labs to load such as lab0022_indoor_false_det_68xx i get the following error" [ERROR] Cortex_R4_0: Trouble Writing Memory Block at 0x7ff00 on Page 0 of Length 0x7ff0: (Error -1065 @ 0x0) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.0.27.9)
    [24/01/2019 10:14:33] [ERROR] Cortex_R4_0: File Loader: Verification failed: Target failed to write 0x0007FF00". i have in the past used the iwr1642 is there a chance that this could be an issue and effecting the iwr6843.
  • Hi Marcus,

    For the People Counting demo, please ensure you are using Matlab Runtime 9.2 (2017a). For the lab0022 issue, please open a new ticket so that that issue may be tracked separately.

    Regards,
    Justin