Search found 12 matches

by lanegg
Fri Mar 24, 2017 3:32 pm
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 15
Views: 37511

Re: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

I manage to upload using platformIO. Cool. Do you think is better to install a linux VM to use the esp32? If you are doing C/C++ then, yeah, I think a *NIX environment is better assuming you know *NIX . If you are doing Arduino IDE work then I think Windows is slightly better. I think the differenc...
by lanegg
Wed Mar 22, 2017 5:17 pm
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 15
Views: 37511

Re: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

Try again with something like Blink. I think if an Arduino sketch seg faults you get that result and the core dump or stack trace is not piped to the terminal. At least one of the sketches I was trying had that behavior, and it was because something was crashing in the sketch.
by lanegg
Wed Mar 22, 2017 4:11 pm
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 15
Views: 37511

Re: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

The issue is timing related to when the publish command is issued and when the boot button is pressed. I haven't nailed down exactly when things needs to be pressed, but I have had okay luck if I press the boot button while Arduino IDE is in the process of compiling the sketch. Its not 100%, but it ...
by lanegg
Fri Mar 17, 2017 1:32 am
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 15
Views: 37511

Re: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

Spoke too early. I went out for dinner and upon my return and the dev board is back to the same error about timing out waiting for a packet header. I tried the above tricks with no luck this time.
by lanegg
Thu Mar 16, 2017 8:55 pm
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 15
Views: 37511

Re: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

I shut down the Ubuntu VM and tried directly from the Win10 host and got the same error. However, I shut down Putty and all Arduino IDE instances then cycled the power on the board. I started the IDE and did not start Putty and things worked. I think Putty was causing a lock on the COM port that was...
by lanegg
Thu Mar 16, 2017 8:16 pm
Forum: ESP32 Arduino
Topic: A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Replies: 15
Views: 37511

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

I am trying to get the Arduino IDE setup for a Adafruit ESP32 Dev Board and can't get the sketch to upload to the chip. I am just trying to use the Blink example sketch. I have held down the Boot button followed by pressing the EN button before/after clicking the upload button in the IDE. I have ver...
by lanegg
Sat Feb 25, 2017 10:25 pm
Forum: Report Bugs
Topic: Resource leak in I2C?
Replies: 2
Views: 6501

Re: Resource leak in I2C?

Doh!

Thanks.
by lanegg
Sat Feb 25, 2017 8:16 pm
Forum: Report Bugs
Topic: Resource leak in I2C?
Replies: 2
Views: 6501

Resource leak in I2C?

I have to preface this post saying the bug could be on my side. My C skills are questionable on a good day. :) I am working on a driver for the Adafruit TSL2561 lux sensor. I think I am close to having it working except I keep running into issues with the whole chip crashing after about 5 minutes of...
by lanegg
Mon Jan 30, 2017 2:29 pm
Forum: ESP-IDF
Topic: Using an Adafruit light sensor for the I2C example
Replies: 2
Views: 7234

Re: Using an Adafruit light sensor for the I2C example

both the I2C slave addresses used by each two sensor type and also the specific I2C data that is read/written to control and read the sensors are different. So the code will require substantial re-writing to work with this sensor. That's the nudge I was looking for. :) I was looking for validation ...
by lanegg
Sun Jan 29, 2017 12:53 am
Forum: ESP-IDF
Topic: Using an Adafruit light sensor for the I2C example
Replies: 2
Views: 7234

Using an Adafruit light sensor for the I2C example

I am trying to use the Adafruit TSL2561 light sensor to try out the I2C example code and am not getting a change in the sensor output. I think this is because of a difference in how this sensor works over the one used in the demo. However, this is approaching the limit of knowledge. Would someone gi...