Cannot download through Flash Download Tools[Done]

MarsTechH
Posts: 10
Joined: Mon Feb 02, 2015 4:52 pm

Cannot download through Flash Download Tools[Done]

Postby MarsTechH » Tue Apr 26, 2016 6:45 pm

Log from ESP Flash download tool V2.3

Code: Select all

test offset :  0 0x0
case ok
(True, [[u'G:\\Users\\MartinT3CH\\Downloads\\nodemcu-dev-27-modules-2016-04-01-01-45-19-integer.bin', 0]])
rep_path : E:\FLASH_DOWNLOAD_TOOLS_v2.4_150924\bin_tmp\downloadPanel1
size_speed : 40
test fpath: G:\Users\MartinT3CH\Downloads\_temp_by_dltool/downloadPanel1
test fname: G:\Users\MartinT3CH\Downloads\_temp_by_dltool/downloadPanel1\nodemcu-dev-27-modules-2016-04-01-01-45-19-integer.bin_rep
mode :    speed:
write bin :  G:\Users\MartinT3CH\Downloads\_temp_by_dltool/downloadPanel1\nodemcu-dev-27-modules-2016-04-01-01-45-19-integer.bin_rep
test running : False
serial port opened
Connecting...
chip sync ok!
0x3ff00050: 87190000
0x3ff00054: 02000c73
0x3ff00058: 6400b000
0x3ff0005c: 005ccf7f
EFUSE MODE : 1
reg0:87190000
reg1:02000c73
reg2:6400b000
reg3:005ccf7f
check_err_0: 0b
check_err_1: 00
check_err_2: 00
check_err_3: 02
check_err_4: 0b
====================
EFUSE NORMAL MODE
====================
=========================
CRC IN MODE 1:
crc_calc_res: 100
target crc val: 100
=========================
=========================
CRC IN MODE 1:
crc_calc_res: 25
target crc val: 25
=========================



==================
EFUSE LOG:
======================
EFUSE LOG:
---------------
REG0:87190000
REG1:02000C73
REG2:6400b000
REG3:005CCF7F
----------------
====================
EFUSE NORMAL MODE
====================
EFUSE CHECK PASS...
=================
reg2>>13: 5
=================
48bit mac
debug:
-----------------------
 5c cf 7f 0c 73 87
ID FOR XM: 06 40 00 00 00 01 90 00
XM_ID: 0640000000019000
-----------------------
crc_efuse_4bit: 0
crc_calc_4bit: 13
48bit mac
MAC AP : 5E-CF-7F-0C-73-87
MAC STA: 5C-CF-7F-0C-73-87
get mac res:  True
('tttest uuuuuuuuuuart : uart reg: ', 91)
(' baudrate: ', 576000)
get crystal: 26208000
head: 0 ;total: 0
erase size : 0
get flash id error
com closed


Download Settings
Image

Flash :Winbond W25Q32
DCDC : TPS62740

Image

After switching the crystal(using crystal and cap from ESP12 module), use external power source... Nothing looks work
And it no loger able to connect to Flash Tool :(
When reset under normal mode(GPIO -> HIGH Everything looks fine

Code: Select all

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


Under GPIO0 -> LOW

Code: Select all

絠棐儊峒櫟M&畁椨绢遞Rw爉双O率b睴o尹尹sJ

Espressif_Kelly
Posts: 140
Joined: Mon Oct 27, 2014 10:40 am

Re: Cannot download through Flash Download Tools

Postby Espressif_Kelly » Fri Apr 29, 2016 3:41 pm

Hi,

When you want to download firmware into spi flash using flash download tool, please make sure that GPIO15 is low, GPIO0 is low and GPIO2 is high. And you get below print through UART.

ets Jan 8 2013,rst cause:2, boot mode:(1,6)

After download, GPIO0 should be switched to high and ESP8266EX will enter flash boot mode.

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

More questions, please refer to "ESP8266 SDK Getting Started Guide" which can be got in below link.

viewtopic.php?f=67&t=225

Thanks.

MarsTechH
Posts: 10
Joined: Mon Feb 02, 2015 4:52 pm

Re: Cannot download through Flash Download Tools

Postby MarsTechH » Wed May 11, 2016 12:01 pm

Image
Image

1. I always using the same pull-up & pull-down resistor pairs, the previous board works fine.
2. You can check out the logs from the download tools, it stop at requesting flash vendor, so something wrong happened at communication process :(
3. The wiring of flash just turns fine, and even much better than provious one for using 4L instead of 2L
4. Tried every potenial methods to make this staff work, but is didn;t.

BTW,I start using the ESP8266 for more than 2 years ago, No more starting guide is needed : )

Espressif_Kelly
Posts: 140
Joined: Mon Oct 27, 2014 10:40 am

Re: Cannot download through Flash Download Tools

Postby Espressif_Kelly » Wed May 11, 2016 3:36 pm

Hi,

It seems there is someting wrong when trying to read flash.

Could you please send complete shematic if you have to us for checking?

Thanks.

MarsTechH
Posts: 10
Joined: Mon Feb 02, 2015 4:52 pm

Re: Cannot download through Flash Download Tools

Postby MarsTechH » Wed May 11, 2016 5:17 pm

Image
Image
Image
Image

The previous use the same sch file works fine That's where I puzzed at ...
(Now shifting to use the ESP8285, and works weired...

Code: Select all

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

load 0x4010f000, len 1264, room 16
tail 0
chksum 0xef
csum 0xef
csum err
ets_main.c


If possible, I can send sample for futher analysis :)

Espressif_Kelly
Posts: 140
Joined: Mon Oct 27, 2014 10:40 am

Re: Cannot download through Flash Download Tools

Postby Espressif_Kelly » Wed May 11, 2016 7:44 pm

Hi,

The schematic is ok.

Please help confirm current problem is for ESP8266 and ESP8285 is ok.

When you use ESP8285, have you moved the external spi flash and choose spi mode as DIO?

Could you please double check the part Number of the flash on this test board? W25Q32?

Thanks.

MarsTechH
Posts: 10
Joined: Mon Feb 02, 2015 4:52 pm

Re: Cannot download through Flash Download Tools

Postby MarsTechH » Thu May 12, 2016 9:51 am

1. Yes both for ESP8285 and ESP8266
[ESP8285 gives the output like

Code: Select all

mode :  3
mode :  0
test offset :  0 0x0
case ok
(True, [[u'E:\\arduino-1.6.7\\portable\\sketchbook\\BasicOTA.ino.bin', 0]])
rep_path : E:\FLASH_DOWNLOAD_TOOLS_v2.4_150924\bin_tmp\downloadPanel1
size_speed : 20
test fpath: E:\arduino-1.6.7\portable\sketchbook\_temp_by_dltool/downloadPanel1
test fname: E:\arduino-1.6.7\portable\sketchbook\_temp_by_dltool/downloadPanel1\BasicOTA.ino.bin_rep
mode :     speed:
write bin :  E:\arduino-1.6.7\portable\sketchbook\_temp_by_dltool/downloadPanel1\BasicOTA.ino.bin_rep
test running : False
serial port opened
Connecting...
chip sync ok!
read reg error
get mac res:  False
com closed

Fail at all the bandrate, try external 3V3 power resource, no help :( ]

2.The flash on the teset board is winbond W25Q32, also tried the GD25Q32 and the flash used on a usable esp12 module.

3.Connection type is QIO, but tried both DIO and QIO for more than 10 times no help :(

Espressif_Kelly
Posts: 140
Joined: Mon Oct 27, 2014 10:40 am

Re: Cannot download through Flash Download Tools

Postby Espressif_Kelly » Thu May 12, 2016 2:13 pm

Hi,

Please send the complete schematic (pdf) of your board, not just wifi part.

Please also send us photo of the test environment that you build.

Do you have the purchase link of this board? or can you send a sample to us? We need to test with this board and see what's wrong.

Thanks.

MarsTechH
Posts: 10
Joined: Mon Feb 02, 2015 4:52 pm

Re: Cannot download through Flash Download Tools

Postby MarsTechH » Thu May 12, 2016 5:37 pm

PDF File of SCH:

Code: Select all

http://pan.baidu.com/s/1geXH2vh

*Notice, some changes such as all the pull-up-down resistors are switching to use 12K instead of 100K, GPIO9 and GPIO10 and not wired between ATmega and ESP8266, flash IO0/IO1/SCLK are not connect through resistor(first version we did so, but it also have the same problem)

Test envoriment:
Image
USB2UART tried CH340/PL2303/CP2102/FT232

ATmeg48P's program to trun on all the power and other pin remain floating input mode.

This is just a prototype for a ESP8266 based watch, so no sell for now :(
I can send you a sample,so can you give me the address ?

Espressif_Kelly
Posts: 140
Joined: Mon Oct 27, 2014 10:40 am

Re: Cannot download through Flash Download Tools

Postby Espressif_Kelly » Thu May 12, 2016 7:39 pm

Hi,

Kelly Lee
P: 021-61062079
#204, Block 2, 690 Bibo Road, Zhang Jiang High-Tech Park, Shanghai, China

Who is online

Users browsing this forum: No registered users and 2 guests