Tool/software:
Hello,
I am modifying the out_of_box demo for IWR6843ISK and adding UART_write
calls to mss_main.c
.
My setup:
-
Standard COM Port (COM15) = Data UART (binary TLV output to visualizer)
-
Enhanced COM Port (COM16) = CLI UART (command/response)
I can successfully print messages with UART_write
when called from certain functions, for example:
int32_t MmwDemo_openSensor(bool isFirstTimeOpen)
{
Task_sleep(200);
UART_Handle uartHandle = gMmwMssMCB.loggingUartHandle;
uint8_t buffer[128];
strcpy((char*)buffer, "opening sensor\n");
UART_write(uartHandle, buffer, strlen((char*)buffer));
}
The same works in:
-
MmwDemo_DPC_ObjectDetection_reportFxn
-
handleObjectDetResult
-
MmwDemo_processPendingDynamicCfgCommands
In all these cases, I get the message printed to COM15 without any problem.
However, when I try to do the same inside static void MmwDemo_initTask(UArg arg0, UArg arg1)
, the message never appears on COM15.
Example: