Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    BHI360 quaternion.c

    BHI360 quaternion.c

    Newguy
    New Poster

    Hello, I am new to this and I am currently using BHI360 with APP3.0.

    Does anyone know which Flash file I should be using? I have been trying to run the files below but it keeps giving me error.

    #ifdef UPLOAD_FIRMWARE_TO_FLASH
    #include "bhi260ap/BHI260AP_aux_BMM150-flash.fw.h"
    //#include "bhi360/BHI360_Turbo.fw.h"
    #else
    //#include "bhi260ap/BHI260AP_aux_BMM150.fw.h"
    #include "bhi360/BHI360_Aux_BMM150.fw.h"
    #endif
     

    Newguy_1-1700506966806.png

     

    9 REPLIES 9

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Thanks for your inquiry.

    Please see the attached "How to play with BHI360 shuttle board 3.0 v1.pdf" for more information.

    Thanks.

    Hello, thank you for replying.

    I tried out that euler example mentioned in the document but it gives me this.

    Newguy_1-1700589265621.png

    I have checked that my TDM-GCC is 10.3

    Newguy_0-1700589196228.png

    This is the same problem I had when I do the same thing in the quaternion folder. Additionally, I tried mingw32-make LOCATION=RAM TARGET=MCU_APP30 download and while it ran, it returns the same errors. I have checked that the sensor is turned on and there's a stable connection to my laptop

     

    FAE_CA1
    Community Moderator
    Community Moderator

    Hi,

    Sorry that you also need to download and install ARM GNU Toolchain on your PC in order to download firmware to APP3.0 base board.

    Please go to https://developer.arm.com/-/media/Files/downloads/gnu/12.3.rel1/binrel/arm-gnu-toolchain-12.3.rel1-m...to download ARM GNU Toolchain. Please also make sure that ARM GNU path is added in your Windows environment variable.

    Thanks.

    I have downloaded GNU ARM Toolchain before the issue as you can see here:

    Newguy_0-1700610945060.png

    And I have checked that it is in PATH:

    Newguy_1-1700611067449.png

     

     

    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