lw35-upgrade/doc/ioc.md
Markus Koch 14216b3888 ioc: avr-bootloader: Add Y command to bypass the subsequent device to bypass
Note: Uncommented delay loop at beginning because of
code size limit.
2019-11-11 16:47:24 +01:00

13 lines
564 B
Markdown

# IOC
## Firmware
### General
* All serial links run at 19200 baud
### Bootloader
* The bootloader is a standard Arduino bootloader with the following additions
* Use ASCII command 'X' to enable byass mode. Everything received on UART RX will be forwarded to UART TX until the next reset.
* Use ASCII command 'Y' to set the next unit in the chain into bypass mode.
* Use ASCII command 'Z' to immediately launch into the user firmware
* Use the following avrdude command to program: `avrdude -p m8 -P /dev/ttyUSBx -c arduino -b 19200 -U flash:w:$(TARGET).hex`