tinypico / tinypico-arduino

Arduino libraries and example code for TinyPICO
MIT License
45 stars 20 forks source link

Arduino WiFi and Upload, Reset for new code #3

Closed Defragster closed 5 years ago

Defragster commented 5 years ago

Hoping update to Arduino tree from x.2 to x.3 resolves this:

The Play Shield example 'TinyPICO-Play-Shield-Features' shows this well:

With WiFi running a new Upload may take a RESET/repower/2nd upload to get the code uploaded to actually run When running this sketch some alternate presses of button 4 will not show WiFi connect but long lines of '...' with no connect until another Button 4 press.

Defragster commented 5 years ago

Only other ESP32 PICO I have seems to exhibit the same behavior. Not as easy to test/observe because the battery is fixed internal and there is no external reset.

Using included example SPIFFS_time.ino { may require Spiffs_test.ino first to format the space }

This seemed like NEW behavior because I barely unboxed the other unit { M5Stick-C } waiting for TinyPICO and ran their clock on Display example and never occurred to me it was not using WiFI Connect to get NTP time.

Defragster commented 5 years ago

https://github.com/espressif/esptool/issues/136

Just saw this OLD link for ESP32 - not PICO - resolved in esp silicon update. Workaround to add a cap would then cause trouble later - not clear the 'reset' issue is like the one showing here - but it seemed to show timing issue in upload process affecting reset.