Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEPv2

524 bytes added, 15:56, 5 September 2012
no edit summary
== How to use UART1 (RS232) ==
To test UARTs we The board has another UART available on J960 connector (UART1). This UART is shared with RS485 so it's incompatible use both interfaces at the same time. For that reason to use UART1 (dev/ttyO0) and UART3 (dev/ttyO2) via J960 connector using for RS232 standardcomunications you should disable RS485 interface. You can do this [[How_do_I_edit_my_kernel_command_line | adding following kernel cmdline parameter]]
*UART1 can used by RS485 driver, we need to disable it, edit igep.ini file: <br> <pre>board.ei485= yes</pre> *UART1 is configured in RS232 driver, when igep line is replaced by (or type in -Maybe you don't found this line-):<br> <pre> board.ei485= no</pre> *By default, UART3 is used by Kernel serial console, we need to disable it, go to igep.ini file, comment next line: <br> <pre>;console=ttyO2,115200n8;console=ttyO</pre>
Now, you can connect the serial AT/Everex Cable to the 10-pin header J960 on the board. In that case the first pin of the AT/Everex Cable (red) should be connected to the pin number 10 of the header J960. You also 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]]
0
edits