spracing / ssbl

Second-Stage Bootloader for the H7 series flight controllers. Allows booting of PX4 or other firmware directly from external flash using memory mapped QuadSPI.
GNU General Public License v3.0
9 stars 4 forks source link

Currently Working AP & PX4 Release #7

Open seeul8er opened 2 months ago

seeul8er commented 2 months ago

I am a bit desperate. I want to run PX4 or Ardupilot (Copter) on the SPRacing H7 Extreme PX4 Edition.

I tried the PX4 binary you provided (v1.11.3) with SSBL 1.0.1 and it works fine regarding flashing an booting. However, the PX4 release is useless since it is missing GPS, SERIAL and MAG config. See also https://github.com/PX4/PX4-Autopilot/issues/19833 I also tried the latest PX4 release (converting the files and flashing them as described) but the problem is not fixed in the current release. In addition, I can not save the settings. There is also an Issue regarding that in the PX4 GitHub

I tried Ardupilot then. I saw this pull request https://github.com/spracing/ssbl/issues/4 and updated the SBBL to 1.0.2. Then I downloaded the .hex of AP v4.4.4 and converted it as described. After flashing the FC is detected as a ArduPilot (COM3) but MissionPlanner and QGC are not able to connect (timeout - no MAVLink received). The board is also not blinking, it is just showing the red, green and blue LEDs that are constant. I am not so familiar with the AP ecosystem so I can not follow what you mean with Using Mission Planner with the AP bootloader to flash the ardupilot.adj file works as expected. [EDIT] I am guessing the board comes with the SP Racing Bootloader but there is an alternative bootloader by the AP project that can be used? Does that affect my ability to run PX4?

So my question: What is the current firmware (AP or PX4) + version that is working with SPRacing H7 Extreme and how do I flash it so it works?

Thank you, regards Wolfgang

seeul8er commented 2 months ago

The MAG can be calibrated by setting the parameter HAS_MAG to 1. Still no GPS or MAVLink Telemetry output on the PX4