8000 problem with OTA in Basic_rBoot · Issue #1520 · SmingHub/Sming · GitHub
[go: up one dir, main page]

Skip to content
problem with OTA in Basic_rBoot #1520
@petrynchyn

Description

@petrynchyn

I have problem with OTA in sample Basic_rBoot, please check someone this example in yourself.

make flash
Killing Terminal to free /dev/ttyUSB0
/opt/Sming/Sming/Makefile-rboot.mk:614: recipe for target 'flash' failed
make: [flash] Вбито (ігнорується)
/opt/esp-open-sdk/esptool/esptool.py -p /dev/ttyUSB0 -b 115200 write_flash -ff 40m -fm qio -fs 32m 0x00000 out/firmware/rboot.bin 0x02000 out/firmware/rom0.bin 0x100000 out/firmware/spiff_rom.bin
WARNING: Flash size arguments in megabits like '32m' are deprecated.
Please use the equivalent size '4MB'.
Megabit arguments may be removed in a future release.
esptool.py v2.2-dev
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Compressed 2032 bytes to 1429...
Wrote 2032 bytes (1429 compressed) at 0x00000000 in 0.1 seconds (effective 122.6 kbit/s)...
Hash of data verified.
Compressed 319168 bytes to 220389...
Wrote 319168 bytes (220389 compressed) at 0x00002000 in 19.5 seconds (effective 131.1 kbit/s)...
Hash of data verified.
Compressed 65536 bytes to 191...
Wrote 65536 bytes (191 compressed) at 0x00100000 in 0.0 seconds (effective 22285.3 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting...
python -m serial.tools.miniterm /dev/ttyUSB0 115200 
--- Miniterm on /dev/ttyUSB0  115200,8,N,1 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
��␃�␛�g�s��o|�␌l␌lll ␃��{�l��: 079069 trying to mount spiffs at 0x00100000, length 65536
79378 fs.start: size:64 Kb, offset:0x100000

81006 mount res: 0

81624 Station configuration is: MKVL

Currently running rom 0.
Type 'help' and press enter for instructions.

mode : sta(60:01:94:2b:ae:0b)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt 

connected with MKVL, channel 2
dhcp client start...
ip:192.168.1.69,mask:255.255.255.0,gw:192.168.1.1
pm open,type:2 0
Updating...
147084586 current_rom = 0
147084776 slot = 1
147085052 Download file:
    (0) http://192.168.1.223/fw/Basic_rBoot/rom0.bin -> 202000
147086789 Creating new httpConnection
147089702 HttpConnection::connect: TCP state: -1, isStarted: 0, isActive: 0
147096029 HttpConnection::connecting ...
147099673 +TCP connection
147101829 connect to: 192.168.1.223
147105682 TcpConnection::connect result:, 0
147108828 Download file:
    (0) http://192.168.1.223/fw/Basic_rBoot/spiff_rom1.bin -> 300000
147117582 HttpConnection::connect: TCP state: 2, isStarted: 1, isActive: 1
147223402 OnConnected
147223584 TCP connected
147223709 HttpConnection::onReadyToSendData: waitingQueue.count: 2
147224162 Storing 39 bytes in stream
147225781 realloc 39 -> 189
147227903 Storing 21 bytes in stream
147231156 Storing 19 bytes in stream
147234327 Storing 2 bytes in stream
147237458 onReadyToSendData: 0
147240279 Written: 81, Available: 81, isFinished: 1, PushCount: 1 [TcpBuf: 2699]
147247159 TcpClient stream finished
147262322 TCP sent: 81
147262545 HttpConnection::onReadyToSendData: waitingQueue.count: 1
147262960 Storing 45 bytes in stream
147263315 realloc 45 -> 195
147264858 Storing 21 bytes in stream
147268105 Storing 19 bytes in stream
147271283 Storing 2 bytes in stream
147274392 onReadyToSendData: 2
147277192 Written: 87, Available: 87, isFinished: 1, PushCount: 1 [TcpBuf: 2693]
147284109 TcpClient stream finished
147289608 The headers are complete

 ets Jan  8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x40100000, len 1344, room 16 
tail 0
chksum 0x9c
load 0x3ffe8000, len 660, room 8 
tail 12
chksum 0xbd
csum 0xbd

rBoot v1.4.2 - richardaburton@gmail.com
Flash Size:   32 Mbit
Flash Mode:   QIO
Flash Speed:  40 MHz
rBoot Option: Big flash

Booting rom 0.
��␃�␛�o�s��n|�␄$␌lll`␃��s�d��: 086188 trying to mount spiffs at 0x00100000, length 65536
86496 fs.start: size:64 Kb, offset:0x100000

88125 mount res: 0

88743 Station configuration is: MKVL

Currently running rom 0.
Type 'help' and press enter for instructions.

mode : sta(60:01:94:2b:ae:0b)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 1
cnt 

connected with MKVL, channel 2
dhcp client start...
ip:192.168.1.69,mask:255.255.255.0,gw:192.168.1.1
pm open,type:2 0

SDK: v2.0.0(5a875ba)
Firmware version: v18.1113.1325
Free Heap: 47888
CPU Frequency: 80 MHz
System Chip ID: 2bae0b
SPI Flash ID: 1640ef
SPI Flash Size: 4194304
561879786 Count: 2
561881383 ROM 0: 8192
561883290 ROM 1: 2105344
561885463 ROM 2: 0
561887115 GPIO ROM: 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0