I’ve been struggling with getting the board to read/write parameters. 1.15-beta seems to setup the parameter files correctly but the main branch does not. I note that the paths are different for the two, but running menuconfig shows them as the same. Any ideas on how to correct this issue, or have someone correct it?
The output of each dmesg is shown below:
HW arch: MATEK_H743_SLIM
PX4 git-hash: 8f6ce4edbfd154a9f19c21d7927c865f5955c1ed
PX4 version: 1.15.0 80 (17760384)
PX4 git-branch: main
OS: NuttX
OS version: Release 11.0.0 (184549631)
OS git-hash: d140f96627bd55edd24060cb90fe4c55ed3b9efd
Build datetime: Sep 3 2024 02:12:02
Build uri: localhost
Build variant: default
Toolchain: GNU GCC, 10.3.1 20210621 (release)
PX4GUID: 00060000000039313330323351050047003e
MCU: STM32H7[4|5]xxx, rev. V
New /fs/mtd_caldata size is:
INFO [param] selected parameter default file /fs/mtd_params
ERROR [param] open ‘/fs/mtd_params’ failed (2)
ERROR [init] param import failed
INFO [parameters] summary: 0/1551 (used/total)
INFO [parameters] file: /fs/mtd_params
INFO [parameters] storage array: 0/1551 elements (256 bytes total)
INFO [parameters] storage array (custom defaults): 0/1551 elements (256 bytes total)
INFO [parameters] auto save: on
param: export: 0 events, 0us elapsed, 0.00us avg, min 0us max 0us 0.000us rms
param: find: 0 events
param: get: 0 events
param: set: 0 events, 0us elapsed, 0.00us avg, min 0us max 0us 0.000us rms
dmesg [30:100]
INFO [param] selected parameter backup file /fs/microsd/parameters_backup.bson
Board architecture defaults: /etc/init.d/rc.board_arch_defaults
Board defaults: /etc/init.d/rc.board_defaults
HW arch: MATEK_H743_SLIM
PX4 git-hash: 30e763b6780061d70a14894e3e8b06e6a656f9b8
PX4 version: 1.15.0 c0 (17760448)
PX4 git-branch: release/1.15
OS: NuttX
OS version: Release 11.0.0 (184549631)
OS git-hash: 5d74bc138955e6f010a38e0f87f34e9a9019aecc
Build datetime: Sep 4 2024 18:01:28
Build uri: localhost
Build variant: default
Toolchain: GNU GCC, 10.3.1 20210621 (release)
PX4GUID: 00060000000039313330323351050047003e
MCU: STM32H7[4|5]xxx, rev. V
INFO [param] selected parameter default file /fs/microsd/params
INFO [param] importing from ‘/fs/microsd/params’
INFO [parameters] BSON document size 225 bytes, decoded 225 bytes (INT32:4, FLOAT:6)
INFO [param] selected parameter backup file /fs/microsd/parameters_backup.bson
Board architecture defaults: /etc/init.d/rc.board_arch_defaults
Board defaults: /etc/init.d/rc.board_defaults
INFO [dataman] data manager file ‘/fs/microsd/dataman’ size is 68528 bytes
Board sensors: /etc/init.d/rc.board_sensors
icm42688p #0 on SPI bus 1 rotation 12
icm42688p #1 on SPI bus 4 rotation 26
dps310 #0 on I2C bus 2 address 0x76
ERROR [SPI_I2C] qmc5883l: no instance started (no device on bus?)
WARN [vehicle_angular_velocity] no gyro selected, using sensor_gyro_fifo:0 2490378
ekf2 [328:237]
No autostart ID found
Starting Main GPS on /dev/ttyS1
Starting MAVLink on /dev/ttyS2
INFO [mavlink] mode: Normal, data rate: 1200 B/s on /dev/ttyS2 @ 57600B
INFO [cdcacm_autostart] Starting CDC/ACM autostart
Board extras: /etc/init.d/rc.board_extras
INFO [logger] logger started (mode=all)
INFO [uavcan] Node ID 1, bitrate 1000000
NuttShell (NSH) NuttX-11.0.0
nsh> sercon: Registering CDC/ACM serial driver
sercon: Successfully registered the CDC/ACM serial driver
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
INFO [cdcacm_autostart] Starting mavlink on /dev/ttyACM0 (SYS_USB_AUTO=2)
INFO [mavlink] mode: Onboard, data rate: 100000 B/s on /dev/ttyACM0 @ 2000000B
INFO [mavlink] Starting mavlink shell
nsh>