User manual
B onrisctool.py
B. onrisctool.py
OnRISC configuration utility provides following features to configure OMAP3 based devices:
• configure serial interfaces (RS232, RS422 etc.)
• configure OTG/CFast switching
• configure RTC
• configure digital I/O
• get EEPROM info
• set MACs from EEPROM
B.1. Configure Serial Interfaces
Both VS-860 and Alekto2 provide two UARTs working in RS232/RS422/RS485 modes. Invoking
onrisctool.py without parameters will show which mode each port is configured to:
Port 1: mode control: DIP-switch
Port 1: mode: rs232
Port 2: mode control: DIP-switch
Port 2: mode: rs232
As one can see both port are configured in RS232 mode through DIP-switches. To switch the first
port into RS422 mode execute:
onrisctool.py -t rs422 -p 1
All possible modes are show in the Table 8
Mode Description
dip DIP-switch settings are valid
loop loopback mode
rs232 RS232
rs422 RS422
rs422-term RS422 with termination
rs485-fd RS485 full duplex
rs485-fd-term RS485 full duplex with termination
rs485-hd RS485 half duplex
rs485-hd-term RS485 half duplex with termination
Table 8: Serial Modes (Software switching)
May 2014 OnRISC User Manual 73