#RatOS/MCU/Klipper failure after update (Octopus Pro 446)

31 messages · Page 1 of 1 (latest)

tacit summit
#

I have a BTT Octopus Pro 446, VC3.1, 400mm. Just did an "update all", which never goes well but usually I get through it. Not this time.

MCU Protocol error

This is frequently caused by running an older version of the
firmware on the MCU(s). Fix by recompiling and flashing the
firmware.

Your Klipper version is: v0.12.0-267-g12cd1d9e-dirty
MCU(s) which should be updated:
mcu: Current version v0.11.0-200-g7511151a
Up-to-date MCU(s):
<none>

Once the underlying issue is corrected, use the "RESTART"
command to reload the config and restart the host software.

mcu 'mcu': Command format mismatch: query_adxl345 oid=%c rest_ticks=%u vs query_adxl345 oid=%c clock=%u rest_ticks=%u

Annoyingly, there seems to be acknowledgement of this issue on the the RatOS 446 config page, but the link there doesn't work. It looks to be a link back to RatOS/mainsail, which just takes me back to the error.

There is a directory in my machine tab for firmware_binaries but it's looks last updated May 18, 2023. So that's probably not the binary I need to flash. I feel like I should just be able to download a new binary onto SD card and flash the Octopus, but I'm not clear where to get it.

stoic steppeBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

simple willow
#

if that goes well, you can do this to run the automatic flashing procedure:

sudo ~/printer_data/config/RatOS/scripts/klipper-mcu-update.sh
tacit summit
#
pi@ptah:~ $ sudo ~/printer_data/config/RatOS/scripts/ratos-update.sh
Updating RatOS device symlinks..

###### Updating whitelisted commands

###### Updating service permissions

###### Installing beacon module...
beacon: beacon already installed, skipping...

###### Installing git hooks

###### Registering klippy extension 'ratos_homing_extension' with the RatOS Configurator...
curl: (7) Failed to connect to localhost port 3000: Connection refused
ERROR: Failed to register ratos_homing_extension. Is the RatOS configurator running?

What is the "configurator"?

simple willow
#

It'll now flash it automatically next time you update klipper, unless your run hard recovery again.

simple willow
#
sudo ~/ratos-configurator/scripts/update.sh
sudo systemctl restart ratos-configurator
tacit summit
#

So what did I do wrong? Or what should I have done? (before I did the update all)

simple willow
#

after that ☝️ run the two others

tacit summit
#
...

###### Updating whitelisted commands
/home/pi/ratos-configurator /home/pi
ERROR: This version of pnpm requires at least Node.js v18.12
The current version of Node.js is v16.20.2
Visit https://r.pnpm.io/comp to see the list of past pnpm versions with respective Node.js version support.

Looks like I gotta get the latest node.

simple willow
simple willow
#

I'm assuming you're running an older RAtOS v2.0 install

tacit summit
#

Heh, sorry. It's been a long time since I did anythign with this RatOS

#

Should I just copy out my printer.cfg and reflash the pi? I feel like I should get a fresh start at this point, haha

simple willow
#

Here's the fix for all of it combined

cd ~/ratos-configurator
git checkout v2.x-deployment
sudo ~/ratos-configurator/scripts/update.sh
sudo systemctl restart ratos-configurator
sudo ~/printer_data/config/RatOS/scripts/ratos-update.sh
simple willow
tacit summit
#

Okay, let me try your recommendation first

#

I was just about to upgrade node

#

Yeah, it says I was already on v2.x-deployment branch

tacit summit
#

Okay ,I did some linux guru magic to upgrade node.js, and all those scripts ran successfully.

#

Still see an error in the UI. Should I do a "firmware restart?" I'm afriad to touch anything now 😅

#

Okay, so I did all that, but nothing changed, even after firmware reset. Exact same error message.

tacit summit
#

Is it possible to just download the latest firmware and flash manually? I'd like to try that before doing a full reset of everything.

#

I guess it would have to be a version of the firmware compiled by RatOS, right? I still only have one from mid-2023 in that folder

simple willow
#

If that throws errors paste it here

simple willow
#

Shit, v2.x automatically updates pnpm as well.. oh well.. I'll make sure node is updated as well then, i guess.