Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Setup of Huzzah ESP32 with BME688

    Setup of Huzzah ESP32 with BME688

    David-LAIIER
    New Poster

    I have purchased an unconfigured Huzzah ESP32 with a Bosch BME688 development board, and wish to run an experiment similar to the example of coffee/air.

    In order to do so I have downloaded BME688_Development_Kit _Software _v2.0.9 - there seems to be little documentation on how to program the example from Linux, however I've reverse engineered the Flash.bat file and have run:

    python3 esptool.py --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0xe000 esp32/2.0.3/tools/partitions/boot_app0.bin 0x1000  esp32/2.0.3/tools/sdk/esp32/bin/bootloader_dio_80m.bin 0x10000 bme68x_demo_sample.ino.bin 0x8000 bme68x_demo_sample.ino.partitions.bin
    
    esptool.py v3.3-dev
    Found 1 serial ports
    Serial port /dev/ttyUSB0
    Connecting....
    Detecting chip type... Unsupported detection protocol, switching and trying again...
    Connecting....
    Detecting chip type... ESP32
    Chip is ESP32-D0WD-V3 (revision 3)
    Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
    Crystal is 40MHz
    MAC: e0:5a:1b:0d:10:ec
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 921600
    Changed.
    Configuring flash size...
    Auto-detected Flash size: 4MB
    Flash will be erased from 0x0000e000 to 0x0000ffff...
    Flash will be erased from 0x00001000 to 0x00005fff...
    Flash will be erased from 0x00010000 to 0x0014cfff...
    Flash will be erased from 0x00008000 to 0x00008fff...
    Compressed 8192 bytes to 47...
    Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 545.1 kbit/s)...
    Hash of data verified.
    Compressed 17120 bytes to 11841...
    Wrote 17120 bytes (11841 compressed) at 0x00001000 in 0.5 seconds (effective 267.3 kbit/s)...
    Hash of data verified.
    Compressed 1294528 bytes to 782727...
    Wrote 1294528 bytes (782727 compressed) at 0x00010000 in 12.9 seconds (effective 802.4 kbit/s)...
    Hash of data verified.
    Compressed 3072 bytes to 128...
    Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.1 seconds (effective 337.0 kbit/s)...
    Hash of data verified.
    
    Leaving...
    Hard resetting via RTS pin...

     However when I connect to the board via serial (screen /dev/ttyUSB0 115200) I see:

    ets Jul 29 2019 12:21:46
    
    rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:1
    load:0x3fff0030,len:1184
    load:0x40078000,len:12812
    load:0x40080400,len:3032
    entry 0x400805e4
    Error code = -1

    Please may someone advise whether I am incorrectly flashing the example? And if so, where I can find corrected instructions to flash the Huzzah ESP32 correctly?

    The Huzzah board: https://www.digikey.co.uk/en/products/detail/adafruit-industries-llc/3591/8119805

    The BME68 Dev board: https://www.digikey.co.uk/en/products/detail/bosch-sensortec/EVALUATION-KIT-BOARD-BME688/14617513

     

    1 REPLY 1

    BSTRobin
    Community Moderator
    Community Moderator

    Hi David-LAIIER,

    This is the setup guide(https://www.bosch-sensortec.com/media/boschsensortec/downloads/product_flyer/bst-bme688-fl001.pdf) for your reference.
    Error code -1 means sensor config file error. Please ensure ther is config file in your SD card.

    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