I've compiled a firmware with SPI_MODE_MAP=6, and it works fine after flashing it at 0x01000 address in 32Mbit flashing mode, but loader (1.4b1) shows it is 32Mbit(512K+512K) mode (I've also tried 16Mbit(1024K+1024K), and the firmware works fine as well).
Now I'm trying to flash it in 32Mbit-C1 mode, and after flashing loader shows it correctly as 32Mbit(1024K+1024K), but it never gets to user code. It prints:
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0
2nd boot version : 1.4(b1)
SPI Speed : 80MHz
SPI Mode : QIO
SPI Flash Size & Map: 32Mbit(1024KB+1024KB)
jump to run user1 @ 1000
and never gets any further.
I've tried to download firmware both with Firmware Download Tools on Windows and esptool on Linux, and outcome is the same, so I believe it must be some bootloader issue.
Or am I doing something wrong specific to this mode?
Thanks,
Alex.