4,199
edits
Changes
m
[[Image:Igepv2expdb9connector.PNG|right|200px]] IGEPv2 Expansion integrates a DB9 RS232 connector. This UART is shared with RS485 so it's incompatible use both interfaces at the same time. For that reason to use UART1 for RS232 comunications you should disable RS485 interface. You can do this [[How_do_I_edit_my_kernel_command_line | adding following kernel cmdline parameter]].
board.ei485=no
You need a Null-Modem DB9 male-make serial cable. Connect the cable between the target board and your PC.
Open the serial port on your PC using your preferred serial communications program (minicom) and configure the port as follows:
* 115200
* 8N1
* no flow control (either software or hardware)
On the target board open a serial port as follows:
$ microcom -s 115200 /dev/ttyS0
Now when you write a character in you PC serial port, the character should appear in the target board.
A detailed guide on how use UARTS can be found by following this link: [[How to use UARTs]]
→How to use serial console
== How to use serial console ==
== How to use LEDs ==