-->
Page 1 of 1

ESP-07 endless loop - jump to user1, Fatal exception (0)

PostPosted: Fri Apr 03, 2015 6:24 am
by liloo88
Hi everyone

I'm french so, sorry for my bad english.
I'm the owner of an ESP-07 module. I received it with 'ai-thinker.com' firmware. I don't remember the version. So before flashing it I tested it with some AT commands and everything worked well with this wiring:
CH_PD,VCC -> 3.3V
GPIO_15,GND -> GND

Then I pushed GPIO_0 to ground to flash the chip. I used esp8266_flasher.exe to flash nodemcu_512k_20141212.bin
But I had 'Invalid head of packet' errors... The problem was my aliexpress clone
of FT232RL. So I used CP1202 to flash and everything goes smooth but after disconnecting GPIO_O and restarting the module only bootloader worked.
The chip goes in an endless loop of error.

I think It can't access the SPI flash to boot user data.
Is my flash chip died ? Anyone has had the same problem ?
I also try to blank512k.bin the chip, try different flasher program and try a lot of firmwares (AI-v0.9.5.0 AT Firmware.bin, AT22SDK96b1-2015-02-15.bin...) but no one can boot.

Any help will be greatly appreciate.
Thanks

Here the bootloader output:
---

ets Jan 8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 212, room 16
tail 4
chksum 0x5e
load 0x3ffe8000, len 788, room 4
tail 0
chksum 0x1c
load 0x3ffe8314, len 72, room 8
tail 0
chksum 0x55
csum 0x55
jump to user1
Fatal exception (0):
epc1=0x40211668, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Fatal exception (0):
epc1=0x40211668, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Fatal exception (0):
epc1=0x40211668, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
(endless loop)
---

Re: ESP-07 endless loop - jump to user1, Fatal exception (0)

PostPosted: Sun May 31, 2015 2:16 pm
by enaon
I believe you have to get gpio2 high as well in order to flash esp07

Re: ESP-07 endless loop - jump to user1, Fatal exception (0)

PostPosted: Sun May 31, 2015 4:09 pm
by tytower
enaon wrote:I believe you have to get gpio2 high as well in order to flash esp07

I think its the same as -12 board and its actually GPIO 0 that has to go high as do Vcc,CH_PD and reset .The low ones are Gnd and GPIO15.

When flashing it, take GPIO 0 low and cycle the power. You should get just one flash

Re: ESP-07 endless loop - jump to user1, Fatal exception (0)

PostPosted: Sun May 31, 2015 6:14 pm
by Jeff Newbill
I had this same problem yesterday. I began playing with the ESP8266 this past week, so I am truly a newbie.

I would cycle the power and upon starting it back up, it would just continue with the same lines as you have noted.

My solution was to put it back into flash mode and flash it again. Although my problem started when I tried to flash multiple files to it starting at different addresses. I reverted back to the 0.9.5 firmware and it worked fine again.

Good luck, and please let us know if you continue to have problems.