ESP8266 Developer Zone The Official ESP8266 Forum 2018-10-16T11:02:49+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=25 2018-10-16T11:02:49+08:00 2018-10-16T11:02:49+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=33960#p33960 <![CDATA[Re: Update(150414) :Flash download tool , Look over here !]]> also, it is very weird that the MAC address retrieved by the macOS version is different from the windows ...
how to fix that?

Please check the screenshot below, Thanks!
mac.png

Statistics: Posted by rockywei — Tue Oct 16, 2018 11:02 am


]]>
2017-06-01T17:32:51+08:00 2017-06-01T17:32:51+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=13621#p13621 <![CDATA[Re: Update(150414) :Flash download tool , Look over here !]]>
just in time,
version is 3.4.8
http://espressif.com/en/support/download/other-tools

we get in the past allways the exe(bin) and src form of windows PS flash tool.
the last versions and the actually 3.4.8 , does not have any src now.
you can decompress the exe file yes
but we get bin object files *.pyo - not src.

can you please provide the src code too in the archive?

this helps for custom changes.
exmaple, the baudrate is not support 2Mbit and other customs wishes

[question]: it looks that 3.4.8 does not support ESP32-D2WD ( the version with eMbeddedFlash )
when is this support with flash tool for windows pc?
same with ESP32-S0WD - the single core SoC.

:)

thank you

best wishes
rudi ;-)

Statistics: Posted by rudi — Thu Jun 01, 2017 5:32 pm


]]>
2015-05-19T01:12:49+08:00 2015-05-19T01:12:49+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=1724#p1724 <![CDATA[Re: Update(150414) :Flash download tool , Look over here !]]>
vowstar wrote:
Bug report: :!:
flash download tool v1.2 150512 can't detect DIO mode

What's your flash type.
Of course we can't cover all of the hundreds of flash IDs and types.
If there are new type of flash that we do not cover yet, we will add to the flash-info-list of this tool.

Statistics: Posted by costaud — Tue May 19, 2015 1:12 am


]]>
2015-05-19T00:05:02+08:00 2015-05-19T00:05:02+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=1722#p1722 <![CDATA[Re: Update(150414) :Flash download tool , Look over here !]]>
flash download tool v1.2 150512 can't detect DIO mode

Statistics: Posted by vowstar — Tue May 19, 2015 12:05 am


]]>
2015-05-06T23:32:05+08:00 2015-05-06T23:32:05+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=1642#p1642 <![CDATA[Re: Update(150414) :Flash download tool , Look over here !]]> Statistics: Posted by Newtronix — Wed May 06, 2015 11:32 pm


]]>
2015-04-14T21:29:32+08:00 2015-04-14T21:29:32+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=1322#p1322 <![CDATA[Re: Update(150414) :Flash download tool , Look over here !]]> Statistics: Posted by vowstar — Tue Apr 14, 2015 9:29 pm


]]>
2014-12-28T09:48:20+08:00 2014-12-28T09:48:20+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=378#p378 <![CDATA[Re: Update(141119) :Flash download tool(fix bugs for w25x fl]]>
>> 6.ID BIND:just provide a way that write chip id in the flash addr.Need at least 2 sector(2*4096Bytes)

what is that mean:
flash download tool write the chip id to flash adress example 0x14000 with a auto routine and the fw is protected by self without any written code by user?
example: guy dump copy to other modul
boot code compare chip id with flash adress 0x14000
if not same boot is broken

do you can give a construction, please?

or mean this:
chip id is written to the flash addr that user given in bind;
user must controll in fw code byself -

txs
best wishes
rudi ;-)

Statistics: Posted by rudi — Sun Dec 28, 2014 9:48 am


]]>
2014-11-20T23:19:38+08:00 2014-11-20T23:19:38+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=185#p185 <![CDATA[Re: Update(141119) :Flash download tool(fix bugs for w25x fl]]> Statistics: Posted by guan — Thu Nov 20, 2014 11:19 pm


]]>
2014-11-19T02:39:17+08:00 2014-11-19T02:39:17+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=177#p177 <![CDATA[Re: Update(141118) :Flash download tool(fix bugs for w25x fl]]> Statistics: Posted by costaud — Wed Nov 19, 2014 2:39 am


]]>
2014-11-11T07:12:42+08:00 2014-11-11T07:12:42+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=128#p128 <![CDATA[Re: code: Flash download tool based on python2.6 and wxpytho]]>
reaper7 wrote:
it is possible to add functionality to control RTS/DTR uart pins,
which in next step controls ESP RESET/GPIO0 pins for automatically enter upload process?
RST LOW->DTR LOW->RST UP->DTR UP
and of course one more hard reset RST LOW->RST UP after programming process for bootup with new firmware


no, it is not possible to do it properly for each every available SoC mode and it's electrical specs without external drivers (e.g. two BSS138 + pullups/down per pin).
And any external driver breaks the "universality" in universal flash download tool, if you wish pin toggle feature for your circuit just add few lines of code and recompile the tool.

Statistics: Posted by tinhead — Tue Nov 11, 2014 7:12 am


]]>
2014-11-11T05:02:01+08:00 2014-11-11T05:02:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=126#p126 <![CDATA[Re: code: Flash download tool based on python2.6 and wxpytho]]> which in next step controls ESP RESET/GPIO0 pins for automatically enter upload process?
RST LOW->DTR LOW->RST UP->DTR UP

and of course one more hard reset RST LOW->RST UP after programming process for bootup with new firmware

this is mod version of esptool.py
http://www.esp8266.com/viewtopic.php?f=6&t=527
https://github.com/toomasz/esp8266_stuff

Statistics: Posted by reaper7 — Tue Nov 11, 2014 5:02 am


]]>
2014-11-04T15:23:44+08:00 2014-11-04T15:23:44+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=77#p77 <![CDATA[Re: code: Flash download tool based on python2.6 and wxpytho]]> Statistics: Posted by muris — Tue Nov 04, 2014 3:23 pm


]]>
2014-11-04T01:49:33+08:00 2014-11-04T01:49:33+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=71#p71 <![CDATA[Re: code: Flash download tool based on python2.6 and wxpytho]]> Statistics: Posted by Fadi — Tue Nov 04, 2014 1:49 am


]]>
2014-11-04T01:29:21+08:00 2014-11-04T01:29:21+08:00 https://bbs.espressif.com:443/viewtopic.php?t=25&p=70#p70 <![CDATA[Update(150414) :Flash download tool , Look over here !]]>
viewtopic.php?f=5&t=433

=================================================================

Update on 2015.04.18
fix bug: Some types of flash require longer erase time, cause a erase time out in this tool.



Update on 2015.04.14

1.fix error when downloading a binary that is not aligned.
2.fix error when loading default settings


NOTE:(IMPORTANT!)
The spi settings in the flash download tool will overwrite the setting during the compile procedure(at first serveral bytes from 0x0).
Make sure the settings are accord with the compile procedure.
The original binary will not be changed.
You can find the configured binaries in FLASH_DOWNLOAD_TOOLS/bin_tmp after the download is finished.
Especially for bootvxx.bin, it will not change and keep default settings for spi mode.
Also , you can press "CombineBin" button to get a combined binary which is already set to the mode you choose.

The flash mode are defined in the 2nd and 3rd( count from 0) byte at flash address 0x0.
Bootloader will read this bytes out and changed spi mode and size mode immediately. So this is very important for your production.
Definition:

# write flash bin header
#============================
# SPI FLASH PARAMS
#-------------------
#flash_mode=
# 0: QIO
# 1: QOUT
# 2: DIO
# 3: DOUT
#-------------------
#flash_clk_div=
# 0 : 80m / 2
# 1 : 80m / 3
# 2 : 80m / 4
# 0xf: 80m / 1
#-------------------
#flash_size=
# 0 : 512 KB
# 1 : 256 KB
# 2 : 1024 KB
# 3 : 2048 KB
# 4 : 4096 KB
#-------------------
# END OF SPI FLASH PARAMS
#============================
byte2=int(flash_mode)&0xff
byte3=(((int(flash_size)<<4)| int(flash_clk_div))&0xff)




===========================================================================

Updated on 2014.11.18
add windows exe version


error list:

1. 0x0 address bin read error.

Code:

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

ets_main.c




2.spi mode error( use quad mode for dual flash)

Code:

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

load 0x40100000, len 612, room 16
tail 4
chksum 0xef
load 0x88888888, len -2004318072, room 4
flash read err, ets_unpack_flash_code
ets_main.c



3.boot load jump error.(user.bin not correct)

Code:

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

load 0x40100000, len 612, room 16
tail 4
chksum 0x12
load 0x3ffe8000, len 788, room 4
tail 0
chksum 0x50
load 0x3ffe8314, len 264, room 8
tail 0
chksum 0x4a
csum 0x4a

2nd boot version : 1.1
  SPI Speed      : 40MHz
  SPI Mode       : DIO
  SPI Flash Size : 4Mbit
jump to run user1

user code done




4.dual flash(boot+user.bin mode) ==>use download tool version v0.9.3.1 and above

Code:

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

load 0x40100000, len 612, room 16
tail 4
chksum 0x12
load 0x3ffe8000, len 788, room 4
tail 0
chksum 0x50
load 0x3ffe8314, len 264, room 8
tail 0
chksum 0x4a
csum 0x4a

2nd boot version : 1.1
  SPI Speed      : 40MHz
  SPI Mode       :   SPI Flash Size : 4Mbit
jump to run user1

Fatal exception (28):
epc1=0x401001a4, epc2=0x00000000, epc3=0x00000000, excvaddr=0x0000009c, depc=0x00000000
Fatal exception (28):
epc1=0x401001a4, epc2=0x00000000, epc3=0x00000000, excvaddr=0x0000009c, depc=0x00000000
Fatal exception (28):
epc1=0x401001a4, epc2=0x00000000, epc3=0x00000000, excvaddr=0x0000009c, depc=0x00000000



===============================================

Updated on 2014.11.18
version: v0.9.3.1


release note:
1.fix the flash erase bug
2.fix the exception for w25x series flash,when using boot loader.
3.change the the download order, from low addr offset to high.

settings :
1.crystal: support 3 freq. 26m 40m 24m,choose the one you use.
2.spi speed:
spi flash read/write clk frequency.
3.spi mode :
1)QIO ,for flash that support quad r/w operation(e.g. W25Q)
2)QOUT,for flash that support quad read operation(e.g. W25Q)
3)DIO,for flash that support dual r/w operation(e.g. W25Q &W25X)
4)DOUT, for flash that support dual read operation(e.g. W25Q &W25X)
4.Flash size: effect the flash operation APIs and bootloader address.
5.combine bine button: generate the bin file of the whole size.
6.ID BIND:just provide a way that write chip id in the flash addr.Need at least 2 sector(2*4096Bytes)


==============================================================
Thanks to Fredrik Ahlberg's outstanding work of esptool.py

esp_init_data_default.bin-->0x7c000
blank.bin ==> 0x7e000
devkey --> 0x3e000
eagle.app.v6.irom0text.bin-->0x40000
eagle.app.v6.flash.bin --> 0x0

CONFIG ITEMS: FRYSTAL FREQUENCY , SPI SPEED ,R/W MODE,SIZE
IF ENABLE ID BIND IS ENABLED , THE MAC ADDR WILL BE WITEN IN TO THE GIVEN ADDR.

WIRTEN IN PYTHON2.6 AND WXPYTHON2.8
THE MAIN LOOP IS IN frame_test.py.

BUG OR ADVICE CAN BE POST HERE.

Statistics: Posted by costaud — Tue Nov 04, 2014 1:29 am


]]>