EspruinoWifi: V1.94 - New interpreter error: FIFO_FULL #4591
Replies: 1 comment
-
Posted at 2017-10-16 by @gfwilliams Hi, FIFO_FULL means that the input buffer (the one that receives data from WiFi) got so full it couldn't handle any more data and ended up losing some bytes. It almost certainly happened before, but it wasn't reported - 1v94 turned it on because it's something that'll almost certainly cause instability or broken data. Do you have some functions that could take a long time to execute? That's usually the problem. However, the input FIFO is shared with watch events, so I guess if you're:
... then you could potentially have some problems. So it might be you can fix it just by trying to find some functions that take a long time to execute and splitting them up. Otherwise it is possible to turn on hardware flow control for the ESP8266. It's something I haven't enabled by default yet, but we could try that? Posted at 2017-10-18 by Sacha Thanks Gorden for the answer. Sacha Posted at 2018-01-26 by @MaBecker After upload and starting some function manually, I got this message on a ESP8266 device.
How to enable and try this hardware controll? Posted at 2018-01-26 by @gfwilliams
You're running Espruino on the ESP8266? What I'm saying above is for the Espruino WiFi, where it's connected to the ESP8266 via serial - flow control won't be a problem when running directly on ESP8266. Posted at 2018-01-26 by @MaBecker Ups, mixed it up - sorry ..... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-10-16 by Sacha
Hi Gordon
I noticed that i get from time to time the following error in the console on the EspruinoWifi:
"New interpreter error: FIFO_FULL"
It happens, when i send socket data (small junk of JSON data) after a setWatch of a button is triggered.
It is very difficult to reproduce.
I use the following pins with setWatch:
A1, A5, A6, A7, B9, B8, B4
I think it's not dedicated to a special pin i used.
Greetings
Sacha
Beta Was this translation helpful? Give feedback.
All reactions