Hi all,
I have the docker build environment up and running and have successfully compiled for Matek H743.
Would like to understand the right process for creating a new target, bootloader & firmware for a Matek H7a3 slim board.
Any pointers greatly received!
The Matek H743 board is already supported.
make matek_h743-slim_default boardconfig
make matek_h743-slim_default
That should get you started. Assuming you have already built and installed the bootloader.
Thanks @dronesalot, I was refering to the h7a3, building a new target.
Just to test my build environment (as per documentation), I built the h743-slim boot loader and firmware, wrote the bootloader with stm32cubeprog then built the firmware using ‘update’ to flash the board after compiling.
QGC can see the board but, I can’t make alterations, nothing saves.
I would like to understand whats broken here, I have a 2gb sd card mounted.
Here is dmesg output:
nsh> dmesg
timeout after 1000 ms!
ERROR [dataman_client] Failed to get client ID!
INFO [mavlink] mode: Onboard, data rate: 100000 B/s on /dev/ttyACM0 @ 2000000B
ERROR [parameters] get: param 65535 invalid
ERROR [dataman_client] timeout after 1000 ms!
ERROR [dataman_client] Failed to get client ID!
WARN [health_and_arming_checks] Too many arming check events (1, 14 > 14). Not reporting all
WARN [health_and_arming_checks] Preflight Fail: Accel 0 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Accel 1 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Gyro 0 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Gyro 1 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Compass Sensor 0 missing
WARN [health_and_arming_checks] Preflight Fail: system power unavailable
WARN [health_and_arming_checks] Preflight Fail: Missing FMU SD Card
ERROR [dataman_client] timeout after 1000 ms!
ERROR [dataman_client] Failed to get client ID!
ERROR [dataman_client] timeout after 1000 ms!
ERROR [dataman_client] Failed to get client ID!
INFO [gyro_calibration] gyro 0 (2490378) updating offsets [0.000, 0.000, 0.000]->[0.013, -0.002, -0.001] 50.3 degC
INFO [gyro_calibration] gyro 1 (2490402) updating offsets [0.000, 0.000, 0.000]->[0.000, 0.009, 0.004] 50.1 degC
WARN [health_and_arming_checks] Preflight Fail: Accel 0 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Accel 1 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Compass Sensor 0 missing
WARN [health_and_arming_checks] Preflight Fail: system power unavailable
WARN [health_and_arming_checks] Preflight Fail: Missing FMU SD Card
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 1
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 2
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 3
ERROR [dataman_client] timeout after 5000 ms!
WARN [mavlink] offboard mission init failed
INFO [mavlink] mode: Normal, data rate: 1200 B/s on /dev/ttyS2 @ 57600B
ERROR [parameters] get: param 65535 invalid
ERROR [parameters] param export failed (-1)
INFO [parameters] param auto save unavailable (-1), retrying..
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 1
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 2
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 3
ERROR [parameters] param export failed (-1)
INFO [parameters] param auto save unavailable (-1), retrying..
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 1
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 2
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 3
ERROR [parameters] param export failed (-1)
INFO [parameters] param auto save unavailable (-1), retrying..
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 1
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 2
ERROR [parameters] parameter export to /fs/mtd_params failed (-1) attempt 3
ERROR [parameters] param export failed (-1)
ERROR [parameters] param auto save failed (-1)
WARN [health_and_arming_checks] Preflight Fail: Accel 0 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Accel 1 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Compass Sensor 0 missing
WARN [health_and_arming_checks] Preflight Fail: system power unavailable
WARN [health_and_arming_checks] Preflight Fail: Missing FMU SD Card
WARN [health_and_arming_checks] Preflight Fail: Accel 0 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Accel 1 uncalibrated
WARN [health_and_arming_checks] Preflight Fail: Attitude failure (roll)
WARN [health_and_arming_checks] Preflight Fail: Compass Sensor 0 missing
WARN [health_and_arming_checks] Preflight Fail: system power unavailable
WARN [health_and_arming_checks] Preflight Fail: Missing FMU SD Card
WARN [mavlink] Event dropped (22, 65)
WARN [mavlink] Dropped 24 events (seq=65)
INFO [mavlink] Starting mavlink shell
nsh>
Sorry, I thought it was a typo in your post.
I have reviewed the differences in the boards and the H743 has many differences. I like the onboard flash, they provide, but it is too different for me. You may want to look at defining the board fully in the bootloader as the hardware setup has many differences (I recall there is a board ID to differentiate them). I suspect you will need to go through all the ports and verify they are set correctly. The existing H743 seems to still have some issues with this, but I haven’t yet connected to every port to verify.
Hey no problems at all, I think you’re right with H743 as I have built this and QGC sees the board but you can’t save any settings to it.
It would be great to get one such board working, both the H743 & H7a3 are very capable boards.