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/AWR1642BOOST: AWR1642 High Accuracy lab doesn't seem to work

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

I have an AWR1642Boost board that I have previously gotten to work with the factory-loaded firmware and the mmWave demo visualizer web-app. Next step was to build firmware on my own and get it to work, so I turned to one of the Labs in the industrial toolbox, namely the 16xx flavor of the High Accuracy Range lab. I installed all the pre-requisites following the Release Notes for that lab, imported the projects to my workspace, built them. 

Then I followed the instructions to load the CCS-debug firmware using Uniflash, subsequently loading the 2 compiled binary files for the DSS and MSS devices. Everything attached and loaded fine, Code Composer's console reported all was well. So I then went to the custom browser app for this demo project. It indicated that the device was connected and "Wating for data". But loading the Lab's pre-built config file did not do anything. The plots remained devoid of content. Nothing I tried changed anything. Clicking the "load config from pc and send" did not result in any messages anywhere, so I'm not sure if it's even working. Physically unplugging the AWR board left the link in the corner unchanged.

If I unplug the device and click the Serial Port from the options menu, I get a red error message saying that no serial ports were found, so at least the browser plugin seems able to communicate with the hardware. But re plugging and then clicking the "reconfigure" button does not seem to change anything. The plots stay empty. 

Any thoughts what might be going wrong? I thought perhaps there was a problem with the binaries I compiled (no errors were reported, but who knows...) so I loaded the pre-compiled lab binary as per the instructions in the User Guide for this lab, but to no avail. Same behavior, no data is making it to the plots. 

  • I just downloaded, built, and loaded the firmware for the 16xx variety of the mmWave SDK demo lab, and tested it with the mmWave Demo Visualizer app and it worked just fine, using the CCS and its debug firmware to load the executables.

    I retried the High Accuracy lab from scratch (deleted and re-imported the projects, etc) and now I'm getting a compilation error that I wasn't before -- The DSS project can't find DSPF_sp_fftSPxSP.h. A quick search of the file system and I find that header in c:\ti\dsplib_c674x_3_4_0_0\packages\ti\dsplib\src, as well as c:\ti\c674x-displib_1_03_00_01\src

    I'm curious why the header cannot be found this time but could previously as nothing on the base system has changed aside from deleting and re-importing the CCS projects. Do I need to modify a project property to include the dsplib header locations?

  • It looks like two issues: one is that the lab doesn't run from visualizer. 2nd issue is that the compilation failed due to missing dsp library.

    First, are you using the mmwave_industrial_toolbox_2_0_0?

    I re-tried the high accuracy 16xx lab pre-built binaries, and it worked fine. Things you might need to check: serial port number to match the ports number shown using Device Manager. The baud rates are set correctly. When loading the config, the default scale may not show the data. You can try moving cursor to the top of the figure and press "Autoscale" button. Also note, for any reason things didn't work, board needs to be power cycled to re-load config. Keep pressing load config button to load doesn't help.

    As for the compiling issue, please refer to the user guide under high accuracy 16xx lab. In addition to the software required by sdk1.1, additional dsplib needs to be installed for this lab. Please also install under C:/ti and then try again.

    Hope this helps.

    Regards,

    Michelle

  • Compilation Issue:

    I believe I have installed all of the things mentioned in the User Guide / Release Notes for that lab. What's most bizarre to me is that it compiled fine previously, but after deleting that dss project instance from my file system and re-importing, it's now unable to locate the header file. I am using mmwave_industrial_toolbox_2_0_0.
    I'm using CCS v7.4.0. According to the lab's User Guide, most of the required libraries are automatically installed when you install CCS. There are 2 things that you are supposed to use CCS's built in software installer utility to install. The mmWave device support packages were available, but the TI Emulator heading only had a linux and macos entry. I manually installed the windows variant found (ti_emupack_setup_7.0.100.1_win_32.exe). And finally, the Guide says to install the dsp lib from software-dl.ti.com/.../index_FDS.html

    I think that perhaps that final step is part of my problem since the missing header file seems to live inside this directory. I installed it targeting c:\ti as instructed. Do I need to modify the project file to point at this somehow?


    High Accuracy Visualization issue:

    Retrying the pre-compiled binaries, the demo app is working now. I'm not certain what changed.
  • Hi,

    Sorry for the delay. It seems you've got the problem solved. As to the project file, do you mean the projectspec? It's pointing the dsplib to C:/ti/ location. As long as the dsp lib is installed there, I don't think you need to update the peojectspec file.

    Regards,

    Michelle