Flash fails on ESP8266-01 based on SDK2.0
Flash fails on ESP8266-01 based on SDK2.0
Postby walt22 » Thu Aug 31, 2017 9:49 pm
Hello,
I have problems to flash a bunch of ESP8266-01 if my firmware is based on SDK2.0. With the support of other users ( see thread : http://www.esp8266.com/viewtopic.php?f= ... 667d9c9a45) we found out, that a flash with SDK1.3 or 1.5 firmware work properly on these chips. If flashed with SDK2.0 firmware (just "Hello World"), the ESPs sends permantly character garbidge.
Does anybody of the experts here has an explanation of this effect?
And yes, I use a strong powersupply with a large buffer capacitor during the flash. The tool used is "Flash Download Tools for ESP8266 and ESP32".
Many thanks and best regards
Walter
I have problems to flash a bunch of ESP8266-01 if my firmware is based on SDK2.0. With the support of other users ( see thread : http://www.esp8266.com/viewtopic.php?f= ... 667d9c9a45) we found out, that a flash with SDK1.3 or 1.5 firmware work properly on these chips. If flashed with SDK2.0 firmware (just "Hello World"), the ESPs sends permantly character garbidge.
Does anybody of the experts here has an explanation of this effect?
And yes, I use a strong powersupply with a large buffer capacitor during the flash. The tool used is "Flash Download Tools for ESP8266 and ESP32".
Many thanks and best regards
Walter
Re: Flash fails on ESP8266-01 based on SDK2.0
Postby pratik » Fri Sep 01, 2017 9:05 pm
The "garbage" you get printed is legible at 74880 baud rate.
Please post the terminal log here so I can see what is happening.
Please post the terminal log here so I can see what is happening.
Re: Flash fails on ESP8266-01 based on SDK2.0
Postby walt22 » Mon Sep 04, 2017 12:37 am
Hello Pratik,
Many thanks for your reply. I understand, that you are interested in the contents of the character garbidge.
I will deliver these infos asap.
Best regards
Walter
Many thanks for your reply. I understand, that you are interested in the contents of the character garbidge.
I will deliver these infos asap.
Best regards
Walter
Re: Flash fails on ESP8266-01 based on SDK2.0
Postby walt22 » Tue Sep 05, 2017 6:53 pm
Hello Pratik,
In this post i have attached two files with the boot messages of SDK2.0 and SDK1.3 flashes.
These flashes are done with the ESP download tool in the same environment on a ESP8266-01
monitored with 74880 Baud.
I hope, you are able to see any reason, why the chips run wrong if flashe with SDK2.0 firmware.
Many thanks for your support and best regards
Walter
Sorry, could not attach .txt files, I copy the contents here:
SDK1.3
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 28440, room 16
tail 8
chksum 0x48
load 0x3ffe8000, len 1936, room 0
tail 0
chksum 0x8e
load 0x3ffe8790, len 1384, room 8
tail 0
chksum 0xed
csum 0xed
S▒8!▒%2▒=▒▒A*▒n▒▒▒▒ "@%▒▒v▒z▒m▒k!▒▒r▒Yv▒
SDK2.0
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 27304, room 16
tail 8
chksum 0x4c
load 0x3ffe8000, len 884, room 0
tail 4
chksum 0xa7
load 0x3ffe8380, len 440, room 4
tail 4
chksum 0xf0
csum 0xf0
s▒▒ѕ▒▒▒▒Ʌ▒▒*▒ɽɱ▒͕▒b▒▒с▒▒ٕ▒▒▒▒Ʌ▒▒jR▒rf_cal[0] !=0x05,is 0xFF
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 27304, room 16
tail 8
chksum 0x4c
load 0x3ffe8000, len 884, room 0
tail 4
chksum 0xa7
load 0x3ffe8380, len 440, room 4
tail 4
chksum 0xf0
csum 0xf0
system param error, use last saved param!
rf_cal[0] !=0x05,is 0xFF
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 27304, room 16
tail 8
chksum 0x4c
load 0x3ffe8000, len 884, room 0
tail 4
chksum 0xa7
load 0x3ffe8380, len 440, room 4
tail 4
chksum 0xf0
csum 0xf0
system param error, use last saved param!
rf_cal[0] !=0x05,is 0xFF
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
etc....
In this post i have attached two files with the boot messages of SDK2.0 and SDK1.3 flashes.
These flashes are done with the ESP download tool in the same environment on a ESP8266-01
monitored with 74880 Baud.
I hope, you are able to see any reason, why the chips run wrong if flashe with SDK2.0 firmware.
Many thanks for your support and best regards
Walter
Sorry, could not attach .txt files, I copy the contents here:
SDK1.3
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 28440, room 16
tail 8
chksum 0x48
load 0x3ffe8000, len 1936, room 0
tail 0
chksum 0x8e
load 0x3ffe8790, len 1384, room 8
tail 0
chksum 0xed
csum 0xed
S▒8!▒%2▒=▒▒A*▒n▒▒▒▒ "@%▒▒v▒z▒m▒k!▒▒r▒Yv▒
SDK2.0
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 27304, room 16
tail 8
chksum 0x4c
load 0x3ffe8000, len 884, room 0
tail 4
chksum 0xa7
load 0x3ffe8380, len 440, room 4
tail 4
chksum 0xf0
csum 0xf0
s▒▒ѕ▒▒▒▒Ʌ▒▒*▒ɽɱ▒͕▒b▒▒с▒▒ٕ▒▒▒▒Ʌ▒▒jR▒rf_cal[0] !=0x05,is 0xFF
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 27304, room 16
tail 8
chksum 0x4c
load 0x3ffe8000, len 884, room 0
tail 4
chksum 0xa7
load 0x3ffe8380, len 440, room 4
tail 4
chksum 0xf0
csum 0xf0
system param error, use last saved param!
rf_cal[0] !=0x05,is 0xFF
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x40100000, len 27304, room 16
tail 8
chksum 0x4c
load 0x3ffe8000, len 884, room 0
tail 4
chksum 0xa7
load 0x3ffe8380, len 440, room 4
tail 4
chksum 0xf0
csum 0xf0
system param error, use last saved param!
rf_cal[0] !=0x05,is 0xFF
ets Jan 8 2013,rst cause:1, boot mode:(3,7)
etc....
Re: Flash fails on ESP8266-01 based on SDK2.0
Postby pratik » Tue Sep 05, 2017 8:37 pm
Your program needs to set the proper calibration sector for this. The best way to deal with this issue is to follow the getting started guide and flash all files accordingly. Also, you have to make sure that the program sets the flash sector to store calibration data correctly.
The function is rf_cal_sector_set.
If this does not work, you can mail me at hello [at] pratikpanda.com, I will help you get it running by sending you the correct BIN files and locations.
The function is rf_cal_sector_set.
If this does not work, you can mail me at hello [at] pratikpanda.com, I will help you get it running by sending you the correct BIN files and locations.
Who is online
Users browsing this forum: No registered users and 327 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.