Kakute H7 Mini can't mass-erase bootloader

Hi ,
I want to save log to Kakute H7 Mini flash memory but can’t do mass-erase like @JulianOes says here

When I use dfu-util to erase the flash parameters, the two last messages are:
Performing mass erase, this can take a moment and dfu-util: Error during special command "MASS_ERASE" get_status
instead of File downloaded successfully and dfu-util: Error during download get_status for my Kakute H7 V1 which works perfectly.

I upload the mini bootloader + firmware v1.14.0 in QGC. Then I set SDLOG_MODE = from boot until shutdown. but I can’t see any log in Log Download .

dmesg gives:

nsh: sysinit: fopen failed: No such file or directory

NuttShell (NSH) NuttX-11.0.0
nsh> dmesg
ERROR [PX4_MTD] failed to locate spi bus
ERROR [PX4_MTD] mtd failure: -6 bus 2 address 0 class 1
HW arch: HOLYBRO_KAKUTEH7MINI
PX4 git-hash: b8c541dd7277ed735139d7d1bfb829d61fbe29fb
PX4 version: Release 1.14.0 (17694975)
OS: NuttX
OS version: Release 11.0.0 (184549631)
OS git-hash: de41e7feaeffaec3ce65327e9569e8fdb553ca3d
Build datetime: Oct 19 2023 16:06:44
Build uri: localhost
Build variant: default
Toolchain: GNU GCC, 9.3.1 20200408 (release)
PX4GUID: 000600000000393334373131511800270024
MCU: STM32H7[4|5]xxx, rev. V
Board architecture defaults: /etc/init.d/rc.board_arch_defaults
Board defaults: /etc/init.d/rc.board_defaults
ERROR [param] Parameter EKF2_IMU_CONTROL not found.
Loading airframe: /etc/init.d/airframes/4050_generic_250
INFO  [dataman] data manager RAM size is 62560 bytes
Board sensors: /etc/init.d/rc.board_sensors
bmi270 #0 on SPI bus 4 rotation 6
bmp280 #0 on I2C bus 1 address 0x76
ekf2 [534:237]
Starting Main GPS on /dev/ttyS3
Starting RC Input Driver on /dev/ttyS4
Starting MAVLink on /dev/ttyS0
INFO  [mavlink] mode: Normal, data rate: 1200 B/s on /dev/ttyS0 @ 57600B
Board extras: /etc/init.d/rc.board_extras
ERROR [param] Parameter OSD_ATXXXX_CFG not found
INFO  [logger] logger started (mode=all)
INFO  [logger] log root dir created: /fs/microsd/log
INFO  [logger] Start file log (type: full)
INFO  [logger] [logger] /fs/microsd/log/sess100/log100.ulg    
ERROR [logger] Can't open log file /fs/microsd/log/sess100/log100.ulg, errno: 2

NuttShell (NSH) NuttX-11.0.0
nsh> ERROR [vehicle_imu] 0 - accel 3604514 timestamp error timestamp_sample: 312856, previous timestamp_sample: 312861
ERROR [vehicle_imu] 0 - gyro 3604514 timestamp error timestamp_sample: 312856, previous timestamp_sample: 312861
nsh> 

I appreciate any help,
Antoine

Does it not work properly because the mass erase fails? Or does it work anyway?

It works, I can flash the bootloader.

The Kakute H7 Mini works except it can not save logs to flash memory or I don’t know where to find them, I search them in the Analyze Tools > Log Download.

I wonder if mass-erase fails is the cause of this unsuccessful logging save.

Flash memory logging is not implemented with PX4 yet.