PX4-Autopilot icon indicating copy to clipboard operation
PX4-Autopilot copied to clipboard

Holybro kakute H7 mini, it can't save parameters without SD card

Open kokoory opened this issue 2 years ago • 5 comments

Hello,

I use Holybro Kakute H7 mini uploading kakute H7. It works anyway. But there is difference from H7 mini with H7. H7 has SD card, So, I could save the parameters.

Is there way to save parameters in flash memory for kakute h7 mini?

Thanks,

kokoory avatar Aug 09 '22 02:08 kokoory

Hi

Yes, flash-based parameters for H7 just came in recently in https://github.com/PX4/PX4-Autopilot/pull/19838, so we can switch to that now. Do you want to take that on?

bkueng avatar Aug 09 '22 06:08 bkueng

Hi

Yes, flash-based parameters for H7 just came in recently in #19838, so we can switch to that now. Do you want to take that on?

Thanks, your reply. I have read it. but i dont know how to apply. I want to do that. How should I do? I compiled and uploaded but I can't save parameters.

kokoory avatar Aug 09 '22 06:08 kokoory

You need to enable it in the code. See 2698625be972ca6 and 169722c46ff5073. The flash sector is already reserved.

bkueng avatar Aug 09 '22 07:08 bkueng

You need to enable it in the code. See 2698625 and 169722c. The flash sector is already reserved.

Thank you very much!

Finally, it's working

just add below to "boards/holybro/kakuteh7/src/board_config.h". check 2698625

#define FLASH_BASED_PARAMS


I check the file and code where you referenced. 2698625 is OK. But, 169722c is not present in the omnibus folder and file is changed. Nevertheless, if I write down the code in rc.board_defaults, will it work?

kokoory avatar Aug 09 '22 08:08 kokoory

Nevertheless, if I write down the code in rc.board_defaults, will it work?

Yes it should.

bkueng avatar Aug 10 '22 05:08 bkueng

@kokoory any update? Can you create a pull request?

bkueng avatar Aug 22 '22 13:08 bkueng

@kokoory any update? Can you create a pull request?

As I mentioned above, All the code is correctly located except the below.

just add below code to "boards/holybro/kakuteh7/src/board_config.h". check https://github.com/PX4/PX4-Autopilot/commit/2698625be972ca619729ac10bbbaf1ad0197dd3d

this is code to add board_config.h --> #define FLASH_BASED_PARAMS

But SD card warning appear in the QGC, but I don't care.

I don't familiar with GIt, I don't know how to create a pull request! So I could not create a pull request.

Thanks,

kokoory avatar Aug 22 '22 13:08 kokoory

Alright, I'll have a look.

bkueng avatar Aug 23 '22 04:08 bkueng

Hello,

I use Holybro Kakute H7 mini uploading kakute H7. It works anyway. But there is difference from H7 mini with H7. H7 has SD card, So, I could save the parameters.

Is there way to save parameters in flash memory for kakute h7 mini?

Thanks,

Hi, I just wonder which boot loader do you upload into the Kakute H7 mini. I use holybro_kakuteh7_bootloader.hex and successfully uploaded to the FCU. However, when I try to upload the firmware, it shows: image

I have tried the same process with Kakute H7 and everything goes right, but for H7 mini, it does not work.

Any idea? Thanks in advance.

RENyunfan avatar Sep 28 '22 02:09 RENyunfan

Hello, I use Holybro Kakute H7 mini uploading kakute H7. It works anyway. But there is difference from H7 mini with H7. H7 has SD card, So, I could save the parameters. Is there way to save parameters in flash memory for kakute h7 mini? Thanks,

Hi, I just wonder which boot loader do you upload into the Kakute H7 mini. I use holybro_kakuteh7_bootloader.hex and successfully uploaded to the FCU. However, when I try to upload the firmware, it shows: image

I have tried the same process with Kakute H7 and everything goes right, but for H7 mini, it does not work.

Any idea? Thanks in advance.

I just follow the guide. I try to test it again.

kokoory avatar Sep 28 '22 10:09 kokoory