add uart1 code for debug