Klipper MCU version error fix (read description for more details)
ฝัง
- เผยแพร่เมื่อ 28 ม.ค. 2024
- Quick fix for the versioning issues that have been coming up with the latest Klipper installs.
Klipper Documentation:
www.klipper3d.org/RPi_microco...
Klipper install deep dive video. Most Linux devices require the same steps. The only main difference is usually your /home/{username} folder, your login username and password
• Installing Klipper the...
Klipper installation playlist:
• Klipper installs
Catnip 😺
paypal.me/timpsonmusicllc - วิทยาศาสตร์และเทคโนโลยี
You saved me, I just wasted 2 hours and tons of nerves trying to update the MCUs and nothing worked. But your video man, it saved me.
Lifesaver, no idea what this did but it fixed my version miss match error. Had to have Klipper "make" my config again but my ADXL sensor on my BTT Pad 7 works now. THANKS A TON!
Thank you so much. So much frustration and this finally got it fixed!
Happy to help. Toss me a sub if you found it useful. Every little bit helps spread the word 😀
Perfect, that worked for the CB1 error. I had seen in another group to comment out the ADXL and Resonance lines in the Printer.cfg file and that at least had gotten me working again. But re-flashing the Microcontroller allowed me to re-enable them. Thanks!
Share with a friend because sharing is caring🐱🐱
Commenting out ADXL and resonance did work for me. I may reflash down the line.
@@alansupra94 that's a band aid on a laceration. It takes all of 5 minutes to do it the right way
@@TheFeralEngineer I mean *shrug* it just disables two things I am not using right now. When I update the microcontroller or need to do resonance calibration again I will update. Updating on the Ender series printers can be a pain with the SD cards.
Absolutely fantastic, Thanks!
You are the man. I flashed but didn't change back to linux!!! Thank you smartypants
Thank you, this was very helpful
Thank you so much for this!!!
Dude your my man. Gave you some catnip!
Thanks! 😊
Thanks, this worked perfect with my BTT Pad 7 and the Sovol SV06plus !! Great stuff.
Happy to help! Feel free to toss me a sub if you feel generous 😉
@@TheFeralEngineer Done
@@manfredr372 appreciate it. Thanks for the catnip too!🥰🥰
Hey Phil, after doing this the MCU error went away! SO THANK YOU! After that, I had an error referencing 'numpy' and made sure it was installed through putty and all is good again. The one thing I did notice though was I couldn't select the version of Input Shaper through the Pad 7 screen, like it would show the 4 types but the drop-down would disappear before a selection could be made.
Hm... Haven't looked up see if that's the case on mine yet. I'll have to check. I usually just adxl, put what is suggested into my printer. Cfg and never really mess with it again
thanks phil nice job again
solved it straight away, thank you
THANKS !!!!!
thank you very much.
thank you sooooooooooo much
Thanks! Solved
Make sure you subscribe for more videos in the future 😁😁
Most of the back end stuff is still over my head, is this recompiling the printer firmware? Does that make the firmware off your github obsolete? Been trying to get my 2s and 3 pro going off a pad 7 and been watching your video on it in repeat. You have been a wealth of knowledge and I thank you for sharing it in a way I can understand!
Those binary files have been obsolete since the day they were put up, unfortunately. Every time Klipper gets updated, there's a chance that it won't work with the latest version of Klipper, which is why it's important to know the fundamental steps in getting a proper binary file. I go through it in detail in this video (it should timestamp to the right spot): th-cam.com/video/vUbzLtk5djE/w-d-xo.htmlsi=_ZsqQE2acWF42UxL&t=887
There are two ways to compile a binary, both involve starting an SSH session and going into the make menuconfig screen, the only difference is whether you type make menuconfig or go into the build menu in KIAUH. Both will yield the same result.
The necessary information on building the proper binary is located inside of the printer.cfg for your machine:
# - Compile with the processor model STM32F401.
# - Select the 32KiB bootloader,
# - Select (Serial (on # USART1 PA10/PA9) for the communication interface.
Once the binary file is created, I like to use WinSCP to find the klipper.bin file and copy it to my SD card, rename it to ZNP_ROBIN_NANO.bin and it'll be ready to go .
Check out the video I timestamped and let me know if you need any more assistance, I'm usually around to help pretty often 😺😺
@@TheFeralEngineer what would you name the binary? in the video, you said it could be specific?
I should mention on the BTT Pad 7
@@sjc1778 the Linux device doesn't matter, the board of your machine does. What machine?
@@TheFeralEngineer using a 4.2.7 on an old ender 3 pro
Thank you, friend! You are brilliant! I have question indirectly related to your channel. Several months ago I start working with CNC milling and lathe mashines operator and it's absolutely exciting! Few weeks ago I bought Neptune 3 Pro as my first printer to gain some expirience, and it's exciting as well! Already installing klipper (not so succesfull for now :) ) and new guts to the extruder head. Please, give me some advice, according to your work and life experience. Where should I begin to become as smart as you?) Maybe some literature or activities that could help to gain experience in this area. And thank you again for inspiring such noobs as I am!)
Basically, you can start by reading the programming manuals and if you can get a copy of the programs that you run on the machines you work on, it's great practice to read through a copy of the program and comment every single line to note what it is doing. For example:
G0 G90 G54 G40 G49 G80 (rapid traverse, absolute positioning, work offset #1, cancel cutter radius comp, cancel active tool offset, cancel canned cycle)
T1 M6 (tool change to tool 1)
G0 G90 G54 X0 Y0 (rapid to part zero in X and Y)
G43 H1 Z2. (Rapid to 2" above Z zero, enable tool length offset 1)
Etc.
Etc.
Etc.
Learn about G code modality, how each G code interacts with another from the same group (G0, G1, G2 and G3 are from the same group, as an example), wash, rinse, repeat.
If you have access to an old laptop or a desktop (even a raspberry pi), flash LinuxCNC onto it (it installs a complete Linux system, so you'll either have to dual boot or format the drive) and you can learn g code programming via LinuxCNC and its backplotter before trying the programs out in real world scenarios.
To get to my level, you'll need to study conditional logic, so learning the fundamentals of creating variables, if statements and while loops will help you not only have more control over the machine tool as a whole, it'll allow you to become stronger at anything that includes such functionality. Even Microsoft Excel uses conditional statements. My suggestion to learning that would include learning the basics of a programming language, like Basic, Python or even C. Once you know how to control program flow, you can pretty much do anything on a CNC machine.
Pick up 3d modeling using software like fusion 360 or freecad, learn how to use the cam module they include, generate your own programs from cam, mark them up as mentioned before.
To REALLY get to my level, study industrial electronics, PLC programming (again, LinuxCNC can help there) and build a couple small machines.
Hope this helps.
@@TheFeralEngineer Thank you, friend! Will try!
its hard to tell but you have GPIO pins in set at micro-controller startup highlighted as you proceed on the makeconfig screen but that doesn't seem what you clicked. I have a manta m5p board. Im confused as what to do for the first part.
the first part is to simply just recreate a new binary file for your board. I didn't make any specific config for this part because they are all different and 99% of the time, the flashing data is present at the top of the printer.cfg file for that particular MCU.
the second part is to flash a new linux process.
So we have to flash the actual printer again to update it, or does it just stay in the Pad 7 for example
It's better practice to do both. Make and flash a new bin file for the printer and then make and flash the new Linux process
I got a stupid question... how do you get to the menu at 0:47? I am stuck at the smaller menu only with the three options.
If you follow the instructions on how to build the board binary for your machine inside of printer.cfg, it should tell you step by step how to create the file you need. The settings are active when selecting enable extra low level settings for the stm32
Hey thanks for the reply. I figured that out. Dumb me left it on Linux 😅
how do you put on sd card?
Thanks for this. I am trying to fix this now. I get this error right after running
Entered:
sudo service klipper stop
make flash
sudo service klipper start
Response:
Failed to stop klipper.service: Unit klipper.service not loaded.
Flashing
Installing micro-controller code to /usr/local/bin/
Attempting host MCU restart...
Failed to start klipper.service: Unit klipper.service not found.
Now in Fluid I see this error:
MCU 'rpi' error during config: Unable to open spi device
Any advice?
Restart the entire device and double check your adxl section to make sure it matches the spi channel you have set up on your Linux device. If you don't have an adxl connected, comment out the adxl and resonance tester sections in printer. Cfg
cela fait 1 heure que je galère à trouver comment régler ce problème! 1 énorme merci à toi car la commande linux n'est décrite nul part