Bed_Distance_sensor icon indicating copy to clipboard operation
Bed_Distance_sensor copied to clipboard

I2CBD error

Open qp1306 opened this issue 1 year ago • 8 comments

Screenshot 2024-05-19 at 15 18 27

Just updated my printer and now got this error. as you can see I have updated all my MCU's

qp1306 avatar May 19 '24 05:05 qp1306

need to run

~/Bed_Distance_sensor/klipper/install_BDsensor.sh
cd ~/klipper/
./make_with_bdsensor.sh 

to compile the firmware and then flash into the mcu again. here the version is from the github of klipper.

markniu avatar May 19 '24 06:05 markniu

Thank you that has fixed my issue.

qp1306 avatar May 19 '24 06:05 qp1306

need to run

~/Bed_Distance_sensor/klipper/install_BDsensor.sh
cd ~/klipper/
./make_with_bdsensor.sh 

to compile the firmware and then flash into the mcu again. here the version is from the github of klipper.

this didnt work for me. i tried it another way (https://github.com/markniu/Bed_Distance_sensor/issues/145) and it worked, however, i got an error when testing i am at a loss here

bombsquad85 avatar Aug 29 '24 02:08 bombsquad85

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-410-gcf3b0475-dirty MCU(s) which should be updated: mcu: Current version v0.12.0-410-gcf3b0475 EBBCan: Current version v0.12.0-410-gcf3b0475 Up-to-date MCU(s):

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

mcu 'mcu': Unknown command: I2CBD

  • Tried reflashing both MCU and EBB several times

sadgit avatar Jan 21 '25 19:01 sadgit

Cleaned out ShakeNTune - but still getting same error but versions now clean

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-410-gcf3b0475 MCU(s) which should be updated:

Up-to-date MCU(s): mcu: Current version v0.12.0-410-gcf3b0475 EBBCan: Current version v0.12.0-410-gcf3b0475

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

mcu 'mcu': Unknown command: I2CBD

sadgit avatar Jan 21 '25 20:01 sadgit

Cleaned out ShakeNTune - but still getting same error but versions now clean

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-410-gcf3b0475 MCU(s) which should be updated: Up-to-date MCU(s): mcu: Current version v0.12.0-410-gcf3b0475 EBBCan: Current version v0.12.0-410-gcf3b0475 Once the underlying issue is corrected, use the "RESTART" command to reload the config and restart the host software. mcu 'mcu': Unknown command: I2CBD

so you are getting the protocol error?

try the new directions in the github. after make clean, use make instead of make w/bdsensor

bombsquad85 avatar Jan 21 '25 20:01 bombsquad85

reflashed and now fixed.

sadgit avatar Jan 21 '25 21:01 sadgit

reflashed and now fixed.

Glad it's working

bombsquad85 avatar Jan 21 '25 21:01 bombsquad85