Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Troubleshooting • Re: Trouble setting up Klipper Board

$
0
0
Here's a full break down of the steps and the terminal output as we go:

1. Plug connect DP5 board to Pi via USB (USB-C on DP5 board to USB 3.0 on Pi)
2. Power on Pi Via Power Supply (~5.05V)
3. Log via Putty & Run commands as follows:

Code:

        pi@raspberrypi:~ $ cd ~/katapultpi@raspberrypi:~/katapult $ lsusbBus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubpi@raspberrypi:~/katapult $ sudo dfu-util -ldfu-util 0.11Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.Copyright 2010-2021 Tormod Volden and Stefan SchmidtThis program is Free Software and has ABSOLUTELY NO WARRANTYPlease report bugs to http://sourceforge.net/p/dfu-util/tickets/
4. DP5 board not detected.
5. Put DP5 board into DFU mode - Unplug from Pi, Hold BOOT button, Connect to Pi, Release BOOT button.
6. Run commands:

Code:

        pi@raspberrypi:~/katapult $ sudo dfu-util -ldfu-util 0.11Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.Copyright 2010-2021 Tormod Volden and Stefan SchmidtThis program is Free Software and has ABSOLUTELY NO WARRANTYPlease report bugs to http://sourceforge.net/p/dfu-util/tickets/Found DFU: [0483:df11] ver=2200, devnum=2, cfg=1, intf=0, path="3-1", alt=1, name="@Option Bytes  /0x1FFFF800/01*016 e", serial="FFFFFFFEFFFF"Found DFU: [0483:df11] ver=2200, devnum=2, cfg=1, intf=0, path="3-1", alt=0, name="@Internal Flash  /0x08000000/064*0002Kg", serial="FFFFFFFEFFFF"pi@raspberrypi:~/katapult $ lsusbBus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 003 Device 002: ID 0483:df11 STMicroelectronics STM Device in DFU ModeBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
7. Attempt to flash:

Code:

        pi@raspberrypi:~/katapult $ sudo make KCONFIG_CONFIG=config.dp5 flash FLASH_DEVICE=0483:df11  Flashing out/katapult.bin to 0483:df11dfu-util 0.11Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.Copyright 2010-2021 Tormod Volden and Stefan SchmidtThis program is Free Software and has ABSOLUTELY NO WARRANTYPlease report bugs to http://sourceforge.net/p/dfu-util/tickets/dfu-util: Warning: Invalid DFU suffix signaturedfu-util: A valid DFU suffix will be required in a future dfu-util releaseOpening DFU capable USB device...Device ID 0483:df11Device DFU version 011aClaiming USB DFU Interface...Setting Alternate Interface #0 ...Determining device status...DFU state(10) = dfuERROR, status(10) = Device's firmware is corrupt. It cannot return to run-time (non-DFU) operationsClearing statusDetermining device status...DFU state(2) = dfuIDLE, status(0) = No error condition is presentDFU mode device DFU version 011aDevice returned transfer size 2048DfuSe interface name: "Internal Flash  "Downloading element to address = 0x08000000, size = 4564Erase           [=========================] 100%         4564 bytesErase    done.Download        [=========================] 100%         4564 bytesDownload done.File downloaded successfullySubmitting leave request...Transitioning to dfuMANIFEST statedfu-util: can't detachResetting USB to switch back to Run-Time modemake: *** [src/stm32/Makefile:65: flash] Error 251
8. Check dfu-util:

Code:

        pi@raspberrypi:~/katapult $ lsusbBus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubpi@raspberrypi:~/katapult $ sudo dfu-util -ldfu-util 0.11Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.Copyright 2010-2021 Tormod Volden and Stefan SchmidtThis program is Free Software and has ABSOLUTELY NO WARRANTYPlease report bugs to http://sourceforge.net/p/dfu-util/tickets/        pi@raspberrypi:~/katapult $

Statistics: Posted by gerhick — Tue Jul 01, 2025 4:25 am



Viewing all articles
Browse latest Browse all 8041

Trending Articles