如何不使用mmWave Demo Visualizer,直接将CLI配置固化到IWR6843AOP芯片的程序里面。

Other Parts Discussed in Thread: IWR6843AOP

TI专家:

      您好,请问如何不使用mmWave Demo Visualizer,直接将配置固化到IWR6843AOP芯片的程序里面。,我在网上看到两种1443的方案:

1、是修改cli.c里面的CLI_task函数,把UART_read 替换成配置相关参数。

2、将mmw_cli.c、mmw_cli.h重写,替换掉

/*****************************************************************************
     * Initialize the CLI Module:
     *      User can choose to create their own task here with the same priority
     *      instead that does hard coded config instead of interactive CLI
     *****************************************************************************/
    MmwDemo_CLIInit(MMWDEMO_CLI_TASK_PRIORITY);

请问哪种方案比较合适?针对IWR6843AOP有没有现成的例子,或者参考的文档。谢谢!

  • 你好,

    industrial toolbox里的Multi-Gesture Recognition Lab里又把配置固定在代码里,你可以参考一下。
  • 您好,请问是否替换掉cli.c然后重新编译就可以了呢?我试了一下,提示如下:

    **** Build of configuration Debug for project mmwave_sdk_68xx_aop_hwa ****

    "C:\\ti\\ccs920\\ccs\\utils\\bin\\gmake" -k -j 4 all -O
     
    rm -f E:/Workspace/workspace_v9_2/mmwave_sdk_68xx_aop_hwa/xwr64xx_aop_mmw_demo.bin
    makefile:206: recipe for target 'pre-build' failed
    process_begin: CreateProcess(NULL, rm -f E:/Workspace/workspace_v9_2/mmwave_sdk_68xx_aop_hwa/xwr64xx_aop_mmw_demo.bin, ...) failed.
    make (e=2): 系统找不到指定的文件。
     
    gmake[1]: [pre-build] Error 2 (ignored)

    编译完成后下载到芯片,并没有自动初始化好,但是通过mmWave Demo Visualizer可以启动,怀疑cli.c并没有更改生效。请问上面的错误提示是什么原因?有没有更详细的指南?谢谢!

x 出现错误。请重试或与管理员联系。