CDBUS Bridge has two types of communication ports, which are 3 serial ports and 2 RS485 ports:
- Only one of the three serial ports will be in use at the same time. Inserting USB will switch over to the configuration-free USB serial port (the communication rate will not be affected by the selected baud rate);
- The two RS485 ports are internally connected for easy wiring (or pull up, pull down, and termination resistors).
The CDBUS Bridge has two modes, which are selected by the switch:
git clone --recurse-submodules https://github.com/dukelec/cdbus_bridge.git
- Linux: pip3 install pycrc pyserial
- Mac: pip3 install readline pycrc pyserial
- Windows: pip3 install pyreadline pycrc pyserial
Please refer scripts' --help
message and the Readme.md
under sw/
folder, e.g.:
cd sw/cdbus_tools/
./cdbus_terminal.py --help
Note: The default is 3 seconds for bootloader mode on power-on. The status light will flash when it jumps to the main program. Please use the relevant script tool (except IAP) after this.