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/IWR6843: Hard-code configuration commands

Part Number: IWR6843

Tool/software: Code Composer Studio

Hi,

I am using IWR6843 ES1.0 and the lab pplcount long range. I follow this steps:

1. Rename/backup existing cli.c source file in mmwave_sdk_03_02_00_04\\packages\ti\utils\cli\src directory

2. Place new cli.c file in directory

3. Re-build cli library using gmake as described in mmWave SDK user guide

 a. Make sure to update setenv.bat with correct device (i.e. iwr16xx) before executing it

 b. Make sure to run 'gmake clean' and then 'gmake all' in the mmwave_sdk_03_02_00_04\packages\ti\utils\cli directory

4. Re-build 16xx mmw project by right-clicking on project in CCS and performing "Re-build" as described in the user guide on the TI Resource

And I flash the EVM with the mss .bin but then I do not receive any output. What am I doing wrong?

When I launch in CCS the settings are set, but I don't receive anything on the output either.

Thanks,

Ana Mattos

  • Hi Ana,

    It appears that you are flashing *_mss.bin which is not correct. You need to flash the combined meta-image binary file as highlighted below:

    Thanks

    -Nitin

  • Hello Nitin,

    Thanks for the fast reply.

    I am flashing the LRPC_lab_xwr68xx.bin, it is in workspace_v9\LRPC_mss_68xx\Debug, but i get nothing in the output. I tried to hit Enter in the Putty serial, in the config COM but nothing happens. I just change the cli.c in SDK and I'm using the original lab example. The cli.c that i am using is from this example here: https://e2e.ti.com/support/sensors/f/1023/p/708175/2616079#2616079, i just changed the settings for my case.

    What may i be doing wrong?

    Thank you,

    Ana Mattos

  • Hello Nitin,

    I did it all again and now i can see mmwDemo:/> come up after press Enter in the CFG Port. But i still can't see data streaming in the Data Serial port. Do you have any idea what can i do?

    Thanks,

    Ana Mattos

  • Hi Ana,

    We need to make sure that the sensor is indeed automatically getting configured at start-up. You should see commands being sent on the control UART when the demo starts but it happens very quickly so you can miss it the first time after connecting to the control UART.

    But if you press the NRST switch on your EVM while TeraTerm / Putty is already connected, you should see configuration commands sent on the already connected terminal. If you don't see this on start-up, then your modified CLI is not taking effect.

    Thanks

    -Nitin

  • Hi Nitin,

    When I press NRST switch on EVM while Putty is already connected, i see configuration commands sent on the already connected terminal but i still get nothing in the Data Serial. Another doubt, before making the modification in cli.c, only using the original lab I received some information in Data Serial, but it seemed to be trash. What should i expect to receive on the Data Port? It works fine in Matlab, but i want to see in Data Port.

    Thanks,

    Ana

  • Hello Nitin,

    I changed to the default config and now i am receiving Data through the Data Port, but i am receiving the way it is in the print screen. What may be causing this?

    Thanks, 

    Ana Mattos

  • Hi Ana,

    This is expected since the data coming on UART is binary data (and not text information) which is meant to be processed/visualized by a Visualizer application. If you have not modified the output format, the GUI provided with the people counting demo should be able to process the data as usual. However, you will need to modify the GUI Matlab code to skip sending the target configuration as you are sending that in C code now.

    Please understand the GUI main function and comment out the function call where it sends the configuration commands to the control UART. I would leave that as a good learning exercise for you :)  

    Regards

    -Nitin