I/O Bootloader error

#1

Hello,

I am trying to run HITL experiment with Pixhawk 4. I am trying to use Gazebo 7 and Qgroundcontrol for that.

B/E LED of I/O is amber and blinking with the latest firmware. There is so bootloader.txt in the SD file either. The issue persists with older versions (1.9.0 and 1.7.0) of firmware too.

What is probable cause for this issue to happen? Also, what is the possible solution for this issue?

Thanks in advance!

#2

The PX4IO log is fine. It means the updates were successful, so nothing to worry about.

Are you following the instructions here? https://dev.px4.io/en/simulation/hitl.html

And what exactly doesn’t work? What’s the error?

#3

I was wrong, the bootloader.txt output was outdated. After I deleted it, no new file is being created when I update the firmware using Qgroundcontrol.

Yes, I am following the instructions from the [https://dev.px4.io/en/simulation/hitl.html](Hardware in the Loop Simulation (HITL))

I am getting the following error in the final step.

[Err] [gazebo_mavlink_interface.cpp:558] Failed sending mavlink message: Socket operation on non-socket
#4

Are you sure you changed all the settings listed in https://dev.px4.io/en/simulation/hitl.html#gazebo in 3.?

#5

Yes. I made all those changes.

#6

What version are you using of the PX4 SITL repository? Can you paste git status?

#7

I found out that I was using an older commit. Once I moved to the head the simulation started working. Thanks for the help.