UART Multiplexing
Addressed UART mode for Koheron V1 firmware controllers.
UART multiplexing lets several controllers share one UART communication link. It is controlled by muxon and bdid.
muxon is a mode bitmask: 0 is normal single-controller mode, 1 requires addressed commands, and 3 requires address parsing but also accepts unaddressed commands. Modes 1 and 3 suppress the normal prompt and input echo. Use mode 3 only with a dedicated point-to-point UART; on a shared UART, an unaddressed command may be executed by every controller.
>> bdid
1
>> bdid 2
2
>> muxon
0
>> muxon 1
1
After muxon 1, the normal prompt is suppressed and plain commands are ignored. In mode 3, plain commands are accepted without echo or prompt.
@1 version
V1.x
@SN12345 err
0
@* errclr
SN is case-insensitive. Broadcast commands execute silently and do not return replies.
Recovery examples:
@1 muxon 0
0
@SN12345 muxon 0
0
@* muxon 0