106 | | * enable RS485 half duplex no on-board termination |
107 | | {{{#!bash |
108 | | setenv hwconfig "serial:mode=rs485_hd,term=no"; saveenv |
109 | | }}} |
110 | | * enable RS485 full duplex with on-board termination |
111 | | {{{#!bash |
112 | | setenv hwconfig "serial:mode=rs485_fd,term=yes"; saveenv |
113 | | }}} |
114 | | * enable RS232 with hardware flow-control: |
115 | | {{{#!bash |
116 | | setenv hwconfig "serial:mode=rs232_dtr"; saveenv |
117 | | }}} |
118 | | |
119 | | |
120 | | '''Note that {{{hwconfig}}} is also used for serial configuration so care should be taken to preserve that configuration if used''' |
| 107 | * '''Note that setting {{{hwconfig}}} currently requires saveenv to be ran twice''' |
| 108 | * Enable RS485 half duplex no on-board termination |
| 109 | {{{#!bash |
| 110 | setenv hwconfig "serial:mode=rs485_hd,term=no"; saveenv; saveenv |
| 111 | }}} |
| 112 | * Enable RS485 full duplex with on-board termination |
| 113 | {{{#!bash |
| 114 | setenv hwconfig "serial:mode=rs485_fd,term=yes"; saveenv; saveenv |
| 115 | }}} |
| 116 | * Enable RS232 with hardware flow-control: |
| 117 | {{{#!bash |
| 118 | setenv hwconfig "serial:mode=rs232_dtr"; saveenv; saveenv |
| 119 | }}} |
| 120 | |
| 121 | |
| 122 | '''Note that {{{hwconfig}}} is also used for pcie configuration so care should be taken to preserve that configuration if used''' |