From 96a5bda973be11a5e45bbfa70b839fd30a4c177a Mon Sep 17 00:00:00 2001 From: Piezoid Date: Fri, 27 Oct 2023 23:48:24 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20DangerKl?= =?UTF-8?q?ippers/danger-klipper@e7893db70fc9e416807e452d2d5f999a20241844?= =?UTF-8?q?=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 14 + API_Server.html | 14 + Axis_Twist_Compensation.html | 14 + BLTouch.html | 14 + Beaglebone.html | 14 + Bed_Level.html | 14 + Bed_Mesh.html | 14 + Benchmarks.html | 14 + Bootloader_Entry.html | 1668 +++++++++++++++++ Bootloaders.html | 72 +- CANBUS.html | 18 +- CANBUS_Troubleshooting.html | 14 + CANBUS_protocol.html | 14 + CONTRIBUTING.html | 14 + Code_Overview.html | 14 + Command_Templates.html | 14 + Config_Changes.html | 25 + Config_Reference.html | 60 +- Config_checks.html | 16 +- Contact.html | 14 + Debugging.html | 14 + Delta_Calibrate.html | 14 + Dockable_Probe.html | 14 + Endstop_Phase.html | 14 + Example_Configs.html | 14 + Exclude_Object.html | 14 + FAQ.html | 14 + Features.html | 14 + G-Code_Shell_Command.html | 14 + G-Codes.html | 14 + Hall_Filament_Width_Sensor.html | 14 + Installation.html | 14 + Kinematics.html | 14 + MCU_Commands.html | 14 + Manual_Level.html | 14 + Measuring_Resonances.html | 54 +- Multi_MCU_Homing.html | 14 + Overview.html | 15 + PID.html | 14 + Packaging.html | 14 + Pressure_Advance.html | 14 + Probe_Calibrate.html | 14 + Protocol.html | 14 + RPi_microcontroller.html | 49 +- Releases.html | 14 + Resonance_Compensation.html | 14 + Rotation_Distance.html | 14 + SDCard_Updates.html | 14 + Skew_Correction.html | 14 + Slicers.html | 14 + Sponsors.html | 19 +- Status_Reference.html | 14 + TMC_Drivers.html | 14 + TSL1401CL_Filament_Width_Sensor.html | 14 + Using_PWM_Tools.html | 14 + Z_Calibration.html | 14 + .../__pycache__/mkdocs_hooks.cpython-38.pyc | Bin 999 -> 999 bytes _klipper3d/mkdocs-main.yml | 1 + _klipper3d/mkdocs.yml | 1 + img/sponsors/peopoly-logo.png | Bin 0 -> 67472 bytes index.html | 14 + search/search_index.json | 2 +- sitemap.xml | 115 +- sitemap.xml.gz | Bin 228 -> 229 bytes 64 files changed, 2696 insertions(+), 77 deletions(-) create mode 100644 Bootloader_Entry.html create mode 100644 img/sponsors/peopoly-logo.png diff --git a/404.html b/404.html index c4b800f32..1be329c7a 100644 --- a/404.html +++ b/404.html @@ -1119,6 +1119,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/API_Server.html b/API_Server.html index 2dcd3c8ff..915ef466b 100644 --- a/API_Server.html +++ b/API_Server.html @@ -1334,6 +1334,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Axis_Twist_Compensation.html b/Axis_Twist_Compensation.html index 27f3ba966..7f666178f 100644 --- a/Axis_Twist_Compensation.html +++ b/Axis_Twist_Compensation.html @@ -1176,6 +1176,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/BLTouch.html b/BLTouch.html index 8071aedae..2fab15017 100644 --- a/BLTouch.html +++ b/BLTouch.html @@ -1218,6 +1218,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Beaglebone.html b/Beaglebone.html index 43024d39d..7f334e1fa 100644 --- a/Beaglebone.html +++ b/Beaglebone.html @@ -1195,6 +1195,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Bed_Level.html b/Bed_Level.html index efb83e6a1..13b5cf7a8 100644 --- a/Bed_Level.html +++ b/Bed_Level.html @@ -1183,6 +1183,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Bed_Mesh.html b/Bed_Mesh.html index 4a6f25489..0e51b5ca2 100644 --- a/Bed_Mesh.html +++ b/Bed_Mesh.html @@ -1311,6 +1311,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Benchmarks.html b/Benchmarks.html index 4978303e6..2a5b2d0ff 100644 --- a/Benchmarks.html +++ b/Benchmarks.html @@ -1306,6 +1306,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Bootloader_Entry.html b/Bootloader_Entry.html new file mode 100644 index 000000000..dda85b360 --- /dev/null +++ b/Bootloader_Entry.html @@ -0,0 +1,1668 @@ + + + + + + + + + + + + + + + + Bootloader Entry - Danger Klipper documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + Skip to content + + +
    +
    + +
    + + + + +
    + + +
    + +
    + + + + + + +
    +
    + + + +
    +
    +
    + + + + +
    +
    +
    + + + +
    +
    +
    + + + +
    +
    +
    + + +
    +
    + + + + + + + +

    Bootloader Entry

    +

    Klipper can be instructed to reboot into a Bootloader in one +of the following ways:

    +

    Requesting the bootloader

    +

    Virtual Serial

    +

    If a virtual (USB-ACM) serial port is in use, pulsing DTR while at 1200 baud +will request the bootloader.

    +

    Python (with flash_usb)

    +

    To enter the bootloader using python (using flash_usb):

    +
    > cd klipper/scripts
    +> python3 -c 'import flash_usb as u; u.enter_bootloader("<DEVICE>")'
    +Entering bootloader on <DEVICE>
    +
    + +

    Where <DEVICE> is your serial device, such as +/dev/serial.by-id/usb-Klipper[...] or /dev/ttyACM0

    +

    Note that if this fails, no output will be printed, success is indicated by +printing Entering bootloader on <DEVICE>.

    +

    Picocom

    +
    picocom -b 1200 <DEVICE>
    +<Ctrl-A><Ctrl-P>
    +
    + +

    Where <DEVICE> is your serial device, such as +/dev/serial.by-id/usb-Klipper[...] or /dev/ttyACM0

    +

    <Ctrl-A><Ctrl-P> means +holding Ctrl, pressing and releasing a, pressing and releasing p, then +releasing Ctrl

    +

    Physical serial

    +

    If a physical serial port is being used on the MCU (even if a USB serial adapter +is being used to connect to it), sending the string +<SPACE><FS><SPACE>Request Serial Bootloader!!<SPACE>~ requests the bootloader.

    +

    <SPACE> is an ASCII literal space, 0x20.

    +

    <FS> is the ASCII File Separator, +0x1c.

    +

    Note that this is not a valid message as per the +MCU Protocol, but sync characters(~) +are still respected.

    +

    Because this message must be the only thing in the "block" +it is received in, prefixing an extra sync character can increase reliability if +other tools were previously accessing the serial port.

    +

    Shell

    +
    stty <BAUD> < /dev/<DEVICE>
    +echo $'~ \x1c Request Serial Bootloader!! ~' >> /dev/<DEVICE>
    +
    + +

    Where <DEVICE> is your serial port, such as /dev/ttyS0, or +/dev/serial/by-id/gpio-serial2, and

    +

    <BAUD> is the baud rate of the serial +port, such as 115200.

    +

    CANBUS

    +

    If CANBUS is in use, a special +admin message will request the bootloader. +This message will be respected even if the device already has a nodeid, and will +also be processed if the mcu is shutdown.

    +

    This method also applies to devices operating in +CANBridge mode.

    +

    Katapult's flashtool.py

    +
    python3 ./katapult/scripts/flashtool.py -i <CAN_IFACE> -u <UUID> -r
    +
    + +

    Where <CAN_IFACE> is the can interface to use. If using can0, both the -i +and <CAN_IFACE> may be omitted.

    +

    <UUID> is the UUID of your CAN device.

    +

    See the +CANBUS Documentation +for information on finding the CAN UUID of your devices.

    +

    Entering the bootloader

    +

    When klipper receives one of the above bootloader requests:

    +

    If Katapult (formerly known as CANBoot) is available, klipper will request that +Katapult stay active on the next boot, then reset the MCU (therefore entering +Katapult).

    +

    If Katapult is not available, klipper will then try to enter a +platform-specific bootloader, such as STM32's DFU +mode(see note).

    +

    In short, Klipper will reboot to Katapult if installed, then a hardware specific +bootloader if available.

    +

    For details about the specific bootloaders on various platforms see +Bootloaders

    +

    Notes

    +

    STM32 DFU Warning

    +

    Note that on some boards, like the Octopus Pro v1, entering DFU mode can cause +undesired actions (such as powering the heater while in DFU mode). It is +recommended to disconnect heaters, and otherwise prevent undesired operations +when using DFU mode. Consult the documentation for your board for more details.

    + + +
    +
    +
    + + + + Back to top + + +
    + + + +
    +
    +
    +
    + + + + + + + + \ No newline at end of file diff --git a/Bootloaders.html b/Bootloaders.html index 60f6c672d..eaee37d99 100644 --- a/Bootloaders.html +++ b/Bootloaders.html @@ -1206,6 +1206,13 @@ SAM4 micro-controllers (Duet Wifi) +
  • + +
  • + + SAMDC21 micro-controllers (Duet3D Toolboard 1LC) + +
  • @@ -1332,6 +1339,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS @@ -1490,6 +1511,13 @@ SAM4 micro-controllers (Duet Wifi) +
  • + +
  • + + SAMDC21 micro-controllers (Duet3D Toolboard 1LC) + +
  • @@ -1766,6 +1794,46 @@

    SAM4 micro-controllers (Duet Wifi)
    bossac --port=/dev/ttyACM0 -b -U -e -w -v -R out/klipper.bin
     
    +

    SAMDC21 micro-controllers (Duet3D Toolboard 1LC)

    +

    The SAMC21 is flashed via the ARM Serial Wire Debug (SWD) interface. +This is commonly done with a dedicated SWD hardware dongle. +Alternatively, one can use a +Raspberry Pi with OpenOCD.

    +

    When using OpenOCD with the SAMC21, extra steps must be taken to first +put the chip into Cold Plugging mode if the board makes use of the +SWD pins for other purposes. If using OpenOCD on a Rasberry Pi, this +can be done by running the following commands before invoking OpenOCD.

    +
    SWCLK=25
    +SWDIO=24
    +SRST=18
    +
    +echo "Exporting SWCLK and SRST pins."
    +echo $SWCLK > /sys/class/gpio/export
    +echo $SRST > /sys/class/gpio/export
    +echo "out" > /sys/class/gpio/gpio$SWCLK/direction
    +echo "out" > /sys/class/gpio/gpio$SRST/direction
    +
    +echo "Setting SWCLK low and pulsing SRST."
    +echo "0" > /sys/class/gpio/gpio$SWCLK/value
    +echo "0" > /sys/class/gpio/gpio$SRST/value
    +echo "1" > /sys/class/gpio/gpio$SRST/value
    +
    +echo "Unexporting SWCLK and SRST pins."
    +echo $SWCLK > /sys/class/gpio/unexport
    +echo $SRST > /sys/class/gpio/unexport
    +
    + +

    To flash a program with OpenOCD use the following chip config:

    +
    source [find target/at91samdXX.cfg]
    +
    + +

    Obtain a program; for instance, klipper can be built for this chip. +Flash with OpenOCD commands similar to:

    +
    at91samd chip-erase
    +at91samd bootloader 0
    +program out/klipper.elf verify
    +
    +

    SAMD21 micro-controllers (Arduino Zero)

    The SAMD21 bootloader is flashed via the ARM Serial Wire Debug (SWD) interface. This is commonly done with a dedicated SWD hardware dongle. @@ -2151,13 +2219,13 @@

    OpenOCD and gdb diff --git a/CANBUS_Troubleshooting.html b/CANBUS_Troubleshooting.html index 185d71a08..445412c67 100644 --- a/CANBUS_Troubleshooting.html +++ b/CANBUS_Troubleshooting.html @@ -1126,6 +1126,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/CANBUS_protocol.html b/CANBUS_protocol.html index a612cf627..fa445682a 100644 --- a/CANBUS_protocol.html +++ b/CANBUS_protocol.html @@ -1208,6 +1208,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/CONTRIBUTING.html b/CONTRIBUTING.html index 8c5ea94bd..432e414ac 100644 --- a/CONTRIBUTING.html +++ b/CONTRIBUTING.html @@ -1208,6 +1208,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Code_Overview.html b/Code_Overview.html index f028d5a2a..d54388e1a 100644 --- a/Code_Overview.html +++ b/Code_Overview.html @@ -1223,6 +1223,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Command_Templates.html b/Command_Templates.html index 7aa07d54e..3350239b2 100644 --- a/Command_Templates.html +++ b/Command_Templates.html @@ -1259,6 +1259,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Config_Changes.html b/Config_Changes.html index eb8da39a5..fd9577c9f 100644 --- a/Config_Changes.html +++ b/Config_Changes.html @@ -1165,6 +1165,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS @@ -1293,6 +1307,17 @@

    Configuration ChangesChanges

    +

    20230826: If safe_distance is set or calculated to be 0 in [dual_carriage], +the carriages proximity checks will be disabled as per documentation. A user +may wish to configure safe_distance explicitly to prevent accidental crashes +of the carriages with each other. Additionally, the homing order of the primary +and the dual carriage is changed in some configurations (certain configurations +when both carriages home in the same direction, see +[dual_carriage] configuration reference +for more details).

    +

    20230810: The flash-sdcard.sh script now supports both variants of the +Bigtreetech SKR-3, STM32H743 and STM32H723. For this, the original tag +of btt-skr-3 now has changed to be either btt-skr-3-h743 or btt-skr-3-h723.

    20230801: The setting fan.off_bellow has been changed to fan.min_power. However, this change will not affect users who do not utilize this setting. With this update, a PWM scaling has been introduced between min_power and diff --git a/Config_Reference.html b/Config_Reference.html index 3f01058ef..2da3d5166 100644 --- a/Config_Reference.html +++ b/Config_Reference.html @@ -861,6 +861,13 @@ [adxl345] +

  • + +
  • + + [lis2dw] + +
  • @@ -2356,6 +2363,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS @@ -2859,6 +2880,13 @@ [adxl345] +
  • + +
  • + + [lis2dw] + +
  • @@ -5212,6 +5240,24 @@

    [adxl345][lis2dw]

    +

    Support for LIS2DW accelerometers.

    +
    [lis2dw]
    +cs_pin:
    +#   The SPI enable pin for the sensor. This parameter must be provided.
    +#spi_speed: 5000000
    +#   The SPI speed (in hz) to use when communicating with the chip.
    +#   The default is 5000000.
    +#spi_bus:
    +#spi_software_sclk_pin:
    +#spi_software_mosi_pin:
    +#spi_software_miso_pin:
    +#   See the "common SPI settings" section for a description of the
    +#   above parameters.
    +#axes_map: x, y, z
    +#   See the "adxl345" section for information on this parameter.
    +
    +

    [mpu9250]

    Support for MPU-9250, MPU-9255, MPU-6515, MPU-6050, and MPU-6500 accelerometers (one may define any number of sections with an @@ -5731,7 +5777,14 @@

    [dual_carriage][dual_carriage] config section. +However, the [dual_carriage] carriage will be homed first if both carriages +home in a positive direction and the [dual_carriage] carriage has a +position_endstop greater than the primary carriage, or if both carriages home +in a negative direction and the [dual_carriage] carriage has a +position_endstop less than the primary carriage.

    +

    Additionally, one could use "SET_DUAL_CARRIAGE CARRIAGE=1 MODE=COPY" or "SET_DUAL_CARRIAGE CARRIAGE=1 MODE=MIRROR" commands to activate either copying or mirroring mode of the dual carriage, in which case it will follow the motion of the carriage 0 accordingly. These commands can be used to print @@ -6986,7 +7039,7 @@

    [tmc2660][tmc2240]

    -

    Configure a TMC2240 stepper motor driver via SPI bus. To use this +

    Configure a TMC2240 stepper motor driver via SPI bus or UART. To use this feature, define a config section with a "tmc2240" prefix followed by the name of the corresponding stepper config section (for example, "[tmc2240 stepper_x]").

    @@ -7002,6 +7055,9 @@

    [tmc2240] + + Bootloader Entry + +

  • + + + + + + + + +
  • CANBUS @@ -1456,7 +1470,7 @@

    Verify endstops

    If the endstop appears inverted (it reports "open" when triggered and vice-versa) then add a "!" to the pin definition (for example, -"endstop_pin: ^PA2"), or remove the "!" if there is already one +"endstop_pin: ^!PA2"), or remove the "!" if there is already one present.

    If the endstop does not change at all then it generally indicates that the endstop is connected to a different pin. However, it may also diff --git a/Contact.html b/Contact.html index 072d59bd6..60bf447e9 100644 --- a/Contact.html +++ b/Contact.html @@ -1214,6 +1214,20 @@ +

  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Debugging.html b/Debugging.html index f6f7b054f..433f71fe5 100644 --- a/Debugging.html +++ b/Debugging.html @@ -1222,6 +1222,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Delta_Calibrate.html b/Delta_Calibrate.html index 7855eeddc..2d95c7968 100644 --- a/Delta_Calibrate.html +++ b/Delta_Calibrate.html @@ -1203,6 +1203,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Dockable_Probe.html b/Dockable_Probe.html index 18e885edb..99a79732e 100644 --- a/Dockable_Probe.html +++ b/Dockable_Probe.html @@ -1124,6 +1124,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Endstop_Phase.html b/Endstop_Phase.html index c33e4d085..077a5ec48 100644 --- a/Endstop_Phase.html +++ b/Endstop_Phase.html @@ -1182,6 +1182,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Example_Configs.html b/Example_Configs.html index 044d234d8..ea95b43af 100644 --- a/Example_Configs.html +++ b/Example_Configs.html @@ -1167,6 +1167,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Exclude_Object.html b/Exclude_Object.html index 7fa2aba1a..fb81e791a 100644 --- a/Exclude_Object.html +++ b/Exclude_Object.html @@ -1194,6 +1194,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/FAQ.html b/FAQ.html index 08a0af518..70d022331 100644 --- a/FAQ.html +++ b/FAQ.html @@ -1326,6 +1326,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Features.html b/Features.html index 9e7e681d8..073f01c82 100644 --- a/Features.html +++ b/Features.html @@ -1172,6 +1172,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/G-Code_Shell_Command.html b/G-Code_Shell_Command.html index a5c2a53cc..51762d319 100644 --- a/G-Code_Shell_Command.html +++ b/G-Code_Shell_Command.html @@ -1124,6 +1124,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/G-Codes.html b/G-Codes.html index 43e3e14f9..e76f939b0 100644 --- a/G-Codes.html +++ b/G-Codes.html @@ -2763,6 +2763,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Hall_Filament_Width_Sensor.html b/Hall_Filament_Width_Sensor.html index b6fdda476..ac4ba286f 100644 --- a/Hall_Filament_Width_Sensor.html +++ b/Hall_Filament_Width_Sensor.html @@ -1126,6 +1126,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Installation.html b/Installation.html index 843573e9d..45e14498f 100644 --- a/Installation.html +++ b/Installation.html @@ -1195,6 +1195,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Kinematics.html b/Kinematics.html index 6f5fa8d9b..e2f9e835c 100644 --- a/Kinematics.html +++ b/Kinematics.html @@ -1249,6 +1249,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/MCU_Commands.html b/MCU_Commands.html index 054927c09..f6840592d 100644 --- a/MCU_Commands.html +++ b/MCU_Commands.html @@ -1221,6 +1221,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Manual_Level.html b/Manual_Level.html index fcedc51cc..ae0c2ae71 100644 --- a/Manual_Level.html +++ b/Manual_Level.html @@ -1196,6 +1196,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Measuring_Resonances.html b/Measuring_Resonances.html index be06ce8f8..717023c04 100644 --- a/Measuring_Resonances.html +++ b/Measuring_Resonances.html @@ -832,6 +832,13 @@ +
  • + +
  • + + Configure LIS2DW series + +
  • @@ -1419,6 +1426,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS @@ -1659,6 +1680,13 @@ +
  • + +
  • + + Configure LIS2DW series + +
  • @@ -1792,18 +1820,18 @@

    Measuring Resonances

    -

    Klipper has built-in support for the ADXL345 and MPU-9250 compatible +

    Klipper has built-in support for the ADXL345, MPU-9250 and LIS2DW compatible accelerometers which can be used to measure resonance frequencies of the printer for different axes, and auto-tune input shapers to compensate for resonances. Note that using accelerometers requires some -soldering and crimping. The ADXL345 can be connected to the SPI interface of a -Raspberry Pi or MCU board (it needs to be reasonably fast). The MPU family can +soldering and crimping. The ADXL345/LIS2DW can be connected to the SPI interface +of a Raspberry Pi or MCU board (it needs to be reasonably fast). The MPU family can be connected to the I2C interface of a Raspberry Pi directly, or to an I2C interface of an MCU board that supports 400kbit/s fast mode in Klipper.

    When sourcing accelerometers, be aware that there are a variety of different PCB board designs and different clones of them. If it is going to be connected to a 5V printer MCU ensure it has a voltage regulator and level shifters.

    -

    For ADXL345s, make sure that the board supports SPI mode (a small number of +

    For ADXL345s/LIS2DWs, make sure that the board supports SPI mode (a small number of boards appear to be hard-configured for I2C by pulling SDO to GND).

    For MPU-9250/MPU-9255/MPU-6515/MPU-6050/MPU-6500s there are also a variety of board designs and clones with different I2C pull-up resistors which will need @@ -2196,6 +2224,24 @@

    Configure the Connection

    Restart Klipper via the RESTART command.

    +

    Configure LIS2DW series

    +
    [mcu lis]
    +# Change <mySerial> to whatever you found above. For example,
    +# usb-Klipper_rp2040_E661640843545B2E-if00
    +serial: /dev/serial/by-id/usb-Klipper_rp2040_<mySerial>
    +
    +[lis2dw]
    +cs_pin: lis:gpio1
    +spi_bus: spi0a
    +axes_map: x,z,y
    +
    +[resonance_tester]
    +accel_chip: lis2dw
    +probe_points:
    +    # Somewhere slightly above the middle of your print bed
    +    147,154, 20
    +
    +

    Configure MPU-6000/9000 series With RPi

    Make sure the Linux I2C driver is enabled and the baud rate is set to 400000 (see Enabling I2C diff --git a/Multi_MCU_Homing.html b/Multi_MCU_Homing.html index 3321dea79..eda53c18e 100644 --- a/Multi_MCU_Homing.html +++ b/Multi_MCU_Homing.html @@ -1136,6 +1136,20 @@ +

  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS diff --git a/Overview.html b/Overview.html index 430b54598..efa7648ea 100644 --- a/Overview.html +++ b/Overview.html @@ -1186,6 +1186,20 @@ +
  • + + Bootloader Entry + +
  • + + + + + + + + +
  • CANBUS @@ -1430,6 +1444,7 @@

    Device Specific DocumentsBootloaders: Developer information on micro-controller flashing.

  • +
  • Bootloader Entry: Requesting the bootloader.
  • CAN bus: Information on using CAN bus with Klipper.