- Sat Oct 24, 2020 10:42 pm
davydnorris wrote:Is there any reason you want to speed it up? Is it just a worry about power consumption?
Also @eriksl - would love to see more on your benchmarks - very interested to know more on top sustained transfer speeds and how they can be achieved
Thanks for the replies!
Sure we are considering about the TIME, other than POWER. Why did you ask about power, buddy?
In fact wee are just considering about how to speed up the image flashing for mass production. The traditional flash-burning via UART is too time-consuming, so we are trying to burn flash via an OTA. It saves time obviously, but is still time-consuming, and we are trying to save more. This is the first, as well as the primary reason, why we are considering about the OTA time consumption.
Meanwhile, as a PRODUCT feature, shorter period of OTA procedure also indicates less risk of unexpected fault possibility due to the network exceptions, and less snifferring risk via the Internet.
Actually we also did such a test to comment out the operations of burnning flash during an OTA so as just to test the network speed to a http server during an OTA, and we achieved a speed of 5- seconds to download an BIN file of nearly 600KBytes. That is, we have a benchmark speed of 100+KBytes/s
or around 1MBPS
without flashing, much faster than what @eriksl provided above. Even if we perform a complete OTA successfully with flahsing(the operations of flash erase and burn), via a LAN(sure, a wireless LAN since 8266 is a wireless device), the speed is something around 9-10 seconds to compelete the OTA of an image of nearly 600KBytes. That is, the speed is upto 60KBytes/s
or around 500Kbps
with flashing( operations of flash erase and burning).
But compared with the 8266 RF WIFI Speed itself up to 20Mbps, the speeds are still tooooooooooooo slow, even though there is an obvious bottleneck of flash operation. --- The speed of a UART-8266 WIFI module is slow but just because the UART is slow. However the RF wifi is not slow and an OTA does not need the UART and IS NOT bottlenecked by the UART port.