数据从客户端传输过来,第一就是擦写扇区,其二是写入扇区。问题不在客户端,问题在 system_upgrade_erase_flash 函数内部,他不能擦写扇区。没有源码问题存在这是我不能解决的。
system_upgrade_userbin_check() 函数是正常的,没有问题。
Search found 6 matches
- Thu May 04, 2017 9:32 pm
- Forum: ESP8266 SDK
- Topic: system_upgrade_erase_flash(0xFFFF);卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
- Replies: 8
- Views: 9053
- Thu May 04, 2017 8:42 am
- Forum: ESP8266 SDK
- Topic: system_upgrade_erase_flash(0xFFFF);卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
- Replies: 8
- Views: 9053
Re: system_upgrade_erase_flash(0xFFFF);卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
文件在百度云:http://pan.baidu.com/s/1i4NNhzv
- Sat Apr 29, 2017 11:21 pm
- Forum: ESP8266 SDK
- Topic: system_upgrade_erase_flash(0xFFFF);卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
- Replies: 8
- Views: 9053
Re: system_upgrade_erase_flash(0xFFFF);卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
0xffff是65535长度16个扇区,0xfff是4095长度1个扇区,目的为了减少擦写时间。经过测试没有任何改变,100次调用 system_upgrade_erase_flash(0xFFFF); 就有99次被卡死。官方能不能提供源代码或帮助我解决这个问题?
- Thu Apr 27, 2017 11:25 am
- Forum: ESP8266 SDK
- Topic: system_upgrade_erase_flash(0xFFFF);卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
- Replies: 8
- Views: 9053
Re: system_upgrade_erase_flash(0xFFFF);卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
system_upgrade_erase_flash 内部代码是怎么样的?为什么会这样?
- Wed Apr 26, 2017 1:58 pm
- Forum: ESP8266 SDK
- Topic: system_upgrade_erase_flash(0xFFFF);卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
- Replies: 8
- Views: 9053
system_upgrade_erase_flash(0xFFFF);卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
app\user\user_webserver.c
system_upgrade_erase_flash(0xFFFF);
卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
Stuck up, dog hardware reset reboot, verify the firmware appears incomplete.
system_upgrade_erase_flash(0xFFFF);
卡死直到,硬件狗复位重启,重启后验证固件出现不完整。
Stuck up, dog hardware reset reboot, verify the firmware appears incomplete.
- Tue Jan 17, 2017 5:20 pm
- Forum: Report Bugs
- Topic: The server is disconnected and "user_esp_platform_discon_cb" has no callback.
- Replies: 1
- Views: 2540
The server is disconnected and "user_esp_platform_discon_cb" has no callback.
With non-rtos firmware, the server automatically disconnects the TCP connection, and "user_esp_platform_discon_cb" does not have a callback.