thingsSDK / flasher.js

A GUI tool for flashing the Espruino JavaScript runtime on ESP8266 based boards
153 stars 25 forks source link

Fix intermittent hangs by being more explicit #3

Closed craigsdennis closed 8 years ago

craigsdennis commented 8 years ago

Move bootloader logic to board. Removes magic number loops. Listens for successful syncs before getting the party started.

Removes some of the magic number loop stuff I lifted and instead checks a condition.

@chalkers Can you verify this works for you by running it a few time. It might pause for about 10 seconds, but then should work. I did 10 successful ones in a row.