Magician crashes after serial communication


#1

I try to control a Dobot Magician via python. Although it already worked in the past, the robot is now responding to the very first command with a b"\xff" instead of a message that starts with b"\xaa\xaa".

Now the Dobot Magician is in a crashed state and also cannot be controlled anymore with Dobot Studio. The COM port is still available but Dobot studio complains that not robot is connected and one should try another COM port. To reset the robot, it must be switched off and on again. Afterwards, one can connect again with Dobot studio and also use actions like “Home”.

As soon as I send again a command via python, the robot crashes and returns a single b"\xff" byte as message. Any further communication also fails then. I already used the same commands to communicate with the robot in the past.

What could cause the robot to crash?

Thanks for your help!
Axel

Firmware: 3.7.0
Python package: dobot-python (https://github.com/AlexGustafsson/dobot-python)
Further infos about the issues can be found here: https://github.com/AlexGustafsson/dobot-python/issues/3


#2

Finally figured out that the “Reset” button helped to make it possible again to communicate with robot via python. Switching off and on did not help at all.