我使用IWR1642 Boost,运行mmwave_industrial_toolbox_4_2_0__win里面的16xx_high_accuracy例程,我用串口工具发送CLI命令到IWR1642,发送完high_accuracy_demo_16xx.cfg里的命令后程序正常运行,然后我用串口发送"sensorStop"命令,CCS上提示mmWave_stop失败,串口操作界面和CCS提示信息如下:
[C674X_0] Debug: Logging UART Instance @008102c0 has been opened successfully
Debug: DSS Mailbox Handle @00807128
Debug: MMWDemoDSS create event handle succeeded
Debug: MMWDemoDSS mmWave Control Initialization succeeded
[Cortex_R4_0] **********************************************
Debug: Launching the Millimeter Wave Demo
**********************************************
Debug: MMWDemoMSS Launched the Initialization Task
Debug: MMWDemoMSS mmWave Control Initialization was successful
Debug: CLI is operational
[C674X_0] Debug: MMWDemoDSS ADCBUF Instance(0) @008102a8 has been opened successfully
Debug: MMWDemoDSS Data Path init succeeded
Debug: MMWDemoDSS initTask exit
[Cortex_R4_0] numRangeBinZoomIn=2,left=0,right=0
enableRangeLimit=1,skipMin=1.000000,skipMax=3.000000
Debug: MMWDemoMSS Received CLI sensorStart Event
Debug: System Heap (TCM): Size: 65536, Used = 33280, Free = 32256 bytes
Debug: MMWDemoMSS mmWave config succeeded[C674X_0] DSS:enableRangeLimit=1,skipMin=1.00,skipMax=3.00,rangeResolution=0.0435,skipLeft=23,skipRight=443
DDR Heap : size 65536 (0x10000), used 8240 (0x2030)
LL2 Heap : size 20480 (0x5000), used 16564 (0x40b4)
LL2 Scratch : size 8192 (0x2000), used 8192 (0x2000)
LL1 Scratch : size 16384 (0x4000), used 4096 (0x1000)
HSRAM Heap : size 8192 (0x2000), used 0 (0x0)
[Cortex_R4_0] Error: MMWDemoMSS mmWave Stop failed [Error code -204087950]
[C674X_0] Error: Asynchronous Event SB Id 15 not handled
请问怎么解决这个问题?
Chris Meng:
你好,
建议你可以进一步跟踪一下代码,看看具体错误在那里。
你可以对比mmw demo里面的sensorstop命令的实现。
wanrong xie:
回复 Chris Meng:
找到原因了,为了逐行调试,我把工程的优化等级关闭了,然后会导致这个错误产生。
但我不明白为什么会跟优化等级有关,能否解释一下呢?
Chris Meng:
回复 wanrong xie:
你好,
可能是MSS/DSS的同步没有做的很好。