Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCS811 bricked??? #46

Closed
JohnBelushi opened this issue May 6, 2020 · 1 comment
Closed

CCS811 bricked??? #46

JohnBelushi opened this issue May 6, 2020 · 1 comment

Comments

@JohnBelushi
Copy link

Hello Maarten,
I have a CCS811 with old firmware and tried to flash it... that failed.. it was firmware 1.1
And when I run the flasher again it is like you showed a version FD...
Used a Arduino Autonomo and it say's it starts th eflashing procedure but after 15 minutes it still is not ready...

Any idea to get this working again???
Have the nWake pin connected to GND I am not sure if that's a problem??

Best regards,
Jody

@maarten-pennings
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants