Wrover module boot issues

permal
Posts: 384
Joined: Sun May 14, 2017 5:36 pm

Wrover module boot issues

Postby permal » Tue Aug 07, 2018 8:30 am

Hi,

Hardware:
Wrover-kit, all jumpers removed, onboard-module flash cleared.
External Wrover module connected to Wrover-kit via the following wires:
3.3V, GND, RXD, TXD, IO0 and EN. There is nothing else connected to the external Wrover module.

If also connecting MTDI, MTDS, MTCK and MTDO, OpenOCD detects the two cores and behaves the same as with the on-board module. (debugging the on-board module works)

Flashing the chip works fine, but on boot I get the following error over and over:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371
ets Jun 8 2016 00:22:57
At first I thought it was the MTDI pin that needed a pull-up/pull-down, but no - the Wrover module already has a pull-up (R9) to set the 1.8V for the SPI flash voltage. In menu config, the VDDSDIO LDO is set to 1.9V.

Anyone got an idea why the module won't boot?

permal
Posts: 384
Joined: Sun May 14, 2017 5:36 pm

Re: Wrover module boot issues

Postby permal » Tue Aug 07, 2018 5:49 pm

I figured it out - I've got an alias 'maf' to that does 'make app-flash monitor', but as the Wrover module is completely blank it's missing the boot partition. Running 'make flash monitor' once solves it. :)

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

Re: Wrover module boot issues

Postby kolban » Tue Aug 07, 2018 6:07 pm

Howdy Permal,
Thanks for taking the time to follow up on the puzzle and respond. I've got the feeling that this post will answer that of other users long into the future. For me the key-phrase will be:

flash read err, 1000

Which is likely the message that will be issued when the bootloader isn't found. A nice new piece of knowledge to add to our collective tribal history.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: No registered users and 74 guests