From 5e10bc035b4cb83732b46aa2584ddd2b76ea462b Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 31 Jul 2023 13:59:16 -0400 Subject: [PATCH] readme: replace stale references to flash_can.py Signed-off-by: Eric Callahan --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f9c885e..f369f4c 100644 --- a/README.md +++ b/README.md @@ -82,21 +82,21 @@ with Katapult again. of the "application offset" in Katapult. 3) Enter the bootloader. This will occur automatically if no program is detected. If you built Katapult with an alternative method of entry you may use that. - If upgrading from a currently flashed version of Klipper the `flash_can.py` + If upgrading from a currently flashed version of Klipper the `flashtool.py` script will command the device to enter the bootloader (currently for CAN devices only). 3) Run the flash script: For CAN Devices: ``` cd ~/katapult/scripts - python3 flash_can.py -i can0 -f ~/klipper/out/klipper.bin -u + python3 flashtool.py -i can0 -f ~/klipper/out/klipper.bin -u ``` Replace with the appropriate uuid for your can device. If the device has not been previouisly flashed with Klipper, it is possible to query the bootloader for the UUID: ``` - flash_can.py -i can0 -q + flashtool.py -i can0 -q ``` For USB/UART devices: @@ -106,7 +106,7 @@ with Katapult again. pip3 install pyserial ``` ``` - python3 flash_can.py -d -b + python3 flashtool.py -d -b ``` Replace `` the the path to the USB/UART device you wish to flash. The `` is only necessary for UART devices, and defaults