It is better then switching the DIP switches on Uno/Mega+WiFi. They don't last long if switched frequently.
esptool.py -p COM3 write_flash --flash_mode qio --flash_freq 26m --flash_size 4MB-c10x000000 boot_v1.7.bin0x001000 .\at\1024+1024\user1.2048.new.5.bin0x3FC000 esp_init_data_default_v08.bin0x0FE000 blank.bin0x3FE000 blank.bin0x3FB000 blank.bin
OK there is progress.I gave up the GUI Flashing tool,and instead used esptool.py:https://github.com/espressif/esptoolI followed the instructions there:installed Python v3.7,installed esptool.py via pip,and now it works.I can get status data from the board, and also flash the board successfully.Also a Command Line tool is much better, since you can save your commands for future use,which makes life much easier.I flashed my Mega2560+Wifi board (32Mbit) with the following command:Code: [Select]esptool.py -p COM3 write_flash --flash_mode qio --flash_freq 26m --flash_size 4MB-c10x000000 boot_v1.7.bin0x001000 .\at\1024+1024\user1.2048.new.5.bin0x3FC000 esp_init_data_default_v08.bin0x0FE000 blank.bin0x3FE000 blank.bin0x3FB000 blank.bin(I broke it here to several lines, but in the command line it was sent all in one line of course)Note that I chose there --flash_size 4MB-c1 because the board is 32Mbit, and the Firmware version (v1.7.1) only includes 1024+1024, so I had to use -C1.It seems that I did everything well,yet when I change the switch from Program to Communication mode,and Connect to the device, then in the Bootloader's baudrate (74880) this is what I get:Maybe the command parameters that I used are not good like I thought?It looks like the last 3 lines hint the problem:"mismatch map5,spi_size_map 6"What do I need to change in my parameters to fix it?
ESP8266_NonOS_AT_Bin_V1.7.1 is categorized as a Prebuild?and what is FDT?
Hmm, makes sense, since another person that I know said he succeeded with 16Mbit-C1, despite having a 32Mbit ESP8266..Your knowledge is amazing Juraj.And it turns out that Espressif simply cannot be trusted..
and right now I got it flashed with esptool as 2MB-c1for 4MB-c1 it printsmismatch map 5,spi_size_map 6system param partition errorsystem_partition_table_regist fail
Limited by the size of the AT bin files, only 1024+1024 flash map is supported by default.Therefore, please choose 16Mbit/32Mbit-C1 flash size when flashing these AT bin files with Espressif's Flash Download Tools.
Thank you so much.How ironic that they write this in SDK v3.0.0's details:Too bad they never tested their own advice..They would've discovered that only 16 works and 32 doesn't..