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.

AWR1642BOOST: How to configure Capture Demo from command line?

Part Number: AWR1642BOOST
Other Parts Discussed in Thread: AWR1642

Hi,

#1 I would like to know how we can configure the AWR1642 for the Capture demo from command line (Win 7 or later) ? I want to play around with some configurations and need some automation. I don't want to copy and paste each line from the script via UART terminal. Can you give some example how to run the sensor setup from command line (similar to arprog_cmdline)?

#2 Is there a way to reset the sensor and run a different configuration without power cycling?

  • Hello Ewald,

    We do not have any scripts that would allow configuration through the command line with a single command. Right now, the only option is to copy/paste the config to the command line each time you run it. Although there is no reason why you shouldn't be able to create your own script to automate that process.

    As for the sensorStop without having to reset, please refer to the following thread: e2e.ti.com/.../2235987

    You will need to make some slight modifications to the code and then rebuild the binaries to support sensorStop, which should allow reconfiguration of the device without power cycling/reset.

    Regards,

    Adrian
  • To automate sending CLI commands over UART you can use TeraTerm ttl scripting to send configuration.

    Here is one example for TeraTerm script for your reference.

    ; file name = userInput.ttl
    timeout = 1
    connect '/C=179'
    setbaud 115200
    var = 1
    result = 0

    fileopen cmdFile 'D:/ti/mmwave_sdk_01_00_00_05/packages/ti/demo/xwr16xx/mmw/profiles/profile_2d.cfg' 0 1


    while var = 1
    wait 'mmwDemo:'
    filereadln cmdFile line
    sendln line
    if result=1 then
    break
    endif
    endwhile


    fileclose cmdFile

    Regards,

    Jitendra Gupta