AT and IoT_Demo firmware not functioning

Fadi
Posts: 13
Joined: Mon Oct 27, 2014 9:48 am

AT and IoT_Demo firmware not functioning

Postby Fadi » Sun Nov 02, 2014 11:47 am

Hi,

I have successfully updated my ESP8266 ESP-01 module yesterday from version 0.91 to 0.922 (downloaded from one of the sites that sells the modules)
I later used the official VM found here, compiled AT firmware and IoT_Demo firmware.

I uploaded the IoT_Demo firmware to the board successfully, only to remember that it may not utilize UART for feedback, so I uploaded the AT firmware
so that I can start testing and do little modifications later.

The module doesn't respond to any AT command and there is no output on the terminal.
I tried changing baudrates and the one that worked was 75000.
I get the following message on uart terminal:

"
ets Jan 8 2013,rst cause:2, boot mode:(3,4)

load 0x40100000, len 23304, room 16
"

but uart_init() was set at 115200 as per AT source code, and I didn't change anything in the code, and it compiled without errors.

Can you please help me trouble shoot the problem?

VCC supplied 3.3v
TX/RX are 3.3v TTL levels
CH_PD 3.3v (HIGH)
RST is GROUND

I was only successful in getting the above message on UART with this baudrate.

Thank you for your help

costaud
Posts: 138
Joined: Fri Oct 24, 2014 7:40 pm

Re: AT and IoT_Demo firmware not functioning

Postby costaud » Mon Nov 03, 2014 2:29 am

ets Jan 8 2013,rst cause:2, boot mode:(3,4)

load 0x40100000, len 23304, room 16


As far as I know, this print log is mostly caused by the spi flash r/w mode mismatching.

The default setting is that the spi flash port works in quad r/w mode , if the flash do not support this mode , the chip can not boot up correctly.

Please use the latest download tool and set the spi dout mode in config panel.
If it works , check the flash datasheet and confirm whether it supports quad r/w mode.
download_tool.png
download_tool.png (62.35 KiB) Viewed 17756 times

Fadi
Posts: 13
Joined: Mon Oct 27, 2014 9:48 am

Re: AT and IoT_Demo firmware not functioning

Postby Fadi » Mon Nov 03, 2014 4:37 am

Thanks foe the reply.
I got an esp8266 esp-01 module already has onboard flash..etc
And if I flash 0.922 firmware using xtcom it works.

Are you sure i need to use this tool ? But what should I put for the clock?
Thanks

Fadi
Posts: 13
Joined: Mon Oct 27, 2014 9:48 am

Re: AT and IoT_Demo firmware not functioning

Postby Fadi » Mon Nov 03, 2014 6:57 am

Unfortunately it didn't work.
Same problem.
I even used the blank.bin and init*.bin to start fresh.

costaud
Posts: 138
Joined: Fri Oct 24, 2014 7:40 pm

Re: AT and IoT_Demo firmware not functioning

Postby costaud » Mon Nov 03, 2014 1:31 pm

could you read the type number of the flash chip?

Fadi
Posts: 13
Joined: Mon Oct 27, 2014 9:48 am

Re: AT and IoT_Demo firmware not functioning

Postby Fadi » Mon Nov 03, 2014 10:08 pm

costaud, please find the attached image.
Thanks
Attachments
flash_chip.png
Flash-chip
flash_chip.png (242.09 KiB) Viewed 17701 times

muris
Posts: 35
Joined: Fri Oct 24, 2014 7:25 pm
Location: Bosnia-Herzegovina
Contact:

Re: AT and IoT_Demo firmware not functioning

Postby muris » Mon Nov 03, 2014 10:33 pm

Where can I download the ESP FLASH DOWNLOAD TOOL for Windows?
Thanks :)

Fadi
Posts: 13
Joined: Mon Oct 27, 2014 9:48 am

Re: AT and IoT_Demo firmware not functioning

Postby Fadi » Mon Nov 03, 2014 10:46 pm

muris wrote:Where can I download the ESP FLASH DOWNLOAD TOOL for Windows?
Thanks :)


http://www.electrodragon.com/w/Wi07c

towards the end of the page, you should see a link to XTCom tool.
there is also another option, espTool.py (but needs python installed on windows, google for it easy to find I don't have the link handy)

muris
Posts: 35
Joined: Fri Oct 24, 2014 7:25 pm
Location: Bosnia-Herzegovina
Contact:

Re: AT and IoT_Demo firmware not functioning

Postby muris » Mon Nov 03, 2014 11:26 pm

I am already using Python version, and XT COM is not working on my PC for some reason. I wanted to download the "ESP FLASH DOWNLOAD TOOL" that is shown in the screenshot in previous posts. Do you know where to get that one?

Here is the screenshot:

download/file.php?id=21

Fadi
Posts: 13
Joined: Mon Oct 27, 2014 9:48 am

Re: AT and IoT_Demo firmware not functioning

Postby Fadi » Tue Nov 04, 2014 12:05 am

hmmm I had this file from the extensive search that I did prior to ordering (and while waiting) for my module to arrive.
I can't find the link right this second sorry.
PM me your email, I can send it to you, but again it didn't work for me.

Who is online

Users browsing this forum: No registered users and 92 guests