Seemingly Random Faults/Error during program that usually works

Post technical questions about the Buildbotic Controller here.
Forum rules
No profanity, no gambling, no illegal activity, so sexual or pornographic material.

Posts not related to the Buildbotic CNC Controller are likely to be moved or deleted.
Post Reply
vincent_konglomerat
Posts: 7
Joined: Thu Sep 26, 2024 6:11 pm

Seemingly Random Faults/Error during program that usually works

Post by vincent_konglomerat » Fri Jul 11, 2025 5:13 am

Hello team,

the other day I faced a more or less critical error in the middle of a program which stopped and seemingly reset the machine (and homing). Unfortunately the error message is quite cryptic and I have no idea what could have caused this
ERROR: InvalidzrNyjwg0h/FnOQ2h/FnOQ3HHLwNg4h/FnOQ6h/FnOQ
After hard restarting the controller, the program ran through fine. Out of 5 20min runs I encountered this error twice. As far as I remember its the first time I am seeing this error, so I wonder if its connected to the latest firmware update (2.0.4). Maybe someone here faced the same error before and can point me into a direction

the related log section looks like this:

Code: Select all

.....
I:Planner:Cmd:{"type": "line", "id": 1742, "target": {"x": 1363.49, "z": -81.93}, "entry-vel": 154.6, "exit-vel": 154.6, "max-vel": 2828.43, "max-accel": 989949493.66, "max-jerk": 1414213562.37, "rapid": true, "times": [13.27, 0.0, 13.27, 0.43, 13.27, 0.0, 13.27]}
I:Comm:< #id=1742\nlO5kaQwuQVsTgX5aoTgxw2+qRAzrNyjwg0h/FnOQ2h/FnOQ3HHLwNg4h/FnOQ6h/FnOQ
I:Comm:> {"firmware":"Buildbotics AVR"}
I:Comm:AVR firmware rebooted
I:Planner:20250709-193708:Program reset
I:Comm:I2C: S b=None w=None d=None
I:AVR:I2C: S b=None w=None d=None
I:Comm:< c
I:Comm:< h
[color=#FF8000]W:AVR:Serial: 'utf-8' codec can't decode byte 0xd5 in position 10: invalid continuation byte
I:Comm:> {"level":"error","msg":"InvalidzrNyjwg0h/FnOQ2h/FnOQ3HHLwNg4h/FnOQ6h/FnOQ","code":8,"where":"src/command.c:200"}
E:Comm:InvalidzrNyjwg0h/FnOQ2h/FnOQ3HHLwNg4h/FnOQ6h/FnOQ[/color]
I:Planner:20250709-193715:Program reset
I:Comm:I2C: S b=None w=None d=None
Attached are the full log and a screenshot of the error
Attachments
bbctrl-20250709-194038.log
(2.88 MiB) Downloaded 1 time
cryptic error.png

User avatar
Doug
Posts: 375
Joined: Fri Feb 02, 2018 4:56 pm

Re: Seemingly Random Faults/Error during program that usually works

Post by Doug » Fri Jul 11, 2025 7:53 pm

In looking at your log, it appears that the error occurred right after the avr rebooted.One of the things that 2.0.4 changed was to prevent the controller from getting damaged if the usb bus is overloaded during bootup. We found that if the usb bus is overloaded during bootup, it causes the attiny to reboot. I am wondering if such an overload could also cause the AVR to reboot. Please list any usb devices that you have attached. Also, do you have any other loads on the 5V supply such as relays or active limit switches or an active touch plate?

Post Reply