Bosch Sensortec Community

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

    Skipping incompatible ./libalgobsec.a in Atmel Studio (Microchip Studio) for Atmega644p

    Skipping incompatible ./libalgobsec.a in Atmel Studio (Microchip Studio) for Atmega644p

    AzeemAnwar
    Member

    Hi,

    I'm trying to integreate BME680 with Atmega644p, but unable to add libalgobsec.a in my project.

    I'm using Libraries --> Add library feature, however upon compiling it says skipping .\libalgobsec.a when seacrching for -lalgobsec (see attachement).

    AzeemAnwar_0-1616240706147.png

    See below screenshot of my linker settings.

    AzeemAnwar_1-1616240877284.png

     

    It'd be great if someone can help me out.

    9 REPLIES 9

    Hi,

    AVRStudio is now called Microchip Studio (as AVRStudio is developed by Atmel and so is Microchip).

    And for unknwown reasons, the library isn't being accepted by Microchip Studio.

    An alternate which i can think of is to use API provided by Bosch, so that'll give me reading of Gas_Resistance value.

    Can you help me with what Gas_Resistance value is telling us and how can we extract CO2 value from this? 

    Any supporting material regarding Gas_Resistance value will be helpful to me in writing my own algorithm to extract CO2 value (as i only am using BME680 to read CO2 values).

    Thanks.

    I tried it with AVRStudio and it didn't load even in AVRStudio.

    Moreover, i created some sample libraries using AVRStudio and it loaded perfectly in Microchip Studio, so the issue isn't of compatibility.

    The only possibility now is that Bosch must have compiled the wrong file/placed wrong files in wrong folder?

    Can you please ask your deveopment team to cross verify the .a files placed in BSEC software?

    Thanks.

    BSTRobin
    Community Moderator
    Community Moderator

    Hello AzeemAnwar,

    For your further requests, please visit https://www.bosch-sensortec.com/about-us/contact/contact-form, and use the contact form to submit your request.

    After 2 months of experiments, coordination with BOSCH and everything, here is the conclusion.

    Pre-compiled library is only compatible with AVR controllers having Boot Memory of 256 Kbytes, and only following 4 controllers make it to list:

    1. ATmega2561
    2. ATmega2564RFR2
    3. ATmega2560
    4. ATmega256RFR2

    So if you try to compile libalgobsec.a available in BSEC software for Atmega controllers with any other controller than mentioned above (in my case Atmega644P), it simply doesn't compile.

    BSTRobin
    Community Moderator
    Community Moderator

    Hello AzeemAnwar,

    I would like to know have you submitted your request in contact form and got correct BSEC SW?

    Wait your feedback. Thanks.

    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