Thanks for valuable inputs...
I am doing some initial analysis of DUART code. It seems that DUART is initialized in ROM code before bootloader (startup code) and display some characters (showing 'HTLLC' characters on teraterm) still could not figure out exactly but this is initial observation. What i am trying to do instead of DUART, trying to initialize UART0 (COM1) in 'OEMInitDebugSerial' function of debugserial.c.
//pv_HWregUARTDbg = (PVOID) OALPAtoVA(CSP_BASE_REG_PA_UARTDBG, FALSE); //commented | pv_HWregUARTApp0_TEMP = (PVOID) OALPAtoVA(CSP_BASE_REG_PA_UARTAPP0, FALSE); | |
| |
IN BSP, registers and mux settings are totally different for DUART and other UART's. First i am trying to modify 'OEMInitDebugSerial' method for UART0 and will check whether characters are displaying or not on UART0.