Klipper on Duet 3 Mini5+ and 1LC Toolboard

My printer has been running for a couple of years on Duet3D/RepRap firmware. I have a Duet 3 Mini5+ and 1LC Toolboard.

I’ve not been able to upgrade to Klipper because as LC1 isn’t supported, but came across this suggesting it is now possible.

The instructions are a little vague for my level of experience with Klipper. Can anyone break it down/explain it a little more?

Hello, I think it’s to you I was responding to on Facebook. Sorry this might seem off topic, but my understanding is that duet3 + 1lc should work on klipper natively.
The can-fd emulator you mentioned should not be required.
Here are the steps I think we need to follow, but I haven’t been able to cross the finish line yet.

Here’s what I have found:

  1. The easy part.
    It’s now possible to get duet3-6hc (duet 3 mini5+ too but I don’t have that board) working on canbus in klipper.

I can then scan for it from the rpi (provided you’ve setup the can0 networking interface)

~/klippy-env/bin/python ./canbus_query.py can0
Found canbus_uuid=64b76d277e0e, Application: Klipper
Total 1 uuids found
  1. The hard part I have not quite figured out yet.
    The klipper firmware exists for duet 1lc. The instructions mention that you need openocd installed on the rpi. Also need to solder wires that go from the rpi gpio pins to the duet 1lc GND, SWDCLK, SWDIO, and RST pads.

I seems I was able to do this:

sudo ./install/bin/openocd -f test.cfg
Open On-Chip Debugger 0.12.0+dev-00458-g5c53034d8 (2024-01-03-15:15)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : BCM2835 GPIO JTAG/SWD bitbang driver
Info : clock speed 276 kHz
Info : SWD DPIDR 0x0bc11477
Info : [samc21.cpu] Cortex-M0+ r0p1 processor detected
Info : [samc21.cpu] target has 4 breakpoints, 2 watchpoints
Info : [samc21.cpu] Examination succeed
Info : starting gdb server for samc21.cpu on 3333
Info : Listening on port 3333 for gdb connections
Info : SWD DPIDR 0x0bc11477
Error: [samc21.cpu] clearing lockup after double fault
[samc21.cpu] halted due to debug-request, current mode: Handler HardFault
xPSR: 0x61000003 pc: 0xfffffffe msp: 0xffffffd8
Info : SWD DPIDR 0x0bc11477
Error: [samc21.cpu] clearing lockup after double fault
[samc21.cpu] halted due to debug-request, current mode: Handler HardFault
xPSR: 0x61000003 pc: 0xfffffffe msp: 0xffffffd8
Info : SWD DPIDR 0x0bc11477
Error: [samc21.cpu] clearing lockup after double fault
[samc21.cpu] halted due to debug-request, current mode: Handler HardFault
xPSR: 0x61000003 pc: 0xfffffffe msp: 0xffffffd8
** Programming Started **
Info : SAMD MCU: SAMC21G18A (256KB Flash, 32KB RAM)
Info : Padding image section 0 at 0x0000c601 with 3 bytes
** Programming Finished **
** Verify Started **
** Verified OK **
Info : SWD DPIDR 0x0bc11477
Error: [samc21.cpu] clearing lockup after double fault
[samc21.cpu] halted due to debug-request, current mode: Handler HardFault
xPSR: 0x61000003 pc: 0xfffffffe msp: 0xffffffd8
shutdown command invoked

However I am not able to discover the 1lc.

In my case I am using a duet distribution board. so rj11 from duet3-6hc to distribution board. Then I am using the provided connectors from the distribution board to the 1lc.
I have set canbus terminators.

I guess my next step would be to grab a toolhead (biqu) from another one of my printers and attach it here to see if it discovered.

sources:
https://www.klipper3d.org/Bootloaders.html#samdc21-micro-controllers-duet3d-toolboard-1lc

https://www.klipper3d.org/Bootloaders.html#running-openocd-on-the-raspberry-pi

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.