JAndrassy / arduino-firmware-wifilink

Arduino WiFi Link firmware for ESP8266 based boards
MIT License
28 stars 12 forks source link

Can't upload firmware to arduino Uno Wifi #2

Closed wcpettus closed 6 years ago

wcpettus commented 6 years ago

I'm trying to switch to your version of the WiFiLink library and figured I should update to your firmware first. When I get to the upload step, I get this return:

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

Using an Arduino Uno WiFi developer edition, I've never done a firmware update before, so possibly I don't have it in the right mode for flashing (I was trying to use the ESP B/L button, holding it while reconnecting). It wasn't clear from your test setup example how to extrapolate to this board with a built-in chip.

JAndrassy commented 6 years ago

UNO WiFi with WiFi Link firmware

wcpettus commented 6 years ago

Thanks, I think that worked.

If I use the CheckWiFiLinkFirmwareVersion sketch from the WiFiLink library, it shows 1.1.0, the last tag was 1.0.1, so that's odd. But I am getting much better behavior in terms of disconnecting and reconnecting a telnet, which was my goal.

JAndrassy commented 6 years ago

I changed the version number in my repositories, because one bug fix required changes on booth sides (firmware and library) and I added a new function WiFi.resetEsp(). (but with Uno WiFi use better Serial1.resetESP()). Everything Uno WiFi related is documented in the Uno WiFi Serial1 project. See examples of Uno WiFi Serial1 library. WiFi Link docs are for common use with any Arduino+esp8266.