You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've flashed the SD card of my Raspberry Pi 3B with the beta4 LeoOS and then installed the core2_firmware_ros2 as described. However, when trying to start the micro_ros_agent, it crashes with the following error message:
The memory usage looks fine to me, with barely 50% used. I also want to note that during flashing of the firmware, I get another error, which does not seem to cause any obvious issues, though:
Write 703 chunks at address 0x8000000...
[====================] 100.0% address:0x802be00
Writing finished!
Read 703 chunks at address 0x8000000...
[====================] 100.0% address:0x802be00
Reading finished!
Verification FAILED: Data length does not match: 179940 bytes vs 179956 bytes.
Traceback (most recent call last):
File "/opt/ros/humble/lib/leo_fw/flash", line 29, in <module>
leo_fw.flash_firmware(
File "/opt/ros/humble/local/lib/python3.10/dist-packages/leo_fw/flash.py", line 182, in flash_firmware
write_binary(firmware_path, reset_high=True)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/leo_fw/flash.py", line 53, in write_binary
subprocess.check_call(f"{base_cmd} -wv {binary_path}", shell=True)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'stm32loader -c rpi -f F4 -R -wv core2_firmware.bin' returned non-zero exit status 1.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_opt_ros_humble_lib_leo_fw_flash.1000.crash'
Original exception was:
Traceback (most recent call last):
File "/opt/ros/humble/lib/leo_fw/flash", line 29, in <module>
leo_fw.flash_firmware(
File "/opt/ros/humble/local/lib/python3.10/dist-packages/leo_fw/flash.py", line 182, in flash_firmware
write_binary(firmware_path, reset_high=True)
File "/opt/ros/humble/local/lib/python3.10/dist-packages/leo_fw/flash.py", line 53, in write_binary
subprocess.check_call(f"{base_cmd} -wv {binary_path}", shell=True)
File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'stm32loader -c rpi -f F4 -R -wv core2_firmware.bin' returned non-zero exit status 1.
[ros2run]: Process exited with failure 1
Thanks for the help!
The text was updated successfully, but these errors were encountered:
Hey all,
I've flashed the SD card of my Raspberry Pi 3B with the beta4 LeoOS and then installed the core2_firmware_ros2 as described. However, when trying to start the micro_ros_agent, it crashes with the following error message:
The memory usage looks fine to me, with barely 50% used. I also want to note that during flashing of the firmware, I get another error, which does not seem to cause any obvious issues, though:
Thanks for the help!
The text was updated successfully, but these errors were encountered: