Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

Bricked HUZZAH
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Bricked HUZZAH

by jman 31 on Sat Sep 26, 2015 2:30 pm

Hi,

I ran this code for I2C on two of my HUZZAH's and now they are both frozen or bricked. The led that shows the bootloader status is at about half brightness as it would be if it were ready to be programmed. The problem is that it's stuck that way. The LED won't go off even if I unplug it and plug it back in. It also won't accept any new programming.

Code: Select all | TOGGLE FULL SIZE
#include <Wire.h>
#define I2CAddressESPWifi 6
int x=32;

void setup()
{
  Serial.begin(115200);
  Wire.begin(2,0);//Change to Wire.begin() for non ESP.
}

void loop()
{
  Wire.beginTransmission(I2CAddressESPWifi);
  Wire.write(x);
  Wire.endTransmission();
  x++;
  delay(1);//Wait for Slave to calculate response.

  Wire.requestFrom(I2CAddressESPWifi,10);
  Serial.print("Request Return:[");
  while (Wire.available())
  {
    delay(1);
    char c = Wire.read();
    Serial.print(c);
  }
  Serial.println("]");
  delay(500);
}


I would appreciate any thoughts or experience anyone might have with regards to this!

Thanks,
Jeremy
jman 31
 
Posts: 8
Joined: Sat Mar 30, 2013 5:48 pm

Re: Bricked HUZZAH

by adafruit2 on Mon Sep 28, 2015 5:32 pm

huh, we've never seen a 'permabricked' esp8266 here - even if you do the reset trick, where you hold down GPIO0 button, then click the reset button, then release GPIO0 button...nothing changes with the LEDs?

adafruit2
Site Admin
 
Posts: 19222
Joined: Fri Mar 11, 2005 7:36 pm

Re: Bricked HUZZAH

by jman 31 on Mon Sep 28, 2015 6:11 pm

Correct. One thing to note (don't know if it makes a difference or not), is that I had previously flashed it with the ESP8266/Espruino .bin files with esptool and then with the Espruino IDE. Then I proceeded to flash it with the Arduino IDE. Not sure if that would have caused this or not.
As I said, it look like it's in bootloader flash mode, but it doesn't do anything. I have tried doing the normal procedures to no avail.
jman 31
 
Posts: 8
Joined: Sat Mar 30, 2013 5:48 pm

Re: Bricked HUZZAH

by adafruit2 on Mon Sep 28, 2015 9:04 pm

yah we have no idea - maybe check esp8266.org? if you *do* find out whats up please let us know!

adafruit2
Site Admin
 
Posts: 19222
Joined: Fri Mar 11, 2005 7:36 pm

Re: Bricked HUZZAH

by bobthesheep22 on Fri Dec 25, 2015 2:31 am

I've got this problem too. Did you manage to find a fix?

bobthesheep22
 
Posts: 8
Joined: Fri Dec 25, 2015 2:31 am

Re: Bricked HUZZAH

by sfranzyshen on Mon Feb 08, 2016 1:24 pm

I also have a bricked device exhibiting the same symptoms as described above. I flashed it the first time ... after that it would not boot and goes into this led that shows the bootloader status is at about half brightness ... any help here?

sfranzyshen
 
Posts: 1
Joined: Mon Feb 08, 2016 1:15 pm

Re: Bricked HUZZAH

by adafruit2 on Mon Feb 08, 2016 1:27 pm

only recommendation i have is to try to reflash it with nodeMCU using the loader, or Arduino IDE and make sure you ahve good power! you can connect at 74880 baud and reset to see the boot message

adafruit2
Site Admin
 
Posts: 19222
Joined: Fri Mar 11, 2005 7:36 pm

Re: Bricked HUZZAH

by GyroGearloose on Mon Feb 15, 2016 4:26 pm

Have the same symptoms: red led lights up dim when I connect the FTDI cable (3.3V),
never goes away.

Everything worked fine until I selected in Arduino IDE 1.6.4 upload speed 256000
After compiling I get now the messages:
error: Failed to open COM11
error: espcomm_open failed.

On RealTerm when I send with whatever baud rate AT I get a short yellow blink on TxD(3);
no message in the terminal window.
When I press the RESET button I get some gobbled characters in the terminal window,
RxD(2) lits up yellow and then red ERROR

Please, please help !!

Started nodeMCU and am sitting in front of the >Operation< tab and have the messages
AP MAC Waiting MAC
STA MAC Waiting MAC
Could you please provide a link to the esp_iot_sdk you are using
and a screenshot of the config (files and offsets);
as well as Baudrate, Flash size Flash speed and SPI mode

Thanks so much

Juergen

GyroGearloose
 
Posts: 9
Joined: Thu Sep 10, 2015 1:33 am

Re: Bricked HUZZAH

by adafruit2 on Tue Feb 16, 2016 6:43 pm

hiya if you cant open the COM port, it has nothing to do with the board - check your USB cable, driver, COM port, reboot computer etc

adafruit2
Site Admin
 
Posts: 19222
Joined: Fri Mar 11, 2005 7:36 pm

Re: Bricked HUZZAH

by GyroGearloose on Wed Feb 17, 2016 2:06 am

Sorry, you might not have read my post thoroughly.
COM port, cable etc are fine. How could I interact then with RealTerm and nodeMCU ??

Again: ESP Huzzah is bricked after I set the baud rate to 256000: red light is constantly
on (dimm). Did unplugging, pushing all buttons, AT-commands w RealTerm, reprogramming
with nodeMCU - nothings brings it back.

Please help.
Juergen

GyroGearloose
 
Posts: 9
Joined: Thu Sep 10, 2015 1:33 am

Re: Bricked HUZZAH

by adafruit2 on Wed Feb 17, 2016 11:35 am

try using the arduino ide method for updating, thats what we use the most
we dont know its truely possible to 'brick' the board, if the red light is on dim tha tmeans the ESP is in bootloader mode waiting for a program

adafruit2
Site Admin
 
Posts: 19222
Joined: Fri Mar 11, 2005 7:36 pm

Re: Bricked HUZZAH

by GyroGearloose on Wed Feb 17, 2016 1:18 pm

not possible. It looks indeed like it would be waiting for receiving data but it is not.
Even if I manually bridge the reset and GPIO_0 the module does not open it's internal espcomm port.
Can't flush with any tool out there, and certainly not w. Arduino.

Everything was working fine until I started to try out other frequencies and upload speed (what the IDE allows).
Have the same thing as the people posting above:
Bricked by software.

It's not about the 10 bucks, but there might be an issue out there and I want to prevent others to fall into this trap.

Best

Juergen

GyroGearloose
 
Posts: 9
Joined: Thu Sep 10, 2015 1:33 am

Re: Bricked HUZZAH

by adafruit2 on Wed Feb 17, 2016 1:23 pm

yeah we still dont know what it could be....
you may want to contact ESPRESSIF or ESP8266.com - the chip itself has minimal documentation, we just use the tools they make available :)

adafruit2
Site Admin
 
Posts: 19222
Joined: Fri Mar 11, 2005 7:36 pm

Re: Bricked HUZZAH

by GyroGearloose on Thu Feb 18, 2016 6:29 am

3 new Huzzahs just came in. Exchanged the board and it worked right away.
But then I made an observation and my heart nearly stopped:

external 5V power supply via Vbat
FTDI cable was plugged in
downloaded sketch and tested everything
disconnected FTDI at USB while Power supply was still in.
disconnected FTDI on header, and after a second the red light came on dimm

I was in panic !! It looked just like my bricked unit.
pressed no butttons and
Unplugged the external power supply and plugged it back in - and it worked again.

Could that be a lead? I'm using this FTDI cable:
https://www.sparkfun.com/products/9718

Best
Juergen

GyroGearloose
 
Posts: 9
Joined: Thu Sep 10, 2015 1:33 am

Re: Bricked HUZZAH

by bobthesheep22 on Sat Mar 12, 2016 2:35 am

if anyone gets this problem again. You can try to hold the the GPIO 0 Button and then compile/upload the program in Arduino IDE and only let it go when the upload finishes. This worked for me on the second chip where I had this problem

bobthesheep22
 
Posts: 8
Joined: Fri Dec 25, 2015 2:31 am

Please be positive and constructive with your questions and comments.