Hey everyone,
I am having issues getting Klipper onto my Duet2 Eth board and would love some insight from anyone who might have had luck flashing it. Currently I have the following setup:
I installed Kiauh which installed Klipper, Moonraker, and Fluidd for me. I went and compiled my firmware for Klipper with the following settings:
[ ] Enable extra low-level configuration options
Micro-controller Architecture (SAM3/SAM4/SAM E70 (Due and Duet))
Processor model (SAM4e8e (Duet Wifi/Eth))
Communication interface (USB)
Before flashing the files I throw the jumper on the erase header connect the board to the Pi and once the DIAG light turns on I take the erase jumper off. Just to make sure the board is connected I run a:
ls /dev/serial/by-id/*
and it returns:
/dev/serial/by-id/usb-03eb_6124-if00
additionally running a:
lsusb
Shows the Duet board as a Bossa device so everything looks good so far. Next I run:
./lib/bossac/bin/bossac --port=/dev/serial/by-id/usb-03eb_6124-if00 -b -U -e -w -v -R out/klipper.bin
and am greeted with:
Erase flash
Done in 4.252 seconds
Write 25252 bytes to flash (50 pages)
[==============================] 100% (50/50 pages)
Done in 0.349 seconds
Verify 25252 bytes of flash
[==============================] 100% (50/50 pages)
Verify successful
Done in 0.282 seconds
Set boot flash true
So everything looks good. Strange thing is if I run a:
ls /dev/serial/by-id/*
I get:
ls: cannot access '/dev/serial/by-id/': No such file or directory*
as well as if I run a
lsusb
I no longer see the Duet board anymore. I have from this point tried to reboot the Duet to see if that was the final step, and nothing. I have rebooted Klipper services and nothing. I have rebooted the Pi and still nothing comes up.
I have been chasing my tail all afternoon trying to get what should have been a quick and easy swap over, but obviously Im either doing something wrong, or missing one little step, this is my firest every Duet board so I could easily be making a mistake somewhere. I did notice all tutorials online people are using the Duet2 Wifi, which this shouldn't make a difference since they are the same base board, just with a different module on it.
Other notes about what I have tried. I have done everything with different usb cables connecting the Duet to the Pi to ensure the issue wasnt with the cable. I have also done this with wall power running into the Pi and not just power from a computers USB port. Additionally, I have flashed everything with and without the microSD card installed as well as with and without the PanelDue screen attached. I have re-installed my Pi from scratch 3-4 times already just to make sure the issue wasnt with my install and everything is up to date. All devices are still plugged into the Duet board since its still installed in the printer, but I dont think that makes a difference (if it does let me know and I can mark everything and pull it tomorrow). I have also pulled the klipper.bin file from the Pi and used Bossa on windows to flash the file both with the name Klipper.bin as well as changing it to Duet2CombinedFirmware.bin just to make sure it didnt matter.
Would love some input from people more familiar with the Duet board. Let me know what I can try