Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

Flashing from MOS webpage fails very often

MrZANEMrZANE Sweden
edited August 12 in Mongoose OS

Hi.
Most of the time when I try to upload a new firmware from the MOS web interface the MOS tool seems to have an internal struggle over whom should use the COM interface, the MOS standard GUI process or the flashing process.
This can sometimes be resolved by reloading the webpage but most of the times it forces me to disconnect and then reconnect the USB cable and reload the page. After that I quickly press flash and it works most of the time.
The mos.ex was downloaded yesterday(2017-08-11) so it's quite new.
Would be very grateful if you could fix this annoyance in your otherwise great tool.
Kind regards
Jimmy

Here are some logs when it goes wrong:

Aug 12 12:53:27.274] E0812 12:53:27.274651 14576 ui.go:489] Calling: Sys.GetInfo
[Aug 12 12:53:27.541] E0812 12:53:27.541743 14576 ui.go:515] Call complete, success
[Aug 12 12:53:29.253] Loaded AWS-test-1.13/esp32 version 1.0 (20170812-105246/???)
[Aug 12 12:53:29.259] Opening COM4 @ 115200...
[Aug 12 12:53:29.261] Connecting to ESP32 ROM, attempt 1 of 10...
[Aug 12 12:53:31.080] Connected
[Aug 12 12:53:31.080] Running flasher @ 460800...
[Aug 12 12:53:31.566] Flasher is running
[Aug 12 12:53:31.568] Flash size: 4194304, params: 0x0220 (dio,32m,40m)
[Aug 12 12:53:31.574] Deduping...
[Aug 12 12:53:31.595] 18224 @ 0x1000 -> 0
[Aug 12 12:53:31.601] 3072 @ 0x8000 -> 0
[Aug 12 12:53:31.620] 16384 @ 0x9000 -> 8192
[Aug 12 12:53:36.443] E0812 12:53:36.443865 14576 ui.go:489] Calling: Sys.GetInfo
[Aug 12 12:53:41.475] E0812 12:53:41.475347 14576 ui.go:513] Call complete, error: context deadline exceeded
[Aug 12 12:53:41.475] E0812 12:53:41.475347 14576 reconnect_wrapper.go:72] [reconnectWrapperCodec to COM4; connecting...] Connection closed

or sometimes:

[Aug 12 13:28:37.967] Firmware saved to build\fw.zip
[Aug 12 13:28:41.243] E0812 13:28:41.243232 11284 reconnect_wrapper.go:72] [reconnectWrapperCodec to COM4; connected] Connection closed
[Aug 12 13:28:42.747] Loaded AWS-test-1.13/esp32 version 1.0 (20170812-112831/???)
[Aug 12 13:28:42.747] Opening COM4 @ 115200...
[Aug 12 13:28:42.749] Connecting to ESP32 ROM, attempt 1 of 10...
[Aug 12 13:28:44.568] Connected
[Aug 12 13:28:44.568] Running flasher @ 460800...
[Aug 12 13:28:45.108] Flasher is running
[Aug 12 13:28:45.111] Flash size: 4194304, params: 0x0220 (dio,32m,40m)
[Aug 12 13:28:45.121] Deduping...
[Aug 12 13:28:49.182] E0812 13:28:49.182030 11284 ui.go:489] Calling: Sys.GetInfo
[Aug 12 13:28:49.182] E0812 13:28:49.182530 11284 ui.go:489] Calling: Sys.GetInfo
[Aug 12 13:28:54.404] E0812 13:28:54.403792 11284 ui.go:513] Call complete, error: context deadline exceeded
[Aug 12 13:28:54.404] E0812 13:28:54.403792 11284 reconnect_wrapper.go:72] [reconnectWrapperCodec to COM4; connecting...] Connection closed
[Aug 12 13:28:54.404] E0812 13:28:54.403792 11284 ui.go:513] Call complete, error: context deadline exceeded
[Aug 12 13:28:57.445] E0812 13:28:57.445035 11284 ui.go:489] Calling: Sys.GetInfo
[Aug 12 13:28:57.446] E0812 13:28:57.445035 11284 ui.go:489] Calling: Sys.GetInfo
[Aug 12 13:29:02.668] E0812 13:29:02.668877 11284 ui.go:513] Call complete, error: context deadline exceeded
[Aug 12 13:29:02.675] E0812 13:29:02.671353 11284 ui.go:513] Call complete, error: context deadline exceeded
[Aug 12 13:29:02.682] E0812 13:29:02.668877 11284 reconnect_wrapper.go:72] [reconnectWrapperCodec to COM4; connecting...] Connection closed

Comments

Sign In or Register to comment.