The default console used by the TI keywriter is MCU_UART. In case that MCU_UART is not brought out on the custom boards
how can we switch the keywriter console to other UART instances for example MAIN_UART0
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
The default console used by the TI keywriter is MCU_UART. In case that MCU_UART is not brought out on the custom boards
how can we switch the keywriter console to other UART instances for example MAIN_UART0
Hello,
Yes. The default console used for keywriter software is MCU_UART. It is possible to switch to different UART instance as console.
MCU_UART is initialized by ROM Code and hence it is used directly without configuring in the R5 SPL application of the keywriter binary.
Hence we need to re-order the initial prints & add prints only once the the UART is turned on & clocked. Here is a way to enable MAIN_UART0 as the console for UART:
keywriter-console-switch-main-uart0.zip
Apply the patches on PDK folder of the RTOS SDK.
cd $PSDK_RTOS unzip keywriter-console-switch-main-uart0.zip git am keywriter-console-switch-main-uart0./* cd packages/ti/build make keywriter_image BOARD=j7200_evm
Note: The same could be used for other j7xxx versions as well by making similar changes in the respective j7xxx files in the keywriter folder.
This is tested on 8.5 SDK.
Best Regards,
Keerthy