01-28-2022 04:25 PM
Hi ,
I am trying to integrate BESEC software to interface BME680 with EFR32BG22(Cortex M33).I sucessfully integrate libalgobsec.a file for GCC cortex M33F into my project.The project get compiled sucessfully without any error.
I have problem with the output data from the BME680.The temperature value remain 0 all the time, and CO2,Iaq and breath values take quiet long time to show-up (initially they all shows 0 values)
My program take reading every 3 sec. I am using simplicity studio IDE and GNU ARM v10.2.1 compiler.
I susppect there is someting wrong with bsec_init()(initialization in BESEC library) function .It looks like temperature functionality of BME680 is not getting initialize properly.
I am attaching the snapshot output console:
Please help me to resolve this issue.
Thank You
Solved! Go to Solution.
06-02-2022 06:51 PM
Hi team,
I am struggling to include your BSEC in our platform. Now we changed our platform to dialog 14531.
We interfaced with the same bme680 ic to get the AQI values.
Do you have any reference which somebody might have done this job on the same dialog platform?
Otherwise, please let us know to include your libs. Could please share the latest bsec libs and sample applications?
Regards,
Kumar
06-03-2022 11:52 PM
Hi Kumar,
We have official github bsec2 library as below. (latest)
https://github.com/BoschSensortec/Bosch-BSEC2-Library
Also, you can find our migration guide in BSEC 2.x software.
https://www.bosch-sensortec.com/software-tools/software/bme688-software/
Thank you.
06-13-2022 01:12 PM
Hi Minhwan,
Still i am working on the same libraray compilation and gettign the below error.
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'DA14531'
Note: source file '..\src\user_custs1_impl.c' - object file renamed from '.\out_DA14531\Objects\user_custs1_impl.o' to '.\out_DA14531\Objects\user_custs1_impl_1.o'.
Note: source file '..\src\user_peripheral.c' - object file renamed from '.\out_DA14531\Objects\user_peripheral.o' to '.\out_DA14531\Objects\user_peripheral_1.o'.
linking...
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_interface.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_do_steps.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_get_configuration.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_get_state.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_get_version.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_init.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_reset_output.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_sensor_control.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_set_configuration.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_set_state.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6242E: Cannot link object bsec_codegen_update_subscription.o as its attributes are incompatible with the image attributes.
... wchart-16 clashes with wchart-32.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6449E: While processing ..\src\libalgobsec.lib(Bsec.o): ELF header refers to section-name string table section #10 but that section has type 1879048195 (SHT_ARM_ATTRIBUTES) instead of SHT_STRTAB
Not enough information to produce a SYMDEFs file.
Not enough information to produce a FEEDBACK file.
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 15 information, 0 warning and 12 error messages.
".\out_DA14531\Objects\BME68x_BSEC_Integration.axf" - 12 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:06
could tell me the exact problem. I am using Cortex-M0+ platform for the below link. could share the library for this platform.
C:\Users\fkumar\bsec_1-4-8-0_generic_release_updated_v3\BSEC_1.4.8.0_Generic_Release_updated_v3\algo\normal_version\bin\armcc\Cortex_M0+
Regards,
Kumar
06-14-2022 08:46 AM
Hi Minhwan,
I have another doubt, my platform is Cortex-M0+ and having 32Kb flash memory now the default stack is loaded with the space occupied with 20Kb.
Now I have space to include 10Kb can this allow me to fit your library into this memory.
I took the library from your latest SDK link:
C:\Users\fkumar\bsec_1-4-8-0_generic_release_updated_v3\BSEC_1.4.8.0_Generic_Release_updated_v3\algo\normal_version\bin\armcc\Cortex_M0+
bsec_datatypes.h
bsec_interface.h
libalgobsec.lib
libalgobsec.lib.Size
when i open the "libalgobsec.lib.Size" is showing as below:
text data bss dec hex filename
19469 0 1248 20717 50ed (TOTALS)
The above statement means the flash requires 19Kb right? have only 10Kb available, that means there is some memory issue right?
I am using da14531? and in recent compilation i am getting the below error?
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'DA14531'
Note: source file '..\src\user_custs1_impl.c' - object file renamed from '.\out_DA14531\Objects\user_custs1_impl.o' to '.\out_DA14531\Objects\user_custs1_impl_1.o'.
Note: source file '..\src\user_peripheral.c' - object file renamed from '.\out_DA14531\Objects\user_peripheral.o' to '.\out_DA14531\Objects\user_peripheral_1.o'.
linking...
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6406E: No space in execution regions with .ANY selector matching Channel.o(i.bsec_Channel_reset).
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6406E: No space in execution regions with .ANY selector matching bme680.o(.text).
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6406E: No space in execution regions with .ANY selector matching ffixi.o(.text).
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6406E: No space in execution regions with .ANY selector matching nmi_handler.o(.text).
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6406E: No space in execution regions with .ANY selector matching arch_system.o(i.__ARM_common_ll_muluu).
.
.
.
.
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6406E: No space in execution regions with .ANY selector matching user_custs1_def.o(.constdata).
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6406E: No space in execution regions with .ANY selector matching iusefp.o(.text).
.\out_DA14531\Objects\BME68x_BSEC_Integration.axf: Error: L6407E: Sections of aggregate size 0xc28 bytes could not fit into .ANY selector(s).
Not enough information to produce a SYMDEFs file.
Not enough information to produce a FEEDBACK file.
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 4 information, 0 warning and 124 error messages.
".\out_DA14531\Objects\BME68x_BSEC_Integration.axf" - 124 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:10
Based on the above statement you can suggest where it went wrong?
Regards,
Kumar
06-16-2022 12:00 AM
Hi Kumar,
You can see the error " No space in execution regions with .ANY selector matching iusefp.o(.text)."
I think your MCU is not enough space to implement BSEC library.
Thank you.