Please use Espressif Flash Download Tool !!!

ESP_Faye
Posts: 1623
Joined: Mon Oct 27, 2014 11:08 am

Please use Espressif Flash Download Tool !!!

Postby ESP_Faye » Tue Jun 23, 2015 2:58 pm

:!: :!: :!:

esp_iot_sdk can work in different flash sizes and flash maps, more details are in documentation 2A-ESP8266-SDK__Getting_Started_Guide.

Please use Espressif Flash Download Tool to download bin files into flash, and choose the corresponding flash map to your compilation.
Otherwise you may have many SPI flash related problems, because of the mismatch of flash map compiling and flash map downloading.

Espressif Flash Download Tool http://bbs.espressif.com/viewtopic.php?f=5&t=433

How to use flash download tool? http://bbs.espressif.com/viewtopic.php?f=10&t=362

Thanks for your interest in Espressif Systems and ESP8266 !

kaomantou
Posts: 5
Joined: Thu Jun 25, 2015 10:33 pm

Re: [Notice]Please use Espressif Flash Download Tool !!!

Postby kaomantou » Thu Jun 25, 2015 10:44 pm

我觉得 Espressif Flash Download Tool 不应该开源,应该由乐鑫维护升级,这是官方工具链上得重要部分,用户体验也在此。
此外How to use flash download tool? How to use 1024+KB flash 这些不应该以发帖的形式出现,而应该是文档的形式发布在官网上。
乐鑫官网上应该由独立的连接发布各种SDK、工具、代码、文档等等资料,这样才能提高开发环境的易用性、统一性,让用户集中精力做开发工作,而不是在论坛里翻资料,还为各种版本的资料头疼。让工程师感觉是在和diy的FANS一起在搞尝试,而忽略了他们是在做产品开发!
芯片做的好是一方面,开发环境是吸引工程应用的另一方面,请参考TI、ST等公司的文档、工具链、技术支持的运行模式。
希望乐鑫越做越好!

ESP_Faye
Posts: 1623
Joined: Mon Oct 27, 2014 11:08 am

Re: [Notice]Please use Espressif Flash Download Tool !!!

Postby ESP_Faye » Mon Jun 29, 2015 11:43 am

您好,

感谢您对乐鑫和 ESP8266 的关注以及热心的反馈,我们将认真考虑您提出的建议。

Flash download tool 的使用和烧录说明,您也可以参考文档“2A-ESP8266__IOT_SDK_User_Manual”

目前的文档链接位于 http://bbs.espressif.com/viewforum.php?f=21
常用文档位于软件包解压后的 \esp_iot_sdk\document\ 路径下

bojanpotocnik
Posts: 9
Joined: Wed Jan 14, 2015 6:20 pm

Re: [Notice]Please use Espressif Flash Download Tool !!!

Postby bojanpotocnik » Mon Jul 06, 2015 6:03 pm

I wish to use this tool but I am unable to, because it cannot drive DTR and RTS lines, which are connected to CHIP_EN and GPIO0.

Can you please add the same functionality as in esptool - controlling DTR and RST lines for automatic reset -> switch to UART boot mode when pressing START and reset -> switch to SPI boot mode afterwards (when pressing STOP)?

themadinventor/esptool wrote:If GPIO0 and GPIO15 is pulled down and GPIO2 is pulled high when the module leaves reset,
then the bootloader will enter the UART download mode. The ROM auto-bauds, that is, it will
automagically detect which baud rate you are using. esptool defaults to 115200.

esptool uses the RTS and DTR modem status lines to automatically enter the bootloader.
Connect RTS to CH_PD (which is used as active-low reset) and DTR to GPIO0.

TonyTan
Posts: 3
Joined: Sat Nov 22, 2014 5:39 pm

Re: [Notice]Please use Espressif Flash Download Tool !!!

Postby TonyTan » Tue Jul 07, 2015 2:33 pm

开源还是必须的,在我们实际的项目中,我们量产过程中还会动态的烧写产品串号等信息,现在开源了,我们可以在原厂工具的基础上开发我们自己的量产工具,这一点对提高生产效率很重要。

thuwrx10
Posts: 10
Joined: Wed Aug 19, 2015 3:59 pm

Re: Please use Espressif Flash Download Tool !!!

Postby thuwrx10 » Fri Aug 21, 2015 5:57 pm

I'm using Ubuntu as my OS and I was not able to run python code of Flash Download Tool. So I considered esptool first, and experienced a weird problem. Finally I discovered that the boot sector has some special bytes related to SPI flash config. The Espressif Flash Download Tool "secretly" modified these bytes before downloading.

The secret modification overrides the option chosen when compiling. I think this should be avoided or at least documented.

gregware
Posts: 1
Joined: Wed Jan 07, 2015 5:10 am

Re: [Notice]Please use Espressif Flash Download Tool !!!

Postby gregware » Wed Sep 02, 2015 4:32 am

I second that, using DTR/RTS to drive GPIO0 and Reset is a brilliantly simple idea and makes life much easier.

bojanpotocnik wrote:I wish to use this tool but I am unable to, because it cannot drive DTR and RTS lines, which are connected to CHIP_EN and GPIO0.

Can you please add the same functionality as in esptool - controlling DTR and RST lines for automatic reset -> switch to UART boot mode when pressing START and reset -> switch to SPI boot mode afterwards (when pressing STOP)?

themadinventor/esptool wrote:If GPIO0 and GPIO15 is pulled down and GPIO2 is pulled high when the module leaves reset,
then the bootloader will enter the UART download mode. The ROM auto-bauds, that is, it will
automagically detect which baud rate you are using. esptool defaults to 115200.

esptool uses the RTS and DTR modem status lines to automatically enter the bootloader.
Connect RTS to CH_PD (which is used as active-low reset) and DTR to GPIO0.

wowlol

Re: Please use Espressif Flash Download Tool !!!

Postby wowlol » Wed Sep 16, 2015 4:45 pm

This is all good. Keep doing that.


Thank you for sharing and updating!

I will come to look at this issue and look forward to!

YimingLi
Posts: 51
Joined: Sun May 03, 2015 5:36 pm

Re: [Notice]Please use Espressif Flash Download Tool !!!

Postby YimingLi » Sat Oct 17, 2015 1:07 pm

Hi chums,

In fact a software toolkit supporting One-Press-Programming is already available for months under windows operating systems, which issues RTS signal to control the power/chip_en/nReset for a hardware reboot, and issue DTR signal to toggle the GPIO0 for flash burning timing automatically. Meanwhile, the software toolkit is not just a download toolkit, but one in combination of debug and dowanload capabilities with many interesting features more than listed below.

You could get the software toolkit downloaded from outside China: https://github.com/Anylinkin/ESP8266/tr ... /S8266WIFI from inside China: http://pan.baidu.com/s/1pJy3bUN : open the folder and download freely the compressed file ESP8266EX_Debug_and_Download_Toolkit_Vx.x.x.tar only if you are familiar with English. And there is an English user's manual document in the downloaded package. The toolkit support language switch between Chinese and English as well.

Features for your information

1. Auto-Search the COM port number and baud rate an ESP8266EX module attached, without any troubles due to forget or not know the baud rate of an attached Espressif module.

2. Adaptive Baud Rate matching with 74880bps supported, to avoid unread codes during bootstrap which is helpful for cause-locating and trouble-shooting.

3. Supporting COM port number above 10 without any necessity to adjust the COM number from the computer side.

4. Capable of communicating both in Hexadecimal and normal ASCII mode.

5. Available with a quick launch to some frequently used AT commands.

6. Available with a capability to boot the ESP8266EX module from serial port.

7. Available with a flexible flash downloading interface
- With On-Press-Program® (OPP®) capabilities
- Supporting various types of Flash Map and SPI configuration
- With more debug information output for debugging,
- Supporting GPIO selection for LED indicator, and
- Supporting downloading speed selection during flash programming for different performance of hardware

8. Supporting various types of modules based on ESP8266EX SOC

9. Supporting various Windows Operation Systems.

10. More to be found out.

The last but not the least, I also strongly suggest to use the download tool by Espressif if possible. Meanwhile, if you expect to get some more features, you may have a try with the software toolkit, as many developpers said it brings about convenience.

Hope it will be helpful.

gregware wrote:I second that, using DTR/RTS to drive GPIO0 and Reset is a brilliantly simple idea and makes life much easier.

bojanpotocnik wrote:I wish to use this tool but I am unable to, because it cannot drive DTR and RTS lines, which are connected to CHIP_EN and GPIO0.

Can you please add the same functionality as in esptool - controlling DTR and RST lines for automatic reset -> switch to UART boot mode when pressing START and reset -> switch to SPI boot mode afterwards (when pressing STOP)?

themadinventor/esptool wrote:If GPIO0 and GPIO15 is pulled down and GPIO2 is pulled high when the module leaves reset,
then the bootloader will enter the UART download mode. The ROM auto-bauds, that is, it will
automagically detect which baud rate you are using. esptool defaults to 115200.

esptool uses the RTS and DTR modem status lines to automatically enter the bootloader.
Connect RTS to CH_PD (which is used as active-low reset) and DTR to GPIO0.
Last edited by YimingLi on Tue Sep 20, 2016 1:11 pm, edited 1 time in total.

calvintanct
Posts: 1
Joined: Tue Dec 15, 2015 11:54 pm

Re: Please use Espressif Flash Download Tool !!!

Postby calvintanct » Wed Dec 16, 2015 12:10 am

Hello guys, please help me.
I have already followed all the instructions in the newbies guide, but I cannot flash my ESP 8266.
my ESP is ESPWROOM02.
I got Chip sync error message in cmd-like window, and fail message with red color in the box.
I have configured all the hardware correctly, and my esp sent proper message in normal mode with tx rx, so I think it's not the hardware problem.
Can someone help me, what should I do?

Who is online

Users browsing this forum: Google [Bot] and 4 guests