Timed out waiting for packet content

GyroGearloose
Posts: 2
Joined: Tue Oct 18, 2016 2:12 pm

Timed out waiting for packet content

Postby GyroGearloose » Thu Oct 27, 2016 6:08 am

Hi guys,
I got a Nano32 board from rudi;) and try to use it with Arduino IDE 1.6.12; Win10
Followed the instructions http://microcontrollerkits.blogspot.de/ ... o-ide.html
Fixed the first problem "no module named serial" http://www.ayarafun.com/2016/10/arduino ... rst-touch/
but can't get the blink example to upload.

Settings:
ESP32 Dev Module
Flash 40MHz
upload speed 115200
Programmer AVR ISP

Code:
#define LED 16
void setup() {
pinMode(LED, OUTPUT);
}
void loop() {
digitalWrite(LED, HIGH);
delay(1000);
digitalWrite(LED, LOW);
delay(1000);
}

Error Message:
esptool.py v2.0-dev
Connecting...
Uploading stub...
Running stub...
Stub running...
Attaching SPI flash...
Configuring flash size...
Erasing flash...
Unc size 4016 comp size 2616 comp blocks 3

A fatal error occurred: Timed out waiting for packet content

Module has green and yellow LED on steady
I tried already to use Nano32 board, and different speeds but no difference.

When I use the serial monitor with 115200 baud there is a lot of 'traffic' with constant reboot.
Green LED on, Yellow off, red blinking

What am I doing wrong? Please help

ESP_igrr
Posts: 2072
Joined: Tue Dec 01, 2015 8:37 am

Re: Timed out waiting for packet content

Postby ESP_igrr » Fri Oct 28, 2016 5:38 am

It seems that the board is not getting reset into download mode by esptool. Can you try holding GPIO0 low while programming the board?

GyroGearloose
Posts: 2
Joined: Tue Oct 18, 2016 2:12 pm

Re: Timed out waiting for packet content

Postby GyroGearloose » Wed Nov 02, 2016 8:56 am

Tried to short press GPIO0, also long press, also keep pressed, also keep pressed and press EN, all versions.

Only the first time when connected I get

esptool.py v2.0-dev
Connecting...
Uploading stub...
Running stub...
Stub running...
Attaching SPI flash...
Configuring flash size...
Erasing flash...
Unc size 4016 comp size 2616 comp blocks 3

Writing at 0x00001000... (100 %)
Wrote 2616 bytes at 0x00001000 in 0.2 seconds (87.6 kbit/s)...
File md5: b2398575be7005ef224d9b7fdbd60262
Flash md5: c740ab70eadacc35003e7f9c616d01cc

A fatal error occurred: MD5 of file does not match data in flash!

Output from the module:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0x00
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
ets Jun 8 2016 00:22:57

Until I disconnect the module I get then the message "Timed out waiting for packet content"
:|

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Timed out waiting for packet content

Postby WiFive » Wed Nov 02, 2016 12:44 pm

GyroGearloose wrote:A fatal error occurred: MD5 of file does not match data in flash!
I believe this was due to flash status register bug and was fixed recently. Do you have latest updates to esp-idf and submodules?

http://esp32.com/viewtopic.php?f=2&t=322

Who is online

Users browsing this forum: Bing [Bot] and 94 guests