diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2020-04-01 23:52:55 +0200 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2020-04-02 13:56:50 -0400 |
commit | 0a20430e07801a277e2fc37de30035730d1084f2 (patch) | |
tree | d029b09c5d054f45aa479f1a446310d76bee5a7a /config/example.cfg | |
parent | 5c8d15bbee9b1c4c82e3a2ecb5c63ce37f4a8dcb (diff) | |
download | kutter-0a20430e07801a277e2fc37de30035730d1084f2.tar.gz kutter-0a20430e07801a277e2fc37de30035730d1084f2.tar.xz kutter-0a20430e07801a277e2fc37de30035730d1084f2.zip |
serial: Add Fysetc Cheetah board specific reset sequence
Fysetc Cheetah v1.2 boards require a special sequence to reset reliably.
This sequence works for me in all cases. Simpler sequences without
double reset did not work correctly. This is likely because of a weird
stateful circuitry for toggling the bootloader state.
Cheetah boards use RTS to configure bootloader triggering. By default,
pySerial sets RTS on connect, which unfortunately configures the board
to start the bootloader on reset.
Add a toggle for the RTS state to allow users to workaround. The RTS state
is set before the serial connection is opened, so there are no glitches.
Addresses #2026.
Signed-off-by: Grigori Goronzy <greg@chown.ath.cx>
Diffstat (limited to 'config/example.cfg')
-rw-r--r-- | config/example.cfg | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/config/example.cfg b/config/example.cfg index c579864e..b93dda6f 100644 --- a/config/example.cfg +++ b/config/example.cfg @@ -288,15 +288,16 @@ pin_map: arduino # default is to not enable the aliases. #restart_method: # This controls the mechanism the host will use to reset the -# micro-controller. The choices are 'arduino', 'rpi_usb', and -# 'command'. The 'arduino' method (toggle DTR) is common on Arduino -# boards and clones. The 'rpi_usb' method is useful on Raspberry Pi -# boards with micro-controllers powered over USB - it briefly -# disables power to all USB ports to accomplish a micro-controller -# reset. The 'command' method involves sending a Klipper command to -# the micro-controller so that it can reset itself. The default is -# 'arduino' if the micro-controller communicates over a serial port, -# 'command' otherwise. +# micro-controller. The choices are 'arduino', 'cheetah', 'rpi_usb', +# and 'command'. The 'arduino' method (toggle DTR) is common on +# Arduino boards and clones. The 'cheetah' method is a special +# method needed for some Fysetc Cheetah boards. The 'rpi_usb' method +# is useful on Raspberry Pi boards with micro-controllers powered +# over USB - it briefly disables power to all USB ports to +# accomplish a micro-controller reset. The 'command' method involves +# sending a Klipper command to the micro-controller so that it can +# reset itself. The default is 'arduino' if the micro-controller +# communicates over a serial port, 'command' otherwise. # The printer section controls high level printer settings. [printer] |