ROSBot 3 STM32 stops receiving and sending information

Hello,
On random occasions the microcontroller in charge of receiving the data from the sensor and controlling the motors stops responding. The only temporary solution that I have found for this is flashing the microcontroller. Since I don’t have the source code for the microcontroller I have not been able to look into the possible reasons why this is happening. Could you please take a look into the possible reasons why this may be?

Thank you very much,
David.

Hello @DavRodFer,

Thanks for reporting, we will monitor these types of events to find the reason of this kind of issue. I am sending the code to STM32 MCU.

Regards

Hello @DavRodFer,

Is there a specific scenario when the problem occurs, or is there a greater chance of it occurring? Today at an event I had the robot running for 3 hours, from time to time I tested responsiveness and everything behaved correctly.

  1. Does the bug you are experiencing occur every few minutes/hours/days?
  2. How do the diodes on the back panel light up when this happens?
  3. Is the problem occurs after resetting power supply, or resetting MCU with button on the rear panel?

Hello @RafalGorecki,

This issue occurs every few days at random occasions, sometimes disconnecting and reconnecting the robot solves the problem, others I need to reflash the microcontroller. The first case sometimes happens when passing from being supplied by battery to cable. The second case occurs randomly without disconnecting anything, just working on the robot through SSH. Normally I use the robot at around 5 hours at a time, in case this may be of any use.

Regarding the LEDs on the back, I am not really sure. I am not sure if they stay on, but I think the red ones do, the green ones are completely unresponsive.

Regards,
David.

Hello @DavRodFer ,
I will keep this in mind, however due to the very rare and non-deterministic occurrence the problem may be difficult to diagnose. If I find out anything more I will try to let you know?

Hello,
Yesterday it happened again when I connected the power cable to the robot after doing some tests with the robot in battery mode. Even after restarting the RPi it did not solve the problem, so I had to flash it again. The right red LED did not light up. The problem seems to mainly occur when the power supply for the robot goes from battery to cable.

Regards,
David.

As you may have noticed, connecting the DC power supply causes the power source to switch, which results in a momentary power outage. It may turn out that the rpi discharges slower, which maintains the voltage on the STM32 associated with resetting the firmware. If the battery is low, I encourage you to use a Li-ion charger, rather than connecting the power supply.

Please confirm if the problem with starting the robot remains after turning the power off and on. Then I will have more certainty that the stm is being reset.