Software serial causing FIFO_FULL requiring flashing to fix #6058
Replies: 1 comment
-
Posted at 2018-12-01 by Programbo This is the setup dumped onto an outdoor table so the GPS module could see the sky :D Posted at 2018-12-01 by @MaBecker Hi @programbo, Some hints:
Posted at 2018-12-01 by Programbo Thanks @MaBecker! Functionally, what does delaying the save do? Regarding software serial, it seems to work! I got the info from here: https://www.espruino.com/USART#software-serial
That said, I am using Flasher.js to flash my boards, so maybe that is getting the cutting edge build! I'll check... Posted at 2018-12-01 by Programbo @MaBecker Firmware version seems to be ESP8266 stable rather than cutting edge. This is the Flasher.js manifest for the firmware I am using: When I have this trouble again (probably tomorrow ;) I will try running Posted at 2018-12-01 by @MaBecker
give the interpreter more time to finish loading the code before it is saved ;-) Posted at 2018-12-01 by Programbo Cheers, @MaBecker! Any idea what the stuff being dumped into the console is all about? Posted at 2018-12-01 by @MaBecker
it is not possible to load code save with older or new Espruino version with other versions, that's why erase flash is needed. Posted at 2018-12-01 by Programbo That was happening when trying to upload modified code to the same firmware! Espruino already explicitly prevents running code uploaded on a different firmware version. I used that feature to save me because switching firmware would stop my software serial code from automatically running so I could upload safe code before bringing it back to v2.00 :D Posted at 2018-12-01 by @MaBecker Ok, so i would guess that save started before code was fully interpreted and this causes the issues during loading. Posted at 2018-12-01 by Programbo Can't wait to try this fix. I'm pushing to spend more time at work on Espruino work for prototyping so expect to see me around whenever I can't solve a problem with Google. Thanks for the tips, @MaBecker! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-12-01 by Programbo
I made a simple setup with a 16x4 LCD screen (HD44780) outputting the data from a serial GPS module. I used software serial on v2.00 because hardware serial on NodeMCU confused me.
Pushing up the code works, but if I need to change it, pushing up the code the next time results in a
New interpreter error: FIFO_FULL
, followed by the NodeMCU spewing the following into the console forever:...and the onboard LED to flicker continuously. The is NOT fixed by reflashing with v2.00! Here's how I am currently working around it:
If anyone has a tip on preventing this error from happening I would really appreciate it!
Also, when the ESP8266 gets into this sort of continual error state, is there an easier way to clear saved code aside from changing the firmware version and pushing up some new code?
Beta Was this translation helpful? Give feedback.
All reactions