WiFi Time Provider not working after firmware update

More
3 months 3 weeks ago #10937 by Ty_Eeberfest

Ian wrote: I use one of these with two switches soldered onto it.

Even cheaper programmer


Yeah me too but he said he was having troubles so I wanted to make it as easy as possible.


Look into it later when the dust is clearing off the crater.
Attachments:

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago - 3 months 3 weeks ago #10938 by Ohm711
I tought I will connect it via arduino UNO simple-circuit.com/arduino-esp-01-esp8266-programming/
Or I have this device: s.click.aliexpress.com/e/VP72oMNJH

First problem is with compiling. I installed "ESP8266 Boards (2.5.0)" and sellected "Generic ESP8266 Module".
I installed patch and changed "packages/esp8266/hardware/esp8266/2.5.0/cores/esp8266/Esp.h"
#define PUYA_SUPPORT 0 to #define PUYA_SUPPORT 1
I installed libraries <WiFiManager.h> github.com/tzapu/WiFiManager (0.14.0) and <ArduinoJson.h> github.com/bblanchon/ArduinoJson (5.13.2)
And I set setting like this:
Program with following settings (status line / IDE):

Board: Generic ESP8266 Module,
Crystal Frequency: 26MHz,
Flash: 80MHz,
CPU: 160MHz,
Flash Mode: QIO,
Upload speed: 115200,
Flash size: 1M (64k SPIFFS),
Reset method: ck, Disabled, none
Erase Flash: All falsh contents,
Builtin LED: 1

And I get this error:
Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Generic ESP8266 Module, 160 MHz, Flash, Disabled, ck, 26 MHz, 80MHz, QIO (fast), 1M (64K SPIFFS), 1, v2 Lower Memory, Disabled, None, All Flash Contents, 115200"

In file included from D:\Downloads\isparkes-nixiefirmwarev1-d9acfd8b8135\isparkes-nixiefirmwarev1-d9acfd8b8135\WifiTimeProviderESP8266\WifiTimeProviderESP8266.ino:38:0:

C:\Users\Ohm711\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\libraries\DNSServer\src/DNSServer.h:67:13: error: cannot declare field 'DNSServer::_udp' to be of abstract type 'WiFiUDP'

WiFiUDP _udp;

^

In file included from C:\Users\Ohm711\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\libraries\DNSServer\src/DNSServer.h:3:0,

from D:\Downloads\isparkes-nixiefirmwarev1-d9acfd8b8135\isparkes-nixiefirmwarev1-d9acfd8b8135\WifiTimeProviderESP8266\WifiTimeProviderESP8266.ino:38:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiUdp.h:27:7: note: because the following virtual functions are pure within 'WiFiUDP':

class WiFiUDP : public UDP {

^

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiUdp.h:23:0,

from C:\Users\Ohm711\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\libraries\DNSServer\src/DNSServer.h:3,

from D:\Downloads\isparkes-nixiefirmwarev1-d9acfd8b8135\isparkes-nixiefirmwarev1-d9acfd8b8135\WifiTimeProviderESP8266\WifiTimeProviderESP8266.ino:38:

C:\Users\Ohm711\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266/Udp.h:82:27: note: virtual IPAddress UDP::remoteIP() const

virtual IPAddress remoteIP() const =0;

^

C:\Users\Ohm711\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266/Udp.h:84:26: note: virtual uint16_t UDP::remotePort() const

virtual uint16_t remotePort() const =0;

^

Multiple libraries were found for "WiFiUdp.h"
Used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\WiFi
Not used: C:\Users\Ohm711\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi
exit status 1
Error compiling for board Generic ESP8266 Module.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Last edit: 3 months 3 weeks ago by Ohm711.

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #10939 by Ian

Multiple libraries were found for "WiFiUdp.h"
Used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\WiFi
Not used: C:\Users\Ohm711\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.0\libraries\ESP8266WiFi
exit status 1
Error compiling for board Generic ESP8266 Module.


The answer's right there: Remove the library "C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\WiFi" - it's the wrong one. The ESP one is the right one.

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #10940 by Ty_Eeberfest

Ohm711 wrote: I tought I will connect it via arduino UNO simple-circuit.com/arduino-esp-01-esp8266-programming/
Or I have this device: s.click.aliexpress.com/e/VP72oMNJH


I've never had to try the UNO method myself but it looks good and should work.

You might be able to get the AliExpress UART adapter thing to work but the UNO method looks better to me.

Look into it later when the dust is clearing off the crater.

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #10941 by Ohm711
WOW, thank you very much guys. I just deleted wifi folder, clicked "upload" and DONE! Wifi time provider is working again.
I used Arduino UNO as programmer.

Please Log in or Create an account to join the conversation.

More
3 months 3 weeks ago #10942 by Ty_Eeberfest
Excellent!! I'm glad you were able to get it working without too much trouble.

Look into it later when the dust is clearing off the crater.

Please Log in or Create an account to join the conversation.

Moderators: AccutronTy_EeberfestIan
Time to create page: 0.272 seconds

Search

Tube Suppliers

Go to top
JSN Boot template designed by JoomlaShine.com