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.

How to change the serial debug interface(UART3) to UART1 or UART2?

Other Parts Discussed in Thread: AM3517

Hardware: custom AM3517 board

Software: WinCE 6.0R3 + BSP_WINCE_ARM_A8_01_02_00_Source

     As the UART3 of customer's board is unavailable, so I couldn't get any trace from XLDR and eBoot. Does it could use the UART1/UART2 to replace the default serial debug interface? If it could, how to modify the XLDR and eBoot source code? Thanks!

  • The default UART port is configured in am35x_bsp\src\bsp_common\bspcfg\bspcfg.c

    Please look for following definition in bspcfg.c and change accordingly.

    static const DEBUG_UART_CFG debugUartCfg={
        OMAP_DEVICE_UART3,
        BSP_UART_LCR,
        BSP_UART_DSIUDLL,
        BSP_UART_DSIUDLH
    } ;

    If you are looking for similar changes in NK.bin, then EnableDebugSerialClock() function in am35x_bsp\src\oal\oallib\init.c should be changed also.

    Thanks,

    Tao

     

  • Hi Tao,

              Thank you for your help!