參考 跟着思兼学习Klipper(21)新一代全能选手: Octopus Max EZ 简要使用记录,github: makerbase-mks / MKS-Monster8
------------------------
$ cd ~/klipper
$ make flash FLASH_DEVICE=/dev/serial/by-id/usb-STMicroelectronics_MARLIN_STM32F407VGT6_CCM_CDC_in_FS_Mode_207F366F4847-if00
$ make flash FLASH_DEVICE=/dev/serial/by-id/usb-STMicroelectronics_MARLIN_STM32F407VGT6_CCM_CDC_in_FS_Mode_207F366F4847-if00
Flashing out/klipper.bin to /dev/serial/by-id/usb-STMicroelectronics_MARLIN_STM32F407VGT6_CCM_CDC_in_FS_Mode_207F366F4847-if00
Entering bootloader on /dev/serial/by-id/usb-STMicroelectronics_MARLIN_STM32F407VGT6_CCM_CDC_in_FS_Mode_207F366F4847-if00
Device reconnect on /sys/devices/platform/ff5d0000.usb/usb3/3-1/3-1:1.0
sudo dfu-util -p 3-1 -R -a 0 -s 0x800c000:leave -D out/klipper.bin
[sudo] password for mks:
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: No DFU capable USB device available
Failed to flash to /dev/serial/by-id/usb-STMicroelectronics_MARLIN_STM32F407VGT6_CCM_CDC_in_FS_Mode_207F366F4847-if00: Error running dfu-util
If the device is already in bootloader mode it can be flashed with the
following command:
make flash FLASH_DEVICE=0483:df11
OR
make flash FLASH_DEVICE=1209:beba
If attempting to flash via 3.3V serial, then use:
make serialflash FLASH_DEVICE=/dev/serial/by-id/usb-STMicroelectronics_MARLIN_STM32F407VGT6_CCM_CDC_in_FS_Mode_207F366F4847-if00
make: *** [src/stm32/Makefile:101: flash] Error 255
------------------------
失敗,先按 [BOOT0],再按 [RESET],進入 bootloader mode,然後執行燒錄。
make flash FLASH_DEVICE=0483:df11
出現下列錯誤
Moonraker requires sudo permission to update the system service. Please check your notifications for further intructions.
執行下述指令,我也不清楚做什麼用,網路上找到的
$ scripts/data-path-fix.sh
再升級 pip,反正就亂玩吧
$ /home/mks/moonraker-env/bin/python3 -m pip install --upgrade pip
X 方向相反,改 stepper_x 或 stepper_y 的方向設定,Y 方向相反,把 stepper_x 和 stepper_y 的接線互換。
沒有留言:
張貼留言