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.
This is my 3857.cli.c
file for traffic monitoring. I replace this file with C:\ti\mmwave_sdk_02_00_00_04\packages\ti\utils\cli\src\cli.c. Then i rebuild dss and mss part of traffic monitoring in ccs. Though i am not able to make IWR1642BOOST standalone.
Are you able to follow the example to build the standalone 16xx out of box demo successfully?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to AmandaN:
I am able to make mmwavw sdk demo code to work standalone successfully. I have used that working cli.c file which has been provided by you to Attiya Mahmood that i have modified as per my requirement and un the end it works well. Even For traffic monitoring, I have used both the config file mmw_tm_demo_ph2.cfg and mmw_tm_demo_longRange.cfg to make it so but i am not able to make it work as standalone. Above i have attached only cli.c file for long-range.
In reply to Arpit Patel:
Can you describe what the issues you are seeing when you say it isn't working? What happens?
Are you able to successfully rebuild the normal TM demo code? Have you double checked that you are using the correct DSP compiler version?
# TI DSP compilerexport C674_CODEGEN_INSTALL_PATH = $(MMWAVE_SDK_TOOLS_INSTALL_PATH)/ti-cgt-c6000_8.1.3# DSPlibexport C64Px_DSPLIB_INSTALL_PATH = $(MMWAVE_SDK_TOOLS_INSTALL_PATH)/dsplib_c64Px_3_4_0_0# DSPlib C674export C674x_DSPLIB_INSTALL_PATH = $(MMWAVE_SDK_TOOLS_INSTALL_PATH)/dsplib_c674x_3_4_0_0# MATHlibexport C674x_MATHLIB_INSTALL_PATH = $(MMWAVE_SDK_TOOLS_INSTALL_PATH)/mathlib_c674x_3_1_2_1
There should not be an issue if you were following the directions in the original e2e thread. https://e2e.ti.com/support/sensors/f/1023/p/708175/2616079#2616079
I tried to replicate the issue and was not able to. I've captured my steps below:
1. Downloaded mmWave SDK 22.214.171.124
2. Create a new cli.c file for hard coded TM config. Attached here. Replaced the original cli.c file in the CLI folder in the SDK
3. Go to setenv.bat in mmWave SDK change to iwr1642. Run .bat file.
4. Change director to CLI folder and run gmake clean, gmake build commands
5. Open up CCS, import 16xx Traffic Monitoring labs build DSS and MSS projects as usual.
6. Flash the EVM with the .bin from the MSS Debug folder.
7. Open up Tera Term for CFG port (set baud rate to 115200) hit "Enter" key. Should see mmwDemo:/> come up. This means the demo is booting up/hasn't crashed.
8. Open up Tera Term for Data serial port (set baud rate to 921600). See data streaming.
Please follow the steps as specified. I would recommend that you redownload the SDK and the Industrial Toolbox to ensure that the issue isn't related to any source modifications on your local machine.
Thanks for the reply. There was an only problem with cli.c file. I tried to update the cli.c file with long-range config file parameter in many ways but it is not working. Would you help me with this? because i am trying this for long-range.
The original thread as well as my reply has verified that if the steps are followed the hard coded config should not be a problem. Please provide me details of the steps you followed and your debugging to better understand the issue.
I apologize for not mention my issue properly. I have already clarified that previously i followed these same steps but there was the only problem with cli.c file that i have mentioned in the above reply also. So there is nothing wrong with the steps. With following same steps and using provided cli.c file i am able to make board standalone successfully. It means there was only a problem with my cli.c file. Now i want to use it for a long-range so for that i have to update my cli.c file with my long-range parameter but when i did that with using same steps which you have mentioned above it is not working. So guide me how do i arrange my long-range parameter in cli.c file so that i can make board standalone successfully.
You should be taking the verified known working long range cfg provided in the Industrial Toolbox and replacing the existing commands in the provided cli.c with the ones from the cfg file. Make sure to enclose it in quotes as needed. All other commands in the cli.c file can stay.
To understand the changes you can diff the cli.c file I provided with the ph2.cfg from the Toolbox. You should make the same changes for the long range cfg.
I have done the same procedure with cli.c file using long-range config file of traffic monitor. I am using industrial toolbox version 3.6.1. Here is its mmw_tm_demo_longRange.cfg file. First, i have taken all the parameter as it is with enclosed in quotes in cli.c file. Then i compare cli.c file provided by you and cli.c file that i have made. First when i use my cli.c file but as it was not working i make some changes as per cli.c file given by you in many ways (adding some parameters which were not in the long-range config file). Though it was not working. If you could see my long-range config file and compare it with with the long-range config file which you have and if both are different or if you could identify some missing parameter in my given file and making it proper file which i can use in my cli.c file and load it successfully without any issue like the proper cli.c file which you have provided which work succefully.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.