Wrover Kit failedd to upload

GAS1474
Posts: 3
Joined: Fri Jun 02, 2017 11:35 am

Wrover Kit failedd to upload

Postby GAS1474 » Fri Jun 02, 2017 11:44 am

Hi
I'm trying to upload simple sketch to the board but once uploaded i get this messages and i'm not able anymore to communicate with the board.

Using arduino for ESP32 last release
the board is just blocked with RGB clor les showing 3 colors

Code: Select all

rst:0x10 (RTCWDT_RTC_RESET),boot:0x3e (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:DIO, clock div:1
load:0x3fff0008,len:8
load:0x3fff0010,len:2016
load:0x40078000,len:7780
ho 0 tail 12 room 4
load:0x40080000,len:252
entry 0x40080034
E (57) qio_mode: Failed to set QIE bit, not enabling QIO mode
E (58) flash_parts: partition 2 invalid magic number 0x10aa
E (58) boot: Failed to verify partition table
E (68) boot: load partition table error!
user code done

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Wrover Kit failedd to upload

Postby kolban » Fri Jun 02, 2017 1:03 pm

Can you flash the board with an ESP-IDF based application instead of Arduino?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

GAS1474
Posts: 3
Joined: Fri Jun 02, 2017 11:35 am

Re: Wrover Kit failedd to upload

Postby GAS1474 » Fri Jun 02, 2017 1:06 pm

well i need to add IDF stuff i tried esptool.py i managed to erase_flash so i can access it again from arduino
but once flashed even just by blink sketch it fail again with the same error about magic number

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Wrover Kit failedd to upload

Postby kolban » Fri Jun 02, 2017 4:12 pm

My loose thinking is to see if there is an issue with your board, your procedures or your environment. Arduino on top of ESP-IDF on top of WROVER is further removed from ESP-IDF on top of WROVER ... so if we can get a simple program written to the ESP-IDF environment compiled and flashed and it runs that will tell us something. If we find that an ESP-IDF application (by itself) fails (with whatever symptoms) that will tell us something else.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

f.h-f.s.
Posts: 215
Joined: Thu Dec 08, 2016 2:53 pm

Re: Wrover Kit failedd to upload

Postby f.h-f.s. » Sat Jun 03, 2017 6:36 pm

What command is used to flash the device? Which board are you using?
Im thinking it is in QIO mode which does not work on all devices.
Try flashing with DIO

Code: Select all

python2 esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 115200 write_flash -z --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 /home/path/to/my/bootloader.bin 0x10000 /home/path/to/my/firmware.bin 0x8000 /home/path/to/my/partitionfile.bin

G6EJD-ESP32
Posts: 7
Joined: Tue Jun 27, 2017 10:55 pm

Re: Wrover Kit failedd to upload

Postby G6EJD-ESP32 » Tue Jun 27, 2017 11:01 pm

Hi,
I get the same error when using Arduino IDE. I have over-written the boards supplied demo but my code does not run, did you solve the IDE issue please?

G6EJD-ESP32
Posts: 7
Joined: Tue Jun 27, 2017 10:55 pm

Re: Wrover Kit failedd to upload

Postby G6EJD-ESP32 » Wed Jun 28, 2017 3:23 pm

I've solved this now by reducing the programming speed setting to 40MHz and setting DIO mode.

Who is online

Users browsing this forum: No registered users and 151 guests