Other Parts Discussed in Thread: BOOSTXL-SHARP128
Referring to the mesh reference design at
http://www.ti.com/tool/TIDA-010024?keyMatch=TIDA-010024&tisearch=Search-EN-everything&usecase=part-number
Using a CC1312R1 LaunchPad revision D (silicon revision E) with BOOSTXL-SHARP128 LCD screen.
I am not able to get debug output from the LCD or the UART using the debug_root_push or debug_push configurations.
I can confirm the MCU is running by setting breakpoints, and watching LED status, so data is being transferred between the LaunchPads and the MCU is not frozen.
I have enabled either UART or LCD in the following file...
6lowpan_mesh_ti_15_4_cc1312_tirtos_ccs/Application/Defines/sensor.opts removing the "x" in one or the other of the two below defines.
-DxBOARD_DISPLAY_USE_UART
-DxBOARD_DISPLAY_USE_LCD
Then a clean and rebuild was performed.
The text "TI Sensor" will be displayed either on the LCD or in the serial terminal, depending on the above setting, but after that no debug output.
I can confirm the debug does stop on a line such as the following... and executes it but noting is outputted to the LCD or the UART.
Below is copied from 6lowpan_mesh_ti_15_4_cc1312_tirtos_ccs/6lowpan/app_task_root.c
sprintf(msg2,"RX: src:%04x hop:%02d seqNo:%04d size:%04d numTx:%04d numRx:%04d RTT:%08d DeliveryRatio:%02d.%02d",addr, hops, seqno, size,
node_list[i].num_tx, node_list[i].num_rx, node_list[i].avgDelay, node_list[i].deliveryRatio/100, (node_list[i].deliveryRatio-(node_list[i].deliveryRatio/100)*100));
UART_write(handle, msg2, strlen(msg2));
UART_write(handle, msg1, strlen(msg1));
The command in 6lowpan_mesh_ti_15_4_cc1312_tirtos_ccs/Application/ssf.c, however, writes to the LCD correctly, this is where the "TI Sensor" text originates from it seems.
LCD_WRITE_STRING("TI Sensor", 1);