Coder Social home page Coder Social logo

CCS811 bricked??? about ccs811 HOT 1 CLOSED

maarten-pennings avatar maarten-pennings commented on July 23, 2024
CCS811 bricked???

from ccs811.

Comments (1)

maarten-pennings avatar maarten-pennings commented on July 23, 2024

Hi John,

I need some more clues to solve this.

If you inspect the ino file, the setup() function, you see

  // Flash
  Serial.print("setup: starting flash of '");
  Serial.print(image_name);
  Serial.println("' in 5 seconds");
  delay(5000);
  Serial.println("");
  ok= ccs811.flash(image_data, sizeof(image_data));

so after the message setup: starting flash of 'CCS811_FW_App_v2-0-0.bin' in 5 seconds the flash() function is called. That function starts as follows.

bool CCS811::flash(const uint8_t * image, int size) {
    ...
    wake_up();
    // Try to ping CCS811 (can we reach CCS811 via I2C?)
    PRINT(F("ccs811: ping "));

This means that after the message setup: starting flash of 'CCS811_FW_App_v2-0-0.bin' in 5 seconds the you must see ccs811: ping ok or ccs811: ping FAILED.

If you don't get that, something very funny is going on.

from ccs811.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.