ESP8266 WiFi software – ESP Flash Download Tool (flasher)
Met deze tool kan je bestanden (images) naar het flash geheugen kopiëren van een ESP8266 WiFi module, het is mogelijk om diverse bestanden kopiëren naar een bepaald adres in de chip.
Screen:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 |
FLASH_DOWNLOAD_TOOLS_v2.4_150924 1.fix the bug that tool does not show the MAC correctly for 48bit version of EFUSE. 2.update MAC reading functions Note: Default MAC addresses our latest chips begins with "5CCF7F", Please do not hard-code it with "18FE34" in your code. AP : 5E-CF-7F-xx-xx-xx STA: 5C-CF-7F-xx-xx-xx FLASH_DOWNLOAD_TOOLS_v2.3_150916 add efuse check function. add an option that tool just download the original binaries without changing anything. add RFInit mode option:(byte[114] of init_data.bin) 0: RF init no RF CAL, using all RF CAL data in flash, it takes about 2ms for RF init 1: RF init only do TX power control CAL, others using RF CAL data in flash , it takes about 20ms for RF init 3: RF init do all RF CAL, it takes about 200ms for RF init """) #============================================================== UPDATE: SOURCE CODE of flash_download_tool Functionally same as FLASH_DOWNLOAD_TOOLS_v1.2_150512. To make it runnable, you need these python modules: 1. python2.6 /python 2.7 2. wxpython3.0 or above 3. pyserial 4. xlrd For linux, you need to replace "COM1" with "/dev/ttyS0". FLASH_DOWNLOAD_TOOLS_v1.2_150512 Fix some hints&tips FLASH_DOWNLOAD_TOOLS_v1.1_150511 Support new flash size. DO NOT SUPPORT : 7:4MB-C2(2048KB+2048KB) FLASH_DOWNLOAD_TOOLS_v1.0_150508 Pay attention to the tips and hints in this tool. 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 (256 KB + 256 KB) # 1 : 256 KB # 2 : 1024 KB (512 KB + 512 KB) # 3 : 2048 KB (512 KB + 512 KB) # 4 : 4096 KB (512 KB + 512 KB) # 5:2048 KB (1024 KB + 1024 KB)#support in sdk 1.0.2 # 6:4096 KB (1024 KB + 1024 KB)#support in sdk 1.0.2 # 7:4096 KB (2048 KB + 2048 KB)#support in sdk 1.0.2 #------------------- # END OF SPI FLASH PARAMS #============================ byte2=int(flash_mode)&0xff byte3=(((int(flash_size)<<4)| int(flash_clk_div))&0xff) FLASH_DOWNLOAD_TOOLS_v0.9.6_150419 fix bug: Some types of flash require longer erase time, cause a erase time out in this tool. FLASH_DOWNLOAD_TOOLS_v0.9.5_150414 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) FLASH_DOWNLOAD_TOOLS_v0.9.3.1_141118 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) ============================================================== esp_init_data_default.bin-->0x7c000 blank.bin ==> 0x7e000 devkey --> 0x3e000 eagle.app.v6.irom0text.bin-->0x40000 eagle.app.v6.flash.bin --> 0x0 |
Download SP Flash Download Tool @ bbs.espressif.com
[#/esp/software/flash_download_tool” ]