Compiling a new flight controller custom firmware

I have this flight controller stm32H743 and right now only need to upload its the firmware and i tried uploading already pre compiled firmware from ardupilot but it doesnt work. I tried making a custom hwdef and compile it to hex and upload it via stm32cubeprogrammer But the board still not responding properly yet. can someone guide me how to make the proper hwdef for the board?
here is the schematics and my current hwdef
board.zip (453.8 KB)

See Porting to a new flight controller board — Dev documentation for information

1 Like

right now im stuck at the upload an ArduPilot compatible bootloader to the board. i tried uploading a bootloader onto the board and the best it can get is the D1 Led on the whole time and D2 LED on the board keeps blinking nonstop but it cant connect to mission planner or other software. any idea what’s the problem?

…

What board is it?


its DevEbox board

OK, go here and download the bootloader .bin for it Bootloader

Then use DF-Util, what I use anyway, to flash it. Loading a bootloader

2 Likes

i have upload the bootloader using that dfu-util and the bin. but the problem still presist it cant connect to the mp or other software.

You don’t want to connect. After flashing the bootloader reboot the board and select the com port in Mission planner. Then download the .apj file from here Arducopter apj and using Mission Planner select “Load Custom Firmware” from the Install Firmware screen and flash it.
Reboot and then connect.

2 Likes

oh wow it works now. so that what im doing wrong thank you so much bro i thought you need to connect it first to mp. big appreciate.

Awesome! Glad you are advancing.