Hi,
I am working on a custom TDA4VM board and all my MCU_UART pins are used for some other purpose. How can I use WKUP_UART for UART mode booting?
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.
Hi,
I am working on a custom TDA4VM board and all my MCU_UART pins are used for some other purpose. How can I use WKUP_UART for UART mode booting?
Hi,
Please follow the steps below to boot from WKUP_UART:
Boot mode settings
Boot mode settings for WKUP UART for UART mode booting is different from the boot mode settings used for MCU_UART. To use WKUP_UART use the following boot mode settings:
SW8: 0000_1000
SW9: 0111_0000
After making the above settings you should be able to see ‘CC..’ printing on WKUP_UART console at power up.
SBL Modifications
SBL needs to be modified to use WKUP_UART instead of MCU_UART. Please make the following changes in SBL:
Add uart_cfg.baseAddr = CSL_WKUP_UART0_BASE; before UART_socSetInitCfg in main function at PDK_install_Path\packages\ti\boot\sbl\board\k3\sbl_main.c.
Please refer to the patch below
Once the above modifications are done, you should be able to boot using WKUP UART.
DMSC Logs
WKUP UART is used to get DMSC logs. By default these logs are disabled but you will still see some 5-6 lines of logs after tifs.bin is loaded which cannot be disabled with the current implementation. But these logs will not interfere with boot flow. For more information on enabling and disabling of DMSC logs, please refer to the documentation https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/08_02_00_05/exports/docs/pdk_jacinto_08_02_00_21/docs/userguide/jacinto/family_cfg/jacinto/index_modules_sciclient_jacinto.html#system-firmware-logs-parse
Modifications needed for SPL based boot flow:
On 8.2 SDK the below patch enables booting with WKUP_UART as console:
Attaching the logs on u-boot repo.
8.2-wkup-uart0-console-logs
Regards,
Parth