Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    flash firmware to BHI260AP after every power cycle

    flash firmware to BHI260AP after every power cycle

    masoodnevisi
    Member

    Hi,

    Our team is new to BHI260AP and have some questions. So, we are using BHI260AP with a shuttle board 3.0 and an applocation board 3.0 for testing and validation purposes. We use the development desktop 2.0 for testing. It seems that after every power cycle we have to download the firmware to the IMU (either RAM or flash). I was wondering if there are anyways we dont have to repeat this every time. This becomes important as we intend to have our own IMU PCB designed and we need to determine if the firmware will have to flash to the IMU as frequnetly as every power cycle? or there are other ways to do this less frequently? Some clarification as well as suggested solutions would be appreciated.

     
    3 REPLIES 3

    BSTRobin
    Community Moderator
    Community Moderator

    Hi masoodnevisi,

    1. When you used BHI260AP with a shuttle board 3.0 and an applocation board 3.0 for testing and validation purposes, you could install COINES software and then you will find example code under folder "C:\COINES\v2.7.0\examples\bhy2\examples", application note "C:\COINES\v2.7.0\doc".
    Compile and run example code with the command "mingw32-make LOCATION=FLASH TARGET=MCU_APP30 download", after the program is downloaded once, it will run every time it is powered on.
    2. If you would like to design you own PCB, you can refer schematic in BHI260AP data sheet and shuttle board from https://www.bosch-sensortec.com/products/smart-sensors/bhi260ap/, and set the boot mode to standalone mode.

    Hi BSTRobin

    thanks for the quick response. I havent used COINES software. I only used development desktop 2.0. I am going to use that software and follow up if I have any other questions. 

    I have a follow up question on the second one, to clarify this, so if we design our own PCB and we set the boot mode to standalone, then does that mean the firmware boots only the first time and after that the IMU runs everytime powered on? or it still needs to boot it from the host at every power cycle?

    Thanks

    Hi masoodnevisi,

    BHI260AP can be configured to boot autonomously from an external flash device attached to the QSPI interface of BHI260AP. A precondition for booting from flash is that a valid firmware image is programmed into the flash memory.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist