unofficial development kit flashing
Posted: Thu Sep 14, 2017 2:41 am
I'm having some trouble flashing using the unofficial development tools. I have gotten flashing to work before but I think after I erase_flash the module, it started behaving unsually.
The only way for me to get the module to flash esphttpd code is to flash with boot_v1.6 using the flash tool given by espressif. Then use esptool via eclipse and flash boot_v1.2 and then flash the esphttpd code. Even doing this it only work for esphttpd example and nothing else. If I don't do this, the wifi module keeps reseting and giving the following message on the serial terminal.
I am using the unofficial development kit with eclipse oxygen. I haven't changed much of the code within the examples. I would appreciate any information regarding this error.
UPDATE:
I think i found the problem, when I check the flash ID I get all 0 and when I do the 2 flash tool option I can get an flash ID. I'm still not sure what is causing this though or how to resolve it.
The only way for me to get the module to flash esphttpd code is to flash with boot_v1.6 using the flash tool given by espressif. Then use esptool via eclipse and flash boot_v1.2 and then flash the esphttpd code. Even doing this it only work for esphttpd example and nothing else. If I don't do this, the wifi module keeps reseting and giving the following message on the serial terminal.
Code: Select all
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 816, room 16
tail 0
chksum 0x8d
load 0x3ffe8000, len 788, room 8
tail 12
chksum 0xcf
ho 0 tail 12 room 4
load 0x3ffe8314, len 288, room 12
tail 4
chksum 0xcf
csum 0xcf
2nd boot version : 1.2
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size : 16Mbit
jump to run user1
OS SDK ver: 1.4.2(f57d61a) compiled @ Jul 1 2016 15:59:48
rf_cal[0] !=0x05,is 0xFF
I am using the unofficial development kit with eclipse oxygen. I haven't changed much of the code within the examples. I would appreciate any information regarding this error.
UPDATE:
I think i found the problem, when I check the flash ID I get all 0 and when I do the 2 flash tool option I can get an flash ID. I'm still not sure what is causing this though or how to resolve it.
Code: Select all
c:/Espressif/utils/ESP8266/esptool.exe -p COM4 flash_id
esptool.py v1.2-dev
Connecting...
Manufacturer: 00
Device: 0000
Code: Select all
c:/Espressif/utils/ESP8266/esptool.exe -p COM4 -b 115200 write_flash -ff 40m 0x00000 c:/Espressif/ESP8266_SDK/bin/boot_v1.2.bin
esptool.py v1.2-dev
Connecting...
Warning: Could not auto-detect Flash size (FlashID=0x0, SizeID=0x0), defaulting
to 4m
Running Cesanta flasher stub...
Flash params set to 0x0000
Writing 4096 @ 0x0... 4096 (100 %)
Wrote 4096 bytes at 0x0 in 0.4 seconds (87.4 kbit/s)...
Leaving...