Flashing Klipper on A3dp printers

Flashing Klipper on A3dp printers

If running stock image or running a machine upgraded using any of our kits "or if did DIY using our content or guides" the username will always be pi and the password a3dp for the rpi or whatever host you are using .

If running the new Rift or soon to be released PNP IDEX kit you will be able to click flash and update on the main menu and it will update all tool boards and mainboard automatically 

  1. SSH in using putty ,Moba Xterm or a command prompt in terminal. username pi password a3dp
  2. run command these commands in order 
    1. cd klipper
    2. make menuconfig
      1. use settings for you board Octopus 446 cpu running in Rift or Idex kit with Canbus toolboards Octopus running USB with no Canbus boards or if using seperate Canbus adapter to run Can network Duet Board or Troodon stock board Canbus Huvud toolboard "If .62 or newer and or if running Canboot/Katapult bootloader otherwise if running older bootloader set bootloader offset to 2kb instead of 8"
    3. Get you dev id 
      1. usb use this command 

              dev/serial/by-id/*

      2. canbus use this command 

        python3 ~/klipper/lib/canboot/flash_can.py -i  can0 -q

    4. Flash your board, always do toolboards first if running canbus through your mainboard as you can break communication and then need an external programmer or have to downgrade to recover if their was a substantial change. only put the response you get in place of your id in my instructions
      1. usb use this command 

        make flash FLASH_DEVICE=your id

      2. canbus use this command 

        python3 ~/klipper/lib/canboot/flash_can.py -i can0 -f ./out/klipper.bin -u your id

Helpful notes 

  1. For Duet you may need to hit the reset pins if this is first install i will link to my old guide for the original klipper kit we used to sell .
  2. Toolboards can be placed into bootloader mode manually by hitting the boot and reset pins twice within half a sec and then a slow blink approx 1 a sec means you are on a canboot/katapult bootloader and want a 8kbit offset and also means you can flash over Canbus. A fast blink means you are on usb bootloader where you need to connect a micro usb cable to the host aka rpi in most cases and use make flash FLASH_DEVICE=1209:beba as your flash command. You do not do a scan as thats is the static flash command to use.
  3. For Octopus you can flash with sd card by taking the klipper.bin from the out folder and copying to a fat32 sd card and renaming to FIRMWARE.bin then powering up the octopus or reset if already on and then wait 10 sec or more then remove sd card and if succesful teh name will have changed to FIRMWARE.cur. You can also put a jumper on the boot pins and then run lsusb to verify the board is in dfu mode and then run the flash command with 0483:df11 as the board id .

I will add more pictures and possibly a video based on feedback and any requested board configs or other methods like leaving a sd card in octopus and copying the bin through terminal or installing canboot on the Octopus so if runnign Canbus you can still flash directly.

Back to blog

Leave a comment

Please note, comments need to be approved before they are published.