We're trying to setup a project using the mmwave_industrial_toolbox_4_12_0 Long_Range_People_Detection binary for the 6843. We are able to load the prebuilt binary for the device, and run through the 6843_50m_3D.cfg on it. When completed, the datapath appears to run, and we get mmwDemo:/> back from the CLI interface indicating it will take another command. That all seems to work. When we compile the project code imported from the toolbox we are doing so with the 03.05.00.04 SDK (like the prebuilt binary that we run successfully).
version
Platform : xWR68xx
mmWave SDK Version : 03.05.00.04
Device Info : IWR68XX QM non-secure ES 02.00
RF F/W Version : 06.03.02.06.20.08.11
RF F/W Patch : 00.00.00.00.00.00.00
mmWaveLink Version : 01.02.06.06
Lot number : 4226697
Wafer number : 20
Die coordinates in wafer: X = 24, Y = 20
Done
mmwDemo:/>
....
mmwDemo:/>sensorStart
Debug: Init Calibration Status = 0xffe
Done
mmwDemo:/>
The code can be flashed from the project binary, but when we configure it with the same 6843_50m_3D.cfg file, we get the same:
Debug: Init Calibration Status = 0xffe
but no 'Done' and the CLI is unresponsive.
So, we try to run it with a BOOST board and debug it. There are a couple of issues. The first is that with the provided project code, it will never break out of the DPM_synch test
...
while (1)
{
int32_t syncStatus;
/* Get the synchronization status: */
syncStatus = DPM_synch (gMmwMssMCB.objDetDpmHandle, &errCode);
..
We can force this through by having it break if it tries more than 10 times without a valid response back, and that does push it through the rest of the initialization to the CLI. This is only needed for debugging with the BOOST board, not for the binary flashed into the board. It's not clear why that is an issue just for the debugging mode.
Moving on, when we load the configuration file while running in the debug mode through a local terminal and initiate the system using sensorStart, we get an error on the debugger console that we don't see with the flashed binary. Here is what we do see from the debug console:
[Cortex_R4_0] **********************************************
Debug: Launching the MMW Demo on MSS
**********************************************
Debug: Launched the mmwaveLink Management Task
Debug: Launched the Initialization Task
Debug: mmWave Control Initialization was successful
Debug: mmWave Control Synchronization was successful
Debug: mmwaveCtrl task setup
Debug: dpm setup
Error: DPM Synchronization timed out
Debug: dpm sync completed
Debug: dpm task launched
Debug: Cycleprofiler Initialized
Debug: CLI is operational
Debug: CLI initialized
Debug: Sending rlRfSetLdoBypassConfig with 3 1 0
Error: Unable to add BPM cfg for BPM disabled. Subframe 0 [Error code -203227134]
Error: MMWDemoMSS mmWave BPM Configuration failed
Exception occurred in ThreadType_Task.
The error: "Error: Unable to add BPM cfg for BPM disabled. Subframe 0 [Error code -203227134]" seems to be the issue.
It's unclear why the project seemingly right off of the development site won't run like the binary, or what the above issue implies about why it won't run the datapath.
Any pointers that you can provide would be much appreciated.
-TomG.