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.

AWR1843BOOST: Lab 3(Vehicle Occupancy Detection)

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: UNIFLASH

I am using the Vehicle Occupancy Detection User's Guide to run the demo on the AWR1843BOOST EVM.

1. Hardware and Software requirements(checked)

2. Physical Setup(done)

3. Flash the device(done) 

  • I have flashed the below image using Uniflash
  • C:\ti\mmwave_automotive_toolbox_3_0_0\labs\lab0003_occupancy_detection\prebuilt_binaries\oddemo_18xx.bin

4. Choose Visualizer Setup Settings

  • Open the demo from the gui folder(C:\ti\mmwave_automotive_toolbox_3_0_0\labs\lab0003_occupancy_detection\gui\od_demo.m) 
  • Run: od_demo(10, 9, 'C:\ti\mmwave_automotive_toolbox_3_0_0\labs\lab0003_occupancy_detection\chirp_configs\od_demo_1843_8zone.cfg', 0, 1, 0)
  • I get the below error. Please advise.

Starting UI for Occupancy Detection Demo ....
Warning: The JavaFrame figure property will be removed in a future release. For more information see UI Alternatives for MATLAB Apps on mathworks.com.

> In od_demo (line 188)
File C:\ti\mmwave_automotive_toolbox_3_0_0\labs\lab0003_occupancy_detection\chirp_configs\od_demo_1843_8zone.cfg not found!
Output argument "cliCfg" (and maybe others) not assigned during call to "od_demo>readConfigFile".

Error in od_demo (line 232)
cliCfg = readConfigFile(cliCfgFileName);

 

Sajiv

  • It looks like your version of the Matlab runtime is not correct.  I have not seen this JavaFrame warning before.

  • I have Matlab Runtime v9.2(R2017a) installed in my PC. However when I try to open the ....\lab0003_occupancy_detection\gui\od_demo.m file with Matlab Runtime, I get no response from the PC.

    When I try opening the ....\lab0003_occupancy_detection\gui\od_demo.m file with Matlab R2020a full version, then the Matlab file loads. However, I get the error described above.

  • What version of WIndows are you running?  Can you perhaps try on a different PC?

  • I am running Windows 10 64-bit OS. It will be quite challenging to migrate all the tools/licenses to another laptop. I can try though.

    In the meantime, if TI has any Interface Control Documents to understand the HW/SW interface, debug the lab SW files and MATLAB GUI code, that would be very useful.

    Thanks.

  • I have tried with another laptop, the issue persists.

    Regards,

    Sajiv

  • Okay, here's some things you can try:

    With the EVM flashed with the pre-built demo binary, connect the EVM to the PC and start two TeraTerm windows.  The first one to your config (CLI) port and set to 115200 baud.  You should see the demo prompt when you hit enter.  Copy paste the config to the TeraTerm window and verify it digests all the commands without error and starts.  Set the second TeraTerm window to the data COM port (doesn't matter what the baud is, the data will appear as gibberish).  If you see data spewing on the second TeraTerm window, then you have verified that everything on the target side is operating correctly.  I just performed these steps with my AWR1843Boost EVM, and it worked fine.

    If it doesn't work for you, verify that your EVM is supported by checking the Release Notes for the mmWave SDK version 3.4.0.3 (the SDK version that the 3.0 Toolbox demo was built with).  You can go through the release notes archive in docs/relnotes_archive to find the latest SDK for your EVM. You will then need to rebuild the demo with that version of the SDK.

    Also, all of the Matlab GUI code is provided in the /gui folder. You should be able to start Matlab, set the default folder to /gui and build a new executable with the command "mcc -m od_demo.m".

     -dave