#Upgrading wnder 3 pro to klipper
1 messages · Page 2 of 1
once after you done the sudo nano /etc/apt/sources.list
and commented the cdrom
#ign1:1 cdrom://[Debian GNU/Linux 12.6.0 bookworm - Official i386 Binary-1 with firmware 20240629-10:19] bookworm Inrelease
Err:2 cdrom://[Debian GNU/Linux 12.6.0 bookworm - Official i386 Binary-1 with firmware 20240629-10:19] bookworm rerelease
Please use apt-cdrom to make this cd-rom recognized by apt. apt-get update cannot be used to add new cd-ROMs
you forgot to do the nano again
I did
it should not say cdrom tbh
you haven't commented the CDrom on /etc/apt/sources.list
I see it now
#cdrom: [Debian GNU/Linus 12.6.0 Bookworm - Official i386 DVD Binary-1 with firmware 2-240629-10@19]/ bookworm contrib main non-free-firmware
now try and update again with this
Do I completely exit nano?:
gotta re-login
Same thing as before
git is already the newest version, so that's something
That's the one that can't be done
can you try the normal update
This, yes? 'cd ~ && git clone https://github.com/dw-0/kiauh.git'
same thing
Updating from such a repository cannot be done securely
and is therefore disabled by deafult
okay go back to /etc/apt/sources.list
In nano?
yep
'sudo nano /etc/apt/sources.list'
then add [trusted=yes] on deb [trusted=yes] cdrom:[Debian GNU/Linux
Where to?
deb cdrom:[Debian GNU/Linux
I'd like to SSH to the machine tbh to work on it but setting up port forwarding is pain
now do step 2 of kiauh
cd ~ && git clone https://github.com/dw-0/kiauh.git
yeah
Done
follow kiauh for this
recommend to use mainsail tbh
@undone bane you'll help apparently
I mean you told him to
uh hi
send me a ss
he's on the kiauh menu now, the linux part is done
ok
how many number of klipper instances?
1 if youre only doing 1 printer
1
i’m not sure if klipper screen works on the kinda screen the ender has
do you really want to use your laptop as a screen for klipper tbh
The laptop itself is good
klipperscreen is only available afaik to the main display of a pi/laptop
I have space to accomodate it next to printer
klipper has its custom UI for the LCD built in
So what do you recomment?
Ok what the
I'd prolly say do mainsail
Media change: insert the disk label;ed
mainsail or fluidd
oof its another Linux apt issue
Fixeable?
why is apt not cooperating 💀
I told you, my laptop is cursed
cdrom should have been disabled in /etc/apt/sources.list
i hope u have this covered bc i don’t really know linux
Neither do I ;)
this is usually the part of /etc/apt/sources.list
commenting the cdrom on slightly fucked installations will fix it usually
usually
can you do sudo nano /etc/apt/sources.list and screenie
I put that in now it's doing something
I think it's installing it-
I put the command in after the insert media
It's unpacking so mnay things
what? wait why is it installing? am i misunderstanding something? @tranquil sandal
What chinese magic is going on!?!?!?
Is it supposed to install?
yeah but nano is just a text editor no?
no
Did that fuck it up?
he hasn't exited the kiauh yet
oh right
commands don't work unless you exit that
Then why is it unpacking this and setting up stuff?
'klipper packages installed'
probably worked then? maybe
oh I bet it just installed klipper without the dependencies
that thing will not work
install dependencies too
wtf
occult laptop
ok sometimes magic happens and we gotta roll with it
Well said
ok so install moonraker now
y
success
Time for moonraker
same problem
Should i do the command?
sudo nano /etc/apt/sources.list
But it did for klipper
why is that back wtf
press enter
lmao
💀
lmao
that’s true
I'll see with the next install
'mainsail'
it literally says there
Please insert cd rom thingy and press [Enter]
mainsail or fluidd depends on if your sane or not
Say no more
i can help with mainsail (the sane option) so i’d pick that
- you can use mobileraker later on with mainsail
Allows me to control printer via phone?
yep
Good, it's pretty far away from my workstation since I moved it
Don't wanna be running back n forth
installed?
his wifi card is slow @undone bane
figures its slow because its an atom laptop lmao
ye
Almost done, I reckon
It built a wheel
ha?
ah lmao
idk kiauh so... wut
Alr, now onto mainsail
eyy
Seems to be going fine
nice
on a different device go to the printer/laptops ip address
How on earth do I do that?
what service do u use for wifi
bro what
And does it matter which device? i.e. Main PC or Mobile?
Vadaphone
to know your ip address, do ip a
or vadafone i don't remember
found it
For laptop
there's 2...
one with scope global
do this then on any other device on the same wifi type that into the top bar of your browser
Alr
should be like 192.168.1.xxx
ip a should output the network interfaces and their corresponding IP addresses
Ok I'm in
nice send a ss
link/ether 28:cd:c4:d1:95:e9 brd ff:ff:ff:ff:ff:ff
[[inet 192.168.2.190/24(YOUR IP ADDRESS IS THIS)]] brd 192.168.2.255 scope global dynamic noprefixroute wlp4s0
valid_lft 82397sec preferred_lft 82397sec
inet6 fe80::9f06:f0ae:16cb:69dc/64 scope link noprefixroute
nice
eyyy your in
iits working
what error
connect your printer
ok ok
wait I forgot he didn't compile the firmware for his printer lmao
lmaoo
on the laptop
do git clone https://github.com/Klipper3d/klipper
not yet
we'll have to compile klipper for your mobo
ye
it doesn't support usb flashing
you'll have to take out the file to a usb drive
and that is quite annoying on non-gui systems
lets keep compiling first, then we'll extract the thingy out of your laptop
do mkdir newklippy; cd newklippy
then git clone https://github.com/Klipper3d/klipper
after that finishes,
cd klipper
then make menuconfig after you do this
that's the klipper menuconfig
Ok
@undone bane do you have any idea how to compile klipper to an ender 3 pro
I don't remember the exact settings to compile it
Klipper has recently caught many eyeballs with its fantastic features and utility for 3D printing. It's a firmware that runs off a Raspberry Pi board and lets you execute high-speed 3D printing and extract the most out of your 3D printer. It has improved motion planning and precise stepper motor control and delivers excellent print quality with ...
looking at this though
https://github.com/Klipper3d/klipper/blob/master/config/printer-creality-ender3pro-2020.cfg
# This file contains pin mappings for the stock 2020 Creality Ender 3
# Pro with the 32-bit Creality 4.2.2 board. To use this config, during
# "make menuconfig" select the STM32F103 with a "28KiB bootloader" and
# serial (on USART1 PA10/PA9) communication.
# It should be noted that newer variations of this printer shipping in
# 2022 may have GD32F103 chips installed and not STM32F103. You may
# have to inspect the mainboard to ascertain which one you have. If it
# is the GD32F103 then please select Disable SWD at startup in the
# "make menuconfig" along with the same settings for STM32F103.
# Flash this firmware by copying "out/klipper.bin" to a SD card and
# turning on the printer with the card inserted. The firmware
# filename must end in ".bin" and must not match the last filename
# that was flashed.
# See docs/Config_Reference.md for a description of parameters.
Hmm
Im in klipper menu
How do I do that?
is it the thing at the sd card reader?
or is it at the lcd screen
rip
but that image is correct
read if it says STM32 or GD32
the motherboard is located near the Y axis 4040 extrusion, the one where you connect the usb
then follow this guide depending on your chip
follow this
Just look around the settings to find the stm32f103 and disable swd
on the bootloader offset, set it to 28kb
back
re-screwed it in
So what exactly do I do
?
Plug in a sd card reader via usb and do 'out/klipper.bin'?
bruh read up first
that would be for later
you still need to set up klipper firmware setting
I download raw file?
Alr
What do I set for micro-controller and processor model?
literally
STM32F103
Then disable SWD on additional options
look around until you find disable SWD
there's baud rate, clock reference...
afaik you can leave that default
if it doesn't work, then we'll have to set up baud rate to 115200
Alright
v4.2.2 boards only communicate at that baud rate for some reason
but Auto is fine if there is an auto
my sd card is cleared and ready
Okay now save and exit
Already did
then command make
It's compiling stuff
wait for it to finish
It's done
yes, it green
Good, now do sudo echo 1
it listed '1'
then watch -x sudo blkid
It lists something like /dev/sda1 right?
ye
then some random thingy
okay what I want you to do is watch the output change and find the name of the device that got inserted when you plug in the sd card
is that okay?
so ip lug it in and see what changes?
yep
Ok an extra line appeared
wait you sure its /dev/sda?
ye
what's the other /dev/sd letters
When I unplug, it dissapears
can you list them
Wdym other letters
On same line?
Ah ok
all the lines
Theres /dev/mmcb1k2p(1 till 3):
how the fuck is your system not installed in sda1
Chinese magic ig
oh that's probably where it is installed lmao
here's the pain
do you want to format this via the terminal or can you just plug it in to your phone to repartition this
or do you have another laptop so you can format this to f32
I have my main computer
yeah plug it in there first, then format it to fat32
'create and format disk partitions'
yep
as much as I would like you to partition off of the command line
its fucking pain
Irt's already fat32
are you sure?
you used that to install debian
ye
check if its still /dev/sda
Still /dev/sda1
I typed that in, pressed enter, it went to newl ine
So I don't know if it did anything
you hit \
just enter and you'll be fine
you can repeat it again just to be sure
now do cp ~/newklippy/klipper/out/klipper.bin /mnt/
permission denie
go add sudo on the front
sudo unmount command not found
my internet is abysmally slow btw, you're gonna have a hard time lmao
:c
Not unmount, U mount (umount)
DOne
put it now on the printer
Ok, one moment
once you do that, plug it in to the laptop, go to the web ui(mainsail) then firmware restart
:c
Thats what I did
then turn it back on
then do this
What mainsail ui?
did you plug in the printer?
This, maybe?
it shouldn't be on marlin
rename the klipper.bin in your computer to firmware.bin
then reboot your printer
sd init fail
do you have two .bin files on your sd card
Ming guiding me again?
please fully turn off your printer too, idk if you turn it off only with psu
it should honestly just go boot to klipper immediately once usb and psu power is removed
Did that, didn't boot
to it
recompile klipper again
remind me, how to do that?
do the same steps discussed above
yeah
so long as its compiled and moved to sd card
when you do umount, wait until user@user appeara again
Then unplug
do the same thing again reflashing the ender 3 pro by plugging it in
yep
plug SD first
before USB
sd init fail
lol rip
What happens now?
nvm it's 32kb now
just wait I'll make my own
Looks like gibberish to me ngl
alr
heya how’s it going
bro can't flash firmware to ender 3 pro
damn
stuck at sd card init fail which is marlin
I'm betting he plugs in the USB first before the SD card
and that causes the board to turn on
Absolutely not
can you wipe the board to remove the marlin?
ah lol
to something gibberish like firmware-waegu2buo2b.bin
Is it possible that 64gb is too big?
maybe the previous flash is just named firmware.bin, so it doesn't recognize it
that's also possible
could be tbh
Because u shared screenshot
you said it like really really earlier
lemme try do a transplant onto my 8gb one
This one specifically
if its blank, its good
Then plug it in
if the LCD is blank, its good
wdym
no display
I plugged sd card in
no text, no nothing
Do I turn it on?
yes
good
plugging in usb now!
ok
then type this
wget https://github.com/Klipper3d/klipper/blob/master/config/printer-creality-ender3pro-2020.cfg```
done
can you replace cfg on mainsail @undone bane
He's busy playing a tycoon
Yes
Just delete the old file and replace it with the new file
yeah teach this man
download this config on your main pc
DOne
How to rename?
right click
Done
connect the printer and firmware restart
printer is not ready....
He has to rename the path first no? Or already done that?
oh yeah forgor
bruh
whilep lugged in to printer or?
while plugged in
Yes
Idk the serial of my printer though
bruh
that's your printer
/dev/serial/by-id/<what appeared there>
list it here so you can take a note on what to put on printer.cfg later
/dev/serial/by-id/usb-1a86_USB_serial-if00-port0
okay good
now go to mainsail and click the printer.cfg
find the part that says
serial: /dev/serial/blabhba```
replace the serial with that
yep
though in that case, the default printer.cfg for the ender 3 pro actually knows the name lmao
is this bad?
now you can firmware restart
if it fails, download the klipper log and read what's on the end
yep
wait for it to error out
Hm?
On the end
serialhdl.error: mcu 'mcu': Serial connection closed
can you by chance restart again
fw restart
Or the entire procedure?
and then give me the logs
at least someone can actually read the logs and know what it is
Did he cover the power on the USB cable?
That makes a difference wether it's info or power only?
On some printer, if the power lines are not covered, it can behave weirdly
zpinks
Bruh
blud did not save
Did u save?
My pronouns live up to their name
So what do I do?
Then save it
and CHECK if there's another [mcu] entry
but it's that by deafult
find if there's another mcu entry at the end
Can use Ctrl + f to search
it could be there's two and that is getting overriden by the last mcu entry
this
only 1
U know what, just send the whole printer.cfg file lmao
its literally this
Huh, then is it an old log?
fr 😭
ya'll getting edged
the fuck
Which part of the log did u read? The ones at the end show the path is configured correctly
klippy(2).log
at the Could Not Open /dev/serial/by-id/<your-mcu-name-here> lmaoooo
Should I turn printer off, take out the sd card, then do it all again?
Nah, check when that was done
The timestamp
Go to the end of the log, that's where you will see the most recent errors
@last valve go to your laptop and do sudo nano /home/eldar/printer_data/config/printer.cfg
its reading the printer.cfg from there
Ok I'm in
screenie
MCU reads same thing
maybe you have to restart klipper
restart your computer
Main?
no
Ok laptop then
yuh
THe printer ain't ready
ha?
it still reports klipper is still using the old config file
How did you come to that conclusion? The <your-path> thing?
the cfg isn't as long
cfg literally looks like this
===== Config file =====
[mcu]
serial = /dev/serial/by-id/<your-mcu-id>
[virtual_sdcard]
path = /home/eldar/printer_data/gcodes
on_error_gcode = CANCEL_PRINT
[printer]
kinematics = none
max_velocity = 1000
max_accel = 1000
what?!
Ur reading old logs!!
its not old logs
They're new tho
Tiem stamp reads 4 min ago
Yes I know, but it stores log from even months ago if it's not deleted
So you have to go to the bottom of the file to see the most recent logs
Will I have to take sd card out?
Wait u still have it in? Try plugging it out
its a firmware issue
You mean same error?
its timing out, that means its usually the firmware
NEw logs
I've seen this issue on my v4.2.2 when baud rate not set to 115200
In your firmware file
What did you set it to?
sure
def firmware issue then
So.. what we gon do?
try this one
ok, one sec
doI turn off the printer
?
I'll re-start the printer
ok it worked
Why is it so much faster to home now?
Yay it worky
So, what happens now, @tranquil sandal ?
you're pretty much in
you'll still need to do config changes since you still have warnings, but it should be easy from there on
Alr, may you help me with those?
ask 1 mon for these
I dont really use these features
bro
Yes, tycoon rng
what’s the issue
Now kindly, please help me fix thsese:
Where and how?
printer.cfg i think
Can't find neither of them
you need to add them
I don't see any
What is itl isted as?
As in [?]
In what format?
it stopped working
All I did was change the cable :/
why is it so picky with the cable
Picky little shit wants the ore expensive long cable than the identicle short one
its because some cables are power only
Fair enough
Imma send a pic of my setup
just need a light strip and it'll be good
:D
Cosy :>
what did u want to show me
New heatbreak arrives only 5th-10th of september
COULD arrive earlier
If I get lucky