1 uart – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual

Page 48

Advertising
background image

U-boot Deployment

COMX-P2020 BSP User Guide (6806800L84B)

48

5.4.1

UART

The P2020 consists of two universal asynchronous receiver/transmitters (UARTs). The UARTs
act independently; The UART#1 acts as the standard input and output device at U-boot; the
UART#2 is not used at U-boot, but the command: func testuart1 can be used to test UART#2 at
U-boot:

1. Connect the UART#2 to another serial port of PC;

2. Connect another terminal to the board's serial console port UART#2 with a baudrate of

115200 8n1n.

3. Run the command at the terminal to UART#1:

=> func testuart1

Please test at UART1, press 'q' to quit:

4. Enter any character at the terminal to UART#2. You can see the character you entered at

the terminal, which means that the input to UART#2 can be outputted to UART#2.

5. Press 'q' at the terminal to UART#2, the UART#2 test will end successfully.

Advertising