Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BHI260AP Flash issue

    BHI260AP Flash issue

    mgchoi
    New Poster

    Hi, BOSCH

    1. There are two ways to download firmware from BHI260
         If you download it to Flash first, it works fine, but it doesn't work.Timeout error since booting_from_flash
         No matter how many times I read the register, it's not normal.

    2. Second, RAM downloads well, works well, and reads kernel versions well.
         What we expect from these problems is,
         The firmware download routine (because the RAM works well) does not appear to be problematic.
         There seems to be a problem with the contents written in the flash or a problem with the firmware applied to the flash.

    3. Third, if you look at the bhi260 datasheet, it says that when writing firmware on flash, you should write firmware on 0x1F84.
         Write the flash descriptor on the first sector of Flash and write it. The flash descriptor contains information about flash.
          It works without it, but if it doesn't, it only works in basic SPI mode (slow and working).
          If you apply the flash descriptor, QSPI, which is the maximum mode of operation, is available (because it is set to maximum operation).
          By the way, there is no mention of this in the relevant example in github. (on the code)


    4. The example and related sources you are using are being downloaded from https://github.com/BoschSensortec/BHY2-Sensor-API and tested.

    5. For your information, we used load_firmware in the example folder.

    6.I understand files such as Euler and Quaternion among example files, but what does 'Klio' file mean?

    mgchoi_1-1673915334939.png

     

    One more thing, if you look at all the applications in the example, after booting,
    mgchoi_0-1673914344872.png

    As shown in , the contents of unconditionally erasing and writing flash are all the same.
    In general, I understand that writing on flash only needs to be done once.
    I don't understand why the example source is configured this way.

    Please, Check this issue
    1 REPLY 1

    BSTRobin
    Community Moderator
    Community Moderator

    Hi mgchoi,

    When you download firmware to Flash, what is your Flash model?

    When you download firmware to RAM, what is your hardware configuration (acc, gyro, mag), and which firmware do you use?

    After reset, you need to wait for the host interface to be ready before performing write operations, whether it is writing firmware to Flash or RAM.

    Klio is an example of self-learning and sensor API.

    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