Hello,
I’m currently experiencing an issue where I’m unable to flash any firmware onto my rover. Specifically, the flashing script stalls indefinitely during the board identification phase.
The issue appeared after I flashed a custom firmware, which was a modified version of the script from GitHub - LeoRover/core2_firmware_ros2: Micro-ROS-based firmware for the Husarion CORE2 controller running inside Leo Rover.. The modification was relatively minor - I just added a ROS topic to publish encoder values and I am certain that I didn’t interfere with any other major areas of the code. The first flash of this customized firmware was successful, but every subsequent attempt with any firmware results in an infinite loop during the board identification stage. Even attempts to revert to the default core2 firmware using rosrun leo_fw update were unsuccessful, as the script still stalls at the same point.
I’ve tried to resolve this issue by reflashing the SD card on the Raspberry Pi, but it appears the problem is likely due to the custom firmware currently installed on the CORE2 board. Is there a procedure to reset the firmware or a workaround to bypass the board check?
As an additional note, I’ve successfully flashed multiple firmwares onto CORE2 boards pre-version 1.8 in the past without any issues.
Any guidance would be greatly appreciated.