Basic_rBoot skip updating
Hello. What I did today
-
Install ubuntu 18.04 x64
-
Install esp-open-sdk
-
Install Sming
-
Install esptool
-
Install esptool2
-
Build Sming
-
Build&Flash&Test Basic_Blink
-
Build&Flash&Test HttpServer_AJAX
-
Build&Flash&Test HttpServer_WebSocket there are no any problems at any steps All samples were build with SPI_MODE = dio SPI_SIZE = 4M SPI_SPEED = 80
-
Build&Flash Basic_rBoot - passed
-
Test Basic_rBoot
Booting rom 0.
��;�d�d␒�␄␌�$`␃��s�l�$␓�␌␌␄l ␃��{�d␄��␀�␌␄ld`␂{l�DK ve22145004 trying to mount spiffs at 0x00100000, length 65536
22145310 fs.start: size:64 Kb, offset:0x100000
22146900 mount res: 0
Currently running rom 0.
Type 'help' and press enter for instructions.
mode : sta(80:7d:3a:6e:3e:3b)
add if0
f r0, scandone
state: 0 -> 2 (b0)
state: 2 -> 0 (2)
reconnect
f 0, scandone
state: 0 -> 2 (b0)
state: 2 -> 0 (2)
reconnect
f -180, scandone
state: 0 -> 2 (b0)
state: 2 -> 0 (2)
reconnect
f r0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
connected with start, channel 1
dhcp client start...
cnt
ip:172.16.1.153,mask:255.255.254.0,gw:172.16.0.1
pm open,type:2 0
info
SDK: v1.5.4(baaeaebb)
Free Heap: 48888
CPU Frequency: 80 MHz
System Chip ID: 6e3e3b
SPI Flash ID: 164020
38870640 Count: 2
38870751 ROM 0: 8192
38872212 ROM 1: 2105344
38874292 ROM 2: 0
38875859 GPIO ROM: 0
ip
ip: 172.16.1.153 mac: 807d3a6e3e3b
help
available commands:
help - display this message
ip - show current ip address
connect - connect to wifi
restart - restart the esp8266
switch - switch to the other rom and reboot
ota - perform ota update, switch rom and reboot
info - show esp8266 info
ls - list files in spiffs
cat - show first file in spiffs
ota
Updating...and nothing more long time
help
available commands:
help - display this message
ip - show current ip address
connect - connect to wifi
restart - restart the esp8266
switch - switch to the other rom and reboot
ota - perform ota update, switch rom and reboot
info - show esp8266 info
ls - list files in spiffs
cat - show first file in spiffs
ip&info&help do work well, but when I call ota, system sends request to http server (I use SimpleHTTPServer)
Serving HTTP on 0.0.0.0 port 8080 ...
172.16.1.153 - - [07/Feb/2019 15:14:16] "GET /rom0.bin HTTP/1.1" 200 -
and looks like hangs. But system works, i able to with commans like ip ip&info&help ....
I tested with 2 boards. I have not idea what is wrong and how to find out the problem ....
@Evgsurf Can you check that PR #1604 ?
Gyus , I updated Sming from git by (git pull) Rebuild all, and still have a problem. Here is video https://youtu.be/_oyLnV4gNl0
As you can see, OTA command starts by "Updating..." but there are no steps more. And I still able to call another commands
Try rebuilding Sming and app with DEBUG_VERBOSE_LEVEL=3
Oh I tied but forget to rebuild Sming it self.
I get result
Updating...
47529719 Download file:
(0) http://172.16.1.183:8080/rom0.bin -> 202000
47530644 Creating new httpConnection
47530953 HttpConnection::connect: TCP state: -1, isStarted: 0, isActive: 0
47535875 HttpConnection::connecting ...
47539411 +TCP connection
47541498 connect to: 172.16.1.183
47545072 TCP connect result: 0
47547187 Download file:
(0) http://172.16.1.183:8080/spiff_rom.bin -> 300000
47554807 HttpConnection::connect: TCP state: 2, isStarted: 1, isActive: 1
47566559 TCP connected
47566706 TCP connected
47566830 HttpConnection::onReadyToSendData: waitingQueue.count: 2
47570641 Storing 24 bytes in stream
47573815 realloc 24 -> 173
47575878 Storing 20 bytes in stream
47579033 Storing 19 bytes in stream
47582124 Storing 2 bytes in stream
47585171 TCP onReadyToSendData: 0
47588261 TCP Written: 65, Available: 65, isFinished: 1, PushCount: 1 [TcpBuf: 2715]
47595391 TcpClient stream finished
47603434 TCP sent: 65
47603619 HttpConnection::onReadyToSendData: waitingQueue.count: 1
47606284 Storing 29 bytes in stream
47609421 realloc 29 -> 178
47611535 Storing 20 bytes in stream
47614689 Storing 19 bytes in stream
47617780 Storing 2 bytes in stream
47620807 TCP onReadyToSendData: 2
47623869 TCP Written: 70, Available: 70, isFinished: 1, PushCount: 1 [TcpBuf: 2710]
47631037 TcpClient stream finished
47635221 TCP received: 17 bytes
47636877 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47642576 Nothing in the waiting queue
47645871 TCP onReadyToSendData: 1
47650507 The headers are complete
47695173 rboot_write_flash: item.size: 1200
47695327 TCP received: 1390 bytes
47695471 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47696661 Nothing in the waiting queue
47699965 TCP onReadyToSendData: 1
47706938 rboot_write_flash: item.size: 2590
47707144 TCP received: 1390 bytes
47709712 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47715402 Nothing in the waiting queue
47718713 TCP onReadyToSendData: 1
47725164 rboot_write_flash: item.size: 3980
47725482 TCP received: 1390 bytes
47728447 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47734135 Nothing in the waiting queue
47737444 TCP onReadyToSendData: 1
47782098 rboot_write_flash: item.size: 5353
47782293 TCP received: 1373 bytes
47782429 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47783626 Nothing in the waiting queue
47786942 TCP onReadyToSendData: 1
47790897 TCP sent: 70
47791819 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47797510 Nothing in the waiting queue
47800820 TCP onReadyToSendData: 2
47806582 rboot_write_flash: item.size: 6743
47807588 TCP received: 1390 bytes
47810551 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47816243 Nothing in the waiting queue
47819548 TCP onReadyToSendData: 1
47825966 rboot_write_flash: item.size: 8133
47826326 TCP received: 1390 bytes
47829291 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47834982 Nothing in the waiting queue
47838292 TCP onReadyToSendData: 1
47879949 rboot_write_flash: item.size: 9523
47880147 TCP received: 1390 bytes
47880281 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47881481 Nothing in the waiting queue
47884795 TCP onReadyToSendData: 1
47891510 rboot_write_flash: item.size: 10913
47891712 TCP received: 1390 bytes
47894620 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47900310 Nothing in the waiting queue
47903620 TCP onReadyToSendData: 1
47942823 rboot_write_flash: item.size: 12303
47943012 TCP received: 1390 bytes
47943155 HttpConnection::onReadyToSendData: waitingQueue.count: 0
47944432 Nothing in the waiting queue
47947742 TCP onReadyToSendData: 1
47958053 rboot_write_flash: item.size: 13693
47961004 rboot_write_flash: item.size: 15083
47998076 rboot_write_flash: item.size: 16473
48000905 rboot_write_flash: item.size: 17863
48001041 TCP received: 5560 bytes
48001176 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48003541 Nothing in the waiting queue
48006855 TCP onReadyToSendData: 1
48020481 rboot_write_flash: item.size: 19253
48020680 TCP received: 1390 bytes
48020820 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48022369 Nothing in the waiting queue
48025678 TCP onReadyToSendData: 1
48067501 rboot_write_flash: item.size: 20643
48067683 TCP received: 1390 bytes
48067817 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48069101 Nothing in the waiting queue
48072413 TCP onReadyToSendData: 1
48079046 rboot_write_flash: item.size: 22033
48079272 TCP received: 1390 bytes
48082235 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48087926 Nothing in the waiting queue
48091236 TCP onReadyToSendData: 1
48097881 rboot_write_flash: item.size: 23423
48098103 TCP received: 1390 bytes
48101064 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48106755 Nothing in the waiting queue
48110067 TCP onReadyToSendData: 1
48155008 rboot_write_flash: item.size: 24813
48155197 TCP received: 1390 bytes
48155333 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48156617 Nothing in the waiting queue
48159925 TCP onReadyToSendData: 1
48166310 rboot_write_flash: item.size: 26203
48166789 TCP received: 1390 bytes
48169752 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48175442 Nothing in the waiting queue
48178754 TCP onReadyToSendData: 1
48185237 rboot_write_flash: item.size: 27593
48185614 TCP received: 1390 bytes
48188576 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48194267 Nothing in the waiting queue
48197577 TCP onReadyToSendData: 1
48242549 rboot_write_flash: item.size: 28983
48242745 TCP received: 1390 bytes
48242883 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48244159 Nothing in the waiting queue
48247471 TCP onReadyToSendData: 1
48254040 rboot_write_flash: item.size: 30373
48254324 TCP received: 1390 bytes
48257289 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48262980 Nothing in the waiting queue
48266288 TCP onReadyToSendData: 1
48272679 rboot_write_flash: item.size: 31763
48273151 TCP received: 1390 bytes
48276114 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48281804 Nothing in the waiting queue
48285116 TCP onReadyToSendData: 1
48329880 rboot_write_flash: item.size: 33153
48330082 TCP received: 1390 bytes
48330218 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48331500 Nothing in the waiting queue
48334810 TCP onReadyToSendData: 1
48341484 rboot_write_flash: item.size: 34543
48341687 TCP received: 1390 bytes
48344638 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48350329 Nothing in the waiting queue
48353641 TCP onReadyToSendData: 1
48360123 rboot_write_flash: item.size: 35933
48360496 TCP received: 1390 bytes
48363459 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48369150 Nothing in the waiting queue
48372458 TCP onReadyToSendData: 1
48427017 rboot_write_flash: item.size: 37323
48429915 rboot_write_flash: item.size: 38713
48432770 rboot_write_flash: item.size: 40103
48474394 rboot_write_flash: item.size: 41493
48474534 TCP received: 5560 bytes
48474669 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48475958 Nothing in the waiting queue
48479271 TCP onReadyToSendData: 1
48493392 rboot_write_flash: item.size: 42883
48493613 TCP received: 1390 bytes
48493753 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48495029 Nothing in the waiting queue
48498339 TCP onReadyToSendData: 1
48504996 rboot_write_flash: item.size: 44273
48505202 TCP received: 1390 bytes
48508163 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48513854 Nothing in the waiting queue
48517165 TCP onReadyToSendData: 1
48559251 rboot_write_flash: item.size: 45663
48559441 TCP received: 1390 bytes
48559577 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48560861 Nothing in the waiting queue
48564169 TCP onReadyToSendData: 1
48570704 rboot_write_flash: item.size: 47053
48571032 TCP received: 1390 bytes
48573995 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48579686 Nothing in the waiting queue
48582998 TCP onReadyToSendData: 1
48589487 rboot_write_flash: item.size: 48443
48589857 TCP received: 1390 bytes
48592820 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48598511 Nothing in the waiting queue
48601821 TCP onReadyToSendData: 1
48646895 rboot_write_flash: item.size: 49833
48649866 rboot_write_flash: item.size: 51223
48652772 rboot_write_flash: item.size: 52613
48691261 rboot_write_flash: item.size: 54003
48691406 TCP received: 5560 bytes
48691545 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48692830 Nothing in the waiting queue
48696142 TCP onReadyToSendData: 1
48710257 rboot_write_flash: item.size: 55393
48710478 TCP received: 1390 bytes
48710616 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48711894 Nothing in the waiting queue
48715204 TCP onReadyToSendData: 1
48721633 rboot_write_flash: item.size: 56783
48722061 TCP received: 1390 bytes
48725024 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48730715 Nothing in the waiting queue
48734026 TCP onReadyToSendData: 1
48775697 rboot_write_flash: item.size: 58173
48775894 TCP received: 1390 bytes
48776041 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48777316 Nothing in the waiting queue
48780622 TCP onReadyToSendData: 1
48787019 rboot_write_flash: item.size: 59563
48787485 TCP received: 1390 bytes
48790448 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48796139 Nothing in the waiting queue
48799451 TCP onReadyToSendData: 1
48805866 rboot_write_flash: item.size: 60953
48806310 TCP received: 1390 bytes
48809273 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48814963 Nothing in the waiting queue
48818274 TCP onReadyToSendData: 1
48863234 rboot_write_flash: item.size: 62343
48863440 TCP received: 1390 bytes
48863578 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48864854 Nothing in the waiting queue
48868167 TCP onReadyToSendData: 1
48874710 rboot_write_flash: item.size: 63733
48875019 TCP received: 1390 bytes
48877984 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48883675 Nothing in the waiting queue
48886983 TCP onReadyToSendData: 1
48893393 rboot_write_flash: item.size: 65123
48893846 TCP received: 1390 bytes
48896810 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48902500 Nothing in the waiting queue
48905812 TCP onReadyToSendData: 1
48949340 rboot_write_flash: item.size: 66513
48949553 TCP received: 1390 bytes
48949693 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48950972 Nothing in the waiting queue
48954282 TCP onReadyToSendData: 1
48960798 rboot_write_flash: item.size: 67903
48961137 TCP received: 1390 bytes
48964102 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48969793 Nothing in the waiting queue
48973105 TCP onReadyToSendData: 1
48979498 rboot_write_flash: item.size: 69293
48979963 TCP received: 1390 bytes
48982926 HttpConnection::onReadyToSendData: waitingQueue.count: 0
48988617 Nothing in the waiting queue
48991925 TCP onReadyToSendData: 1
49046436 rboot_write_flash: item.size: 70683
49049389 rboot_write_flash: item.size: 72073
49052247 rboot_write_flash: item.size: 73463
49092351 rboot_write_flash: item.size: 74853
49092491 TCP received: 5560 bytes
49092626 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49093915 Nothing in the waiting queue
49097227 TCP onReadyToSendData: 1
49100867 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49105895 Nothing in the waiting queue
49112702 rboot_write_flash: item.size: 76243
49113106 TCP received: 1390 bytes
49116069 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49121760 Nothing in the waiting queue
49125066 TCP onReadyToSendData: 1
49131747 rboot_write_flash: item.size: 77633
49131943 TCP received: 1390 bytes
49134899 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49140589 Nothing in the waiting queue
49143901 TCP onReadyToSendData: 1
49190555 rboot_write_flash: item.size: 79023
49190744 TCP received: 1390 bytes
49190880 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49192164 Nothing in the waiting queue
49195472 TCP onReadyToSendData: 1
49201936 rboot_write_flash: item.size: 80413
49202335 TCP received: 1390 bytes
49205298 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49210989 Nothing in the waiting queue
49214301 TCP onReadyToSendData: 1
49221047 rboot_write_flash: item.size: 81803
49221253 TCP received: 1390 bytes
49224127 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49229818 Nothing in the waiting queue
49233128 TCP onReadyToSendData: 1
49272245 rboot_write_flash: item.size: 83193
49272448 TCP received: 1390 bytes
49272582 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49273864 Nothing in the waiting queue
49277176 TCP onReadyToSendData: 1
49283599 rboot_write_flash: item.size: 84583
49284033 TCP received: 1390 bytes
49286998 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49292691 Nothing in the waiting queue
49295997 TCP onReadyToSendData: 1
49302327 rboot_write_flash: item.size: 85973
49302860 TCP received: 1390 bytes
49305823 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49311513 Nothing in the waiting queue
49314825 TCP onReadyToSendData: 1
49354225 rboot_write_flash: item.size: 87363
49354436 TCP received: 1390 bytes
49354576 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49355855 Nothing in the waiting queue
49359165 TCP onReadyToSendData: 1
49365731 rboot_write_flash: item.size: 88753
49366022 TCP received: 1390 bytes
49368985 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49374675 Nothing in the waiting queue
49377987 TCP onReadyToSendData: 1
49422799 rboot_write_flash: item.size: 90143
49422988 TCP received: 1390 bytes
49423124 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49424409 Nothing in the waiting queue
49427717 TCP onReadyToSendData: 1
49434547 rboot_write_flash: item.size: 91533
49434760 TCP received: 1390 bytes
49437547 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49443238 Nothing in the waiting queue
49446551 TCP onReadyToSendData: 1
49452993 rboot_write_flash: item.size: 92923
49453402 TCP received: 1390 bytes
49456368 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49462058 Nothing in the waiting queue
49465366 TCP onReadyToSendData: 1
49511528 rboot_write_flash: item.size: 94313
49511725 TCP received: 1390 bytes
49511861 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49513143 Nothing in the waiting queue
49516455 TCP onReadyToSendData: 1
49522873 rboot_write_flash: item.size: 95703
49523312 TCP received: 1390 bytes
49526277 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49531968 Nothing in the waiting queue
49535287 TCP onReadyToSendData: 1
49542100 rboot_write_flash: item.size: 97093
49542311 TCP received: 1390 bytes
49545106 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49550796 Nothing in the waiting queue
49554110 TCP onReadyToSendData: 1
49598965 rboot_write_flash: item.size: 98483
49599160 TCP received: 1390 bytes
49599296 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49600579 Nothing in the waiting queue
49603887 TCP onReadyToSendData: 1
49619275 rboot_write_flash: item.size: 99873
49622234 rboot_write_flash: item.size: 101263
49663208 rboot_write_flash: item.size: 102653
49666106 rboot_write_flash: item.size: 104043
49666245 TCP received: 5560 bytes
49666380 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49668852 Nothing in the waiting queue
49672163 TCP onReadyToSendData: 1
49683076 rboot_write_flash: item.size: 105433
49683295 TCP received: 1390 bytes
49683435 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49687765 Nothing in the waiting queue
49691076 TCP onReadyToSendData: 1
49730135 rboot_write_flash: item.size: 106823
49730331 TCP received: 1390 bytes
49730465 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49731835 Nothing in the waiting queue
49735147 TCP onReadyToSendData: 1
49741876 rboot_write_flash: item.size: 108213
49742097 TCP received: 1390 bytes
49745060 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49750750 Nothing in the waiting queue
49754058 TCP onReadyToSendData: 1
49760550 rboot_write_flash: item.size: 109603
49761004 TCP received: 1390 bytes
49763968 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49769658 Nothing in the waiting queue
49772970 TCP onReadyToSendData: 1
49813352 rboot_write_flash: item.size: 110993
49813558 TCP received: 1390 bytes
49813694 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49815062 Nothing in the waiting queue
49818372 TCP onReadyToSendData: 1
49824851 rboot_write_flash: item.size: 112383
49825320 TCP received: 1390 bytes
49828283 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49833976 Nothing in the waiting queue
49837286 TCP onReadyToSendData: 1
49844096 rboot_write_flash: item.size: 113773
49844297 TCP received: 1390 bytes
49847198 HttpConnection::onReadyToSendData: waitingQueue.count: 0
49852889 Nothing in the waiting queue
49856197 TCP onReadyToSendData: 1
50226857 rboot_write_flash: item.size: 115163
50227087 TCP received: 1390 bytes
50227225 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50228587 Nothing in the waiting queue
50231901 TCP onReadyToSendData: 1
50235341 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50240556 Nothing in the waiting queue
50250432 rboot_write_flash: item.size: 116553
50253353 rboot_write_flash: item.size: 117943
50290080 rboot_write_flash: item.size: 119333
50292916 rboot_write_flash: item.size: 120723
50293058 TCP received: 5560 bytes
50293198 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50295726 Nothing in the waiting queue
50299038 TCP onReadyToSendData: 1
50306840 rboot_write_flash: item.size: 122113
50307051 TCP received: 1390 bytes
50308943 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50314634 Nothing in the waiting queue
50317947 TCP onReadyToSendData: 1
50364069 rboot_write_flash: item.size: 123503
50364261 TCP received: 1390 bytes
50364396 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50365767 Nothing in the waiting queue
50369075 TCP onReadyToSendData: 1
50375711 rboot_write_flash: item.size: 124893
50376031 TCP received: 1390 bytes
50378992 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50384682 Nothing in the waiting queue
50387994 TCP onReadyToSendData: 1
50394518 rboot_write_flash: item.size: 126283
50394934 TCP received: 1390 bytes
50397899 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50403590 Nothing in the waiting queue
50406898 TCP onReadyToSendData: 1
50451683 rboot_write_flash: item.size: 127673
50451894 TCP received: 1390 bytes
50452028 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50453396 Nothing in the waiting queue
50456711 TCP onReadyToSendData: 1
50463446 rboot_write_flash: item.size: 129063
50463659 TCP received: 1390 bytes
50466622 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50472312 Nothing in the waiting queue
50475620 TCP onReadyToSendData: 1
50482108 rboot_write_flash: item.size: 130453
50482566 TCP received: 1390 bytes
50485529 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50491222 Nothing in the waiting queue
50494531 TCP onReadyToSendData: 1
50537692 rboot_write_flash: item.size: 131843
50537884 TCP received: 1390 bytes
50538031 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50539391 Nothing in the waiting queue
50542698 TCP onReadyToSendData: 1
50549191 rboot_write_flash: item.size: 133233
50549650 TCP received: 1390 bytes
50552612 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50558302 Nothing in the waiting queue
50561616 TCP onReadyToSendData: 1
50568310 rboot_write_flash: item.size: 134623
50568564 TCP received: 1390 bytes
50571527 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50577217 Nothing in the waiting queue
50580526 TCP onReadyToSendData: 1
50625515 rboot_write_flash: item.size: 136013
50625713 TCP received: 1390 bytes
50625847 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50627220 Nothing in the waiting queue
50630531 TCP onReadyToSendData: 1
50959298 rboot_write_flash: item.size: 137403
50962279 rboot_write_flash: item.size: 138793
50962424 TCP received: 2780 bytes
50962562 HttpConnection::onReadyToSendData: waitingQueue.count: 0
50965022 Nothing in the waiting queue
50968334 TCP onReadyToSendData: 1
51405473 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51405688 Nothing in the waiting queue
51630954 rboot_write_flash: item.size: 140183
51633927 rboot_write_flash: item.size: 141573
51636786 rboot_write_flash: item.size: 142963
51675125 rboot_write_flash: item.size: 144353
51675270 TCP received: 5560 bytes
51675408 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51676779 Nothing in the waiting queue
51680089 TCP onReadyToSendData: 1
51688058 rboot_write_flash: item.size: 145743
51688282 TCP received: 1390 bytes
51690002 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51695692 Nothing in the waiting queue
51699004 TCP onReadyToSendData: 1
51705316 rboot_write_flash: item.size: 147133
51705946 TCP received: 1390 bytes
51708909 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51714599 Nothing in the waiting queue
51717910 TCP onReadyToSendData: 1
51759848 rboot_write_flash: item.size: 148523
51760042 TCP received: 1390 bytes
51760179 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51761549 Nothing in the waiting queue
51764859 TCP onReadyToSendData: 1
51771232 rboot_write_flash: item.size: 149913
51771806 TCP received: 1390 bytes
51774769 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51780461 Nothing in the waiting queue
51783770 TCP onReadyToSendData: 1
51790620 rboot_write_flash: item.size: 151303
51790835 TCP received: 1390 bytes
51793685 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51799376 Nothing in the waiting queue
51802688 TCP onReadyToSendData: 1
51847896 rboot_write_flash: item.size: 152693
51848092 TCP received: 1390 bytes
51848226 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51849596 Nothing in the waiting queue
51852906 TCP onReadyToSendData: 1
51859385 rboot_write_flash: item.size: 154083
51859854 TCP received: 1390 bytes
51862817 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51868509 Nothing in the waiting queue
51871817 TCP onReadyToSendData: 1
51878144 rboot_write_flash: item.size: 155473
51878763 TCP received: 1390 bytes
51881729 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51887419 Nothing in the waiting queue
51890729 TCP onReadyToSendData: 1
51937261 rboot_write_flash: item.size: 156863
51940244 rboot_write_flash: item.size: 158253
51943106 rboot_write_flash: item.size: 159643
51985788 rboot_write_flash: item.size: 161033
51985936 TCP received: 5560 bytes
51986076 HttpConnection::onReadyToSendData: waitingQueue.count: 0
51987444 Nothing in the waiting queue
51990759 TCP onReadyToSendData: 1
51999130 rboot_write_flash: item.size: 162423
51999348 TCP received: 1390 bytes
52000666 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52006356 Nothing in the waiting queue
52009666 TCP onReadyToSendData: 1
52016054 rboot_write_flash: item.size: 163813
52016610 TCP received: 1390 bytes
52019573 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52025264 Nothing in the waiting queue
52028576 TCP onReadyToSendData: 1
52078831 rboot_write_flash: item.size: 165203
52079028 TCP received: 1390 bytes
52079164 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52080533 Nothing in the waiting queue
52083840 TCP onReadyToSendData: 1
52090664 rboot_write_flash: item.size: 166593
52090877 TCP received: 1390 bytes
52093757 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52099448 Nothing in the waiting queue
52102760 TCP onReadyToSendData: 1
52146247 rboot_write_flash: item.size: 167983
52146451 TCP received: 1390 bytes
52146587 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52147956 Nothing in the waiting queue
52151266 TCP onReadyToSendData: 1
52157632 rboot_write_flash: item.size: 169373
52158212 TCP received: 1390 bytes
52161176 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52166867 Nothing in the waiting queue
52170179 TCP onReadyToSendData: 1
52176682 rboot_write_flash: item.size: 170763
52177125 TCP received: 1390 bytes
52180088 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52185780 Nothing in the waiting queue
52189086 TCP onReadyToSendData: 1
52237458 rboot_write_flash: item.size: 172153
52240441 rboot_write_flash: item.size: 173543
52243337 rboot_write_flash: item.size: 174933
52280220 rboot_write_flash: item.size: 176323
52280368 TCP received: 5560 bytes
52280508 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52281879 Nothing in the waiting queue
52285191 TCP onReadyToSendData: 1
52293532 rboot_write_flash: item.size: 177713
52293748 TCP received: 1390 bytes
52295098 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52300788 Nothing in the waiting queue
52304098 TCP onReadyToSendData: 1
52310538 rboot_write_flash: item.size: 179103
52311042 TCP received: 1390 bytes
52314005 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52319696 Nothing in the waiting queue
52323008 TCP onReadyToSendData: 1
52364920 rboot_write_flash: item.size: 180493
52365106 TCP received: 1390 bytes
52365240 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52366613 Nothing in the waiting queue
52369921 TCP onReadyToSendData: 1
52376357 rboot_write_flash: item.size: 181883
52376870 TCP received: 1390 bytes
52379834 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52385525 Nothing in the waiting queue
52388836 TCP onReadyToSendData: 1
52395768 rboot_write_flash: item.size: 183273
52395983 TCP received: 1390 bytes
52398749 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52404440 Nothing in the waiting queue
52407750 TCP onReadyToSendData: 1
52448249 rboot_write_flash: item.size: 184663
52448450 TCP received: 1390 bytes
52448587 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52449952 Nothing in the waiting queue
52453264 TCP onReadyToSendData: 1
52459723 rboot_write_flash: item.size: 186053
52460208 TCP received: 1390 bytes
52463173 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52468863 Nothing in the waiting queue
52472172 TCP onReadyToSendData: 1
52478512 rboot_write_flash: item.size: 187443
52479122 TCP received: 1390 bytes
52482085 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52487775 Nothing in the waiting queue
52491087 TCP onReadyToSendData: 1
52539005 rboot_write_flash: item.size: 188833
52539224 TCP received: 1390 bytes
52539365 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52540728 Nothing in the waiting queue
52544038 TCP onReadyToSendData: 1
52550646 rboot_write_flash: item.size: 190223
52550982 TCP received: 1390 bytes
52553945 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52559635 Nothing in the waiting queue
52562948 TCP onReadyToSendData: 1
52569359 rboot_write_flash: item.size: 191613
52569891 TCP received: 1390 bytes
52572856 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52578547 Nothing in the waiting queue
52581855 TCP onReadyToSendData: 1
52631522 rboot_write_flash: item.size: 193003
52631719 TCP received: 1390 bytes
52631853 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52633223 Nothing in the waiting queue
52636535 TCP onReadyToSendData: 1
52643391 rboot_write_flash: item.size: 194393
52643605 TCP received: 1390 bytes
52646448 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52652139 Nothing in the waiting queue
52655448 TCP onReadyToSendData: 1
52661980 rboot_write_flash: item.size: 195783
52662393 TCP received: 1390 bytes
52665356 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52671046 Nothing in the waiting queue
52674358 TCP onReadyToSendData: 1
52717520 rboot_write_flash: item.size: 197173
52717706 TCP received: 1390 bytes
52717841 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52719213 Nothing in the waiting queue
52722521 TCP onReadyToSendData: 1
52726177 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52731192 Nothing in the waiting queue
52737710 rboot_write_flash: item.size: 198563
52738495 TCP received: 1390 bytes
52741456 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52747146 Nothing in the waiting queue
52750452 TCP onReadyToSendData: 1
52756996 rboot_write_flash: item.size: 199953
52757408 TCP received: 1390 bytes
52760367 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52766060 Nothing in the waiting queue
52769370 TCP onReadyToSendData: 1
52814069 rboot_write_flash: item.size: 201343
52814268 TCP received: 1390 bytes
52814403 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52815772 Nothing in the waiting queue
52819082 TCP onReadyToSendData: 1
52825754 rboot_write_flash: item.size: 202733
52826036 TCP received: 1390 bytes
52828997 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52834688 Nothing in the waiting queue
52837998 TCP onReadyToSendData: 1
52844477 rboot_write_flash: item.size: 204123
52844940 TCP received: 1390 bytes
52847905 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52853595 Nothing in the waiting queue
52856905 TCP onReadyToSendData: 1
52900309 rboot_write_flash: item.size: 205513
52900516 TCP received: 1390 bytes
52900653 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52902019 Nothing in the waiting queue
52905331 TCP onReadyToSendData: 1
52912076 rboot_write_flash: item.size: 206903
52912289 TCP received: 1390 bytes
52915244 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52920934 Nothing in the waiting queue
52924244 TCP onReadyToSendData: 1
52930685 rboot_write_flash: item.size: 208293
52931188 TCP received: 1390 bytes
52934151 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52939842 Nothing in the waiting queue
52943152 TCP onReadyToSendData: 1
52984865 rboot_write_flash: item.size: 209683
52985062 TCP received: 1390 bytes
52985198 HttpConnection::onReadyToSendData: waitingQueue.count: 0
52986568 Nothing in the waiting queue
52989878 TCP onReadyToSendData: 1
52999032 rboot_write_flash: item.size: 211073
53001972 rboot_write_flash: item.size: 212463
53038812 rboot_write_flash: item.size: 213853
53041667 rboot_write_flash: item.size: 215243
53041810 TCP received: 5560 bytes
53041945 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53044455 Nothing in the waiting queue
53047769 TCP onReadyToSendData: 1
53060281 rboot_write_flash: item.size: 216633
53060500 TCP received: 1390 bytes
53060638 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53063371 Nothing in the waiting queue
53066679 TCP onReadyToSendData: 1
53108492 rboot_write_flash: item.size: 218023
53108680 TCP received: 1390 bytes
53108814 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53110184 Nothing in the waiting queue
53113496 TCP onReadyToSendData: 1
53120453 rboot_write_flash: item.size: 219413
53120666 TCP received: 1390 bytes
53123409 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53129100 Nothing in the waiting queue
53132410 TCP onReadyToSendData: 1
53138866 rboot_write_flash: item.size: 220803
53139354 TCP received: 1390 bytes
53142316 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53148007 Nothing in the waiting queue
53151319 TCP onReadyToSendData: 1
53201975 rboot_write_flash: item.size: 222193
53204925 rboot_write_flash: item.size: 223583
53207818 rboot_write_flash: item.size: 224973
53250421 rboot_write_flash: item.size: 226363
53250566 TCP received: 5560 bytes
53250703 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53252079 Nothing in the waiting queue
53255387 TCP onReadyToSendData: 1
53270410 rboot_write_flash: item.size: 227753
53270636 TCP received: 1390 bytes
53270776 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53272138 Nothing in the waiting queue
53275450 TCP onReadyToSendData: 1
53281792 rboot_write_flash: item.size: 229143
53282392 TCP received: 1390 bytes
53285355 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53291045 Nothing in the waiting queue
53294356 TCP onReadyToSendData: 1
53340690 rboot_write_flash: item.size: 230533
53340885 TCP received: 1390 bytes
53341022 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53342391 Nothing in the waiting queue
53345702 TCP onReadyToSendData: 1
53352439 rboot_write_flash: item.size: 231923
53352655 TCP received: 1390 bytes
53355616 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53361307 Nothing in the waiting queue
53364617 TCP onReadyToSendData: 1
53371210 rboot_write_flash: item.size: 233313
53371561 TCP received: 1390 bytes
53374524 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53380215 Nothing in the waiting queue
53383527 TCP onReadyToSendData: 1
53429855 rboot_write_flash: item.size: 234703
53430054 TCP received: 1390 bytes
53430188 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53431556 Nothing in the waiting queue
53434866 TCP onReadyToSendData: 1
53441583 rboot_write_flash: item.size: 236093
53441818 TCP received: 1390 bytes
53444781 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53450472 Nothing in the waiting queue
53453782 TCP onReadyToSendData: 1
53460347 rboot_write_flash: item.size: 237483
53460726 TCP received: 1390 bytes
53463688 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53469379 Nothing in the waiting queue
53472700 TCP onReadyToSendData: 1
53514573 rboot_write_flash: item.size: 238873
53514780 TCP received: 1390 bytes
53514917 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53516285 Nothing in the waiting queue
53519596 TCP onReadyToSendData: 1
53526299 rboot_write_flash: item.size: 240263
53526547 TCP received: 1390 bytes
53529509 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53535200 Nothing in the waiting queue
53538510 TCP onReadyToSendData: 1
53867615 rboot_write_flash: item.size: 241653
53867848 TCP received: 1390 bytes
53867989 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53869349 Nothing in the waiting queue
53872663 TCP onReadyToSendData: 1
53923315 rboot_write_flash: item.size: 243043
53926306 rboot_write_flash: item.size: 244433
53972556 rboot_write_flash: item.size: 245823
53975477 rboot_write_flash: item.size: 247213
53975619 TCP received: 5560 bytes
53975755 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53978199 Nothing in the waiting queue
53981512 TCP onReadyToSendData: 1
53985167 HttpConnection::onReadyToSendData: waitingQueue.count: 0
53990179 Nothing in the waiting queue
53997360 rboot_write_flash: item.size: 248603
53997580 TCP received: 1390 bytes
54000442 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54006133 Nothing in the waiting queue
54009445 TCP onReadyToSendData: 1
54049731 rboot_write_flash: item.size: 249993
54049926 TCP received: 1390 bytes
54050062 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54051432 Nothing in the waiting queue
54054742 TCP onReadyToSendData: 1
54061400 rboot_write_flash: item.size: 251383
54061694 TCP received: 1390 bytes
54064657 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54070347 Nothing in the waiting queue
54073657 TCP onReadyToSendData: 1
54080124 rboot_write_flash: item.size: 252773
54080601 TCP received: 1390 bytes
54083565 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54089255 Nothing in the waiting queue
54092565 TCP onReadyToSendData: 1
54140324 rboot_write_flash: item.size: 254163
54140533 TCP received: 1390 bytes
54140669 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54142037 Nothing in the waiting queue
54145350 TCP onReadyToSendData: 1
54151975 rboot_write_flash: item.size: 255553
54152301 TCP received: 1390 bytes
54155262 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54160953 Nothing in the waiting queue
54164263 TCP onReadyToSendData: 1
54170806 rboot_write_flash: item.size: 256943
54171204 TCP received: 1390 bytes
54174170 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54179860 Nothing in the waiting queue
54183170 TCP onReadyToSendData: 1
54229476 rboot_write_flash: item.size: 258333
54229675 TCP received: 1390 bytes
54229810 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54231180 Nothing in the waiting queue
54234489 TCP onReadyToSendData: 1
54241371 rboot_write_flash: item.size: 259723
54241588 TCP received: 1390 bytes
54244404 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54250095 Nothing in the waiting queue
54253407 TCP onReadyToSendData: 1
54259980 rboot_write_flash: item.size: 261113
54260349 TCP received: 1390 bytes
54263312 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54269002 Nothing in the waiting queue
54272313 TCP onReadyToSendData: 1
54318445 rboot_write_flash: item.size: 262503
54318631 TCP received: 1390 bytes
54318765 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54320137 Nothing in the waiting queue
54323447 TCP onReadyToSendData: 1
54329867 rboot_write_flash: item.size: 263893
54330398 TCP received: 1390 bytes
54333358 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54339049 Nothing in the waiting queue
54342358 TCP onReadyToSendData: 1
54349208 rboot_write_flash: item.size: 265283
54349425 TCP received: 1390 bytes
54352274 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54357964 Nothing in the waiting queue
54361276 TCP onReadyToSendData: 1
54404564 rboot_write_flash: item.size: 266673
54404764 TCP received: 1390 bytes
54404901 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54406266 Nothing in the waiting queue
54409576 TCP onReadyToSendData: 1
54416075 rboot_write_flash: item.size: 268063
54416522 TCP received: 1390 bytes
54419487 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54425178 Nothing in the waiting queue
54428488 TCP onReadyToSendData: 1
54434856 rboot_write_flash: item.size: 269453
54435435 TCP received: 1390 bytes
54438399 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54444089 Nothing in the waiting queue
54447399 TCP onReadyToSendData: 1
54491037 rboot_write_flash: item.size: 270843
54491254 TCP received: 1390 bytes
54491393 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54492759 Nothing in the waiting queue
54496071 TCP onReadyToSendData: 1
54502627 rboot_write_flash: item.size: 272233
54503010 TCP received: 1390 bytes
54505976 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54511666 Nothing in the waiting queue
54514976 TCP onReadyToSendData: 1
54521398 rboot_write_flash: item.size: 273623
54521924 TCP received: 1390 bytes
54524887 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54530577 Nothing in the waiting queue
54533887 TCP onReadyToSendData: 1
54583671 rboot_write_flash: item.size: 275013
54586621 rboot_write_flash: item.size: 276403
54589500 rboot_write_flash: item.size: 277793
54626511 rboot_write_flash: item.size: 279183
54626660 TCP received: 5560 bytes
54626800 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54628170 Nothing in the waiting queue
54631482 TCP onReadyToSendData: 1
54640714 rboot_write_flash: item.size: 280573
54640925 TCP received: 1390 bytes
54641385 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54647076 Nothing in the waiting queue
54650385 TCP onReadyToSendData: 1
54657026 rboot_write_flash: item.size: 281963
54657339 TCP received: 1390 bytes
54660300 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54665991 Nothing in the waiting queue
54669303 TCP onReadyToSendData: 1
54711711 rboot_write_flash: item.size: 283353
54711907 TCP received: 1390 bytes
54712043 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54713413 Nothing in the waiting queue
54716721 TCP onReadyToSendData: 1
54723160 rboot_write_flash: item.size: 284743
54723671 TCP received: 1390 bytes
54726634 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54732325 Nothing in the waiting queue
54735636 TCP onReadyToSendData: 1
54742068 rboot_write_flash: item.size: 286133
54742582 TCP received: 1390 bytes
54745546 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54751236 Nothing in the waiting queue
54754546 TCP onReadyToSendData: 1
54800333 rboot_write_flash: item.size: 287523
54800549 TCP received: 1390 bytes
54800687 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54802049 Nothing in the waiting queue
54805361 TCP onReadyToSendData: 1
54811800 rboot_write_flash: item.size: 288913
54812301 TCP received: 1390 bytes
54815266 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54820959 Nothing in the waiting queue
54824265 TCP onReadyToSendData: 1
54830541 rboot_write_flash: item.size: 290303
54831212 TCP received: 1390 bytes
54834177 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54839868 Nothing in the waiting queue
54843180 TCP onReadyToSendData: 1
54895421 rboot_write_flash: item.size: 291693
54898370 rboot_write_flash: item.size: 293083
54901238 rboot_write_flash: item.size: 294473
54940787 rboot_write_flash: item.size: 295863
54940936 TCP received: 5560 bytes
54941075 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54942444 Nothing in the waiting queue
54945756 TCP onReadyToSendData: 1
54955550 rboot_write_flash: item.size: 297253
54955771 TCP received: 1390 bytes
54955909 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54961356 Nothing in the waiting queue
54964668 TCP onReadyToSendData: 1
54971092 rboot_write_flash: item.size: 298643
54971609 TCP received: 1390 bytes
54974573 HttpConnection::onReadyToSendData: waitingQueue.count: 0
54980263 Nothing in the waiting queue
54983573 TCP onReadyToSendData: 1
54987529 TCP connection error: -9
Error -9 is ' connection reset', any help?
@mikee47 I understand that problem is connection, after you say about DEBUG, and install apache (Maybe problem in Python HTTP)
Now I have
Firmware download finished!
41462684 - item: 0, addr: 202000, len: 311728 bytes
41467275 - item: 1, addr: 300000, len: 65536 bytes
In callback...
Firmware updated, rebooting to rom 1...
41517508 Firmware updated.
41517784 TCP connected
41517897 HttpConnection::onReadyToSendData: waitingQueue.count: 0
41518040 Nothing in the waiting queue
41519841 TCP onReadyToSendData: 0
41523065 TCP received: 1071 bytes
41525762 HttpConnection::onReadyToSendData: waitingQueue.count: 0
41531453 Nothing in the waiting queue
41534757 TCP onReadyToSendData: 1
state: 5 -> 0 (0)
rm 0
pm close 7
41541061 TCP connection error: -8
del if0
usl
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
System hangs on "wdt reset", but if I restart board manually, I can switch between ROM 0 and ROM 1
In Basic_rBoot, in OtaUpdate_CallBack, could you change System.restart() to System.restart(1000) and see if that helps?
Also, see #1611, slaff mentioned about setting GPIO#0 high: "If you flash the device and call software restart having the UART lines up it will cause a WDT reset." https://github.com/SmingHub/Sming/pull/1611#issuecomment-462289122
@mikee47 System.restart(1000) does not help. Also I have no external devices now at board esp8266.
I suspect it's SDK related - try building on SDK 3.0 see #1470 - I use this all the time without issue.
@mikee47 I will try, but it will take a time, because I am newbie at ESP. BTW the problem is not Restart, system hangs on rboot_set_current_rom. Thank You very much!
@Evgsurf You're welcome. Apologies, though, the SDK 3.0 post is a little out of date. To build with SDK 3.0 support all you need to do is:
cd $SMING_HOME
export SDK_BASE="$SMING_HOME/third-party/ESP8266_NONOS_SDK"
make dist-clean
make
then make clean / make on Basic_rBoot
Also, the problem is not rboot_set_current_rom - your log clearly shows two reset events:
ets Jan 8 2013,rst cause:2, boot mode:(1,6) - hardware reset, result of call to System.restart()
ets Jan 8 2013,rst cause:4, boot mode:(1,6) - Hardware WDT timeout - abnormal
So somewhere after the hardware reset things are getting messed up.
https://bbs.espressif.com/viewtopic.php?t=574 https://www.esp8266.com/viewtopic.php?f=32&t=9459
Something else to try. After programming, do a hard reset before running an update.
Ohh, so many ways :) I tried SDK 3.0 by https://github.com/SmingHub/Sming/issues/1439#issuecomment-423799397 and your patch https://github.com/SmingHub/Sming/pull/1470#issuecomment-429315841 Fatal Exception 28 with long DUMP
TCP connection error: -8
del if0
usl
Firmware updated.
***** Fatal exception 28
pc=0x40243e8a sp=0x3ffff9f0 excvaddr=0x00000074
ps=0x00000030 sar=0x00000008 vpri=0x40100fa2
r00: 0x40243e80=1076117120 r01: 0x3ffff9f0=1073740272 r02: 0x00000000= 0
.......
Something else to try. After programming, do a hard reset before running an update.
This is "handmade" solution, but works :)
Yaaay! The above two posts should help to explain what's happening - the System.restart() remembers the previous boot mode (i.e. programming mode) and uses that. The hard reset clears this. I've never had an issue with this but I guess it depends on hardware versions, etc.
@mikee47 I have tested 3 esp8266 https://github.com/pfalcon/esp-open-sdk/issues/330#issuecomment-417303260 There is not difference. All three work well after handmade reboot after load new room from PC. And all three do not work without first habdmade reboot. Let call it "first commandment", for rBoot esp8266. :)
Error -9 is ' connection reset', any help?
I guess in is not bad if method void rBootHttpUpdate::start() will be int rBootHttpUpdate::start() and return an error code (Error -9 is ' connection reset )
Or C++ Exception ?
I guess in is not bad if method
void rBootHttpUpdate::start()will beint rBootHttpUpdate::start()and return an error code (Error -9 is 'connection reset') I agree, needs some way of reporting failure back. In this instance the error occurs a long time afterstart()has finished; Sming is event-driven so doesn't hang around, kicks off the transfer and leaves it running.
@slaff I think rBootHttpUpdate needs some attention here. In general probably call the user-supplied callback on failure in start() or on a TCP error. It may need some work on HttpClient as well - I have a PR lined up for that so could take a look.
Or C++ Exception ?
LOL. Nice idea! Sming doesn't use exceptions though, exception frames eat RAM for one thing.
I guess it is will very good, if it will be possible to have property eventHandler at TcpConnection (as I see this is "main" class) to where set *func(int event,int val)
for example
void eventHandler(int event,int val) { Serial.printf("Event %d value %d\r\n", event,val); }
....
if(otaUpdater) delete otaUpdater; otaUpdater = new rBootHttpUpdate();
otaUpdater->setTcpEventHandler(eventHandler); ...
I will try if will not die in class structure :)
Or C++ Exception ?LOL. Nice idea! Sming doesn't use exceptions though, exception frames eat RAM for one thing.
Forget it for now. We try to run on an embedded device.
I think
rBootHttpUpdateneeds some attention here. In general probably call the user-supplied callback on failure instart()or on a TCP error. It may need some work onHttpClientas well - I have a PR lined up for that so could take a look.
Have you done some changes related to this?
@slaff I didn't make any functional changes to rBootHttpUpdate (or HttpClient) and haven't specifically looked at this issue yet.
Update: work in progress