I think there is a problem with arduino uno WiFi as a TcpClient. You find attached my code.
Hardware
Arduino Uno WiFi (Firmware Version 1.1.0) & LCD Shield for Arduino 16x2
The problem is that after about 600 times the "WriteTOport" procedure is called both the client (arduino uno WiFi) and the server -whatever it is- freeze.
I tried with several servers,
Ubuntu C program as TCPserver.
RLY-8-DFrobot // for which the attached code is specifically written
Arduino Uno with Ethernet Shield
the problem remains the same with any server I use, after about 600 times the "WriteTOport" procedure is called both the client (arduino uno WiFi) and the server freeze.
Sometimes, after freezing on the serial monitor "No socket available" message appears every 30s as the loop.....
Hi. you still have the firmware compiled with esp8266 arduino core 2.4.1?
it has a memory leak. the leak was fixed in 2.4.2, but a new problem was introduced.
but the new problem is easy to fix.
I didn't try the latest esp8266 arduino boards package with WiFiLink
It's me again.
I'm afraid I forgot the upgrade process and the link to the older communication we had is pretty confusing.
I would greatly appreciate if you briefly sent me the steps to follow.
I use WIN10 with a brand new installation of IDE 1.8.12
Also what .zip files do I need to download?
".......Try againg: upload EspProxy with #define FLASHING into Atmega; erase flash with esptool; upload firmware; upload SPIFFS (try second time if first time fails). After then replace EspProxy in Atmega, because it will always put the esp back into bootloader mode....."
and SPIFFS was uploaded.
but I have no SSID
Any hint
.....esp8266 arduino must be 2.4.2 because 2.6.3 is also available?
Nothing happened, every call to WiFi library "freeze"
I have two questions
Board --> Arduino Uno Wifi
Upload Setup your esp board/shield/module for flashing. Connect it to USB of the computer and if it doesn't support DTR, put it into programming mode with dedicated button.
How to put into programming mode?
The tool builds the SPIFFS binary and uploads it to selected port. With serial port you must put your board/shield/module into flashing mode in it doesn't support reset on DTR. Then choose "ESP8266 Sketch Data upload" from Tools menu.
How to put into flashing mode?
I'm not sure if I did these steps well. Could you please explain to me?