05-28-2024 12:50 AM
I have a custom board with an nrf52840 with a BHI260AP+BMM150+BMP390, and I'm able to upload firmware normally using the given firmware on the BHY2_SensorAPI github repo.
However, I want to build my own firmware because there's no BHI260AP_aux_BMM150_BMP390.fw.h option, forcing me to choose between firmware that include all chips (i.e. BHI260AP_aux_BMM150_BMP390_BME688-flash.fw.h, which includes an BME688 which I don't have, wasting memory), or firmware that includes one but not the other (BHI260AP_aux_BMM150.fw.h or BHI260AP_BMP390.fw.h). Plus BHI260AP_aux_BMM150_BMP390_BME688-flash.fw.h doesn't include Orientation data, and neither BHI260AP_aux_BMM150_BMP390_BME688-flash.fw.h nor BHI260AP_BMP390.fw.h don't provide the BMP390's temperature data.
I was able to setup the BHI260 SDK in VSCode and build the examples, but it doesn't provide *.fw.h files, only *.fw files. I need *fw.h files to upload firmware from the nrf52840 to the bhi260AP. How can I get the *.fw.h files as well?
If not, then can I just get a custom BHI260AP_aux_BMM150_BMP390.fw.h build, including the BHI260AP_aux_BMM150.fw.h's orientation data (and possibly including the BMP390's temperature data)?
Solved! Go to Solution.
05-29-2024 04:24 AM
Hi bsole,
Thanks for your inquiry.
You can download BHI260AP SDK from here https://www.bosch-sensortec.com/products/smart-sensor-systems/bhi260ap, and refer to SDK quick start guide https://www.bosch-sensortec.com/media/boschsensortec/downloads/application_notes_1/bst-bhi260ab-an00... to generate fw by yourself.
You can You can use the tools in the attachment to convert .fw file to .h file.
05-29-2024 07:18 AM
how do I use the converter?
05-29-2024 07:32 AM
usage: fw2h.exe <in-file> <out-file>