Using the new Arduino IDE for ESP8266 and found bugs, report them here

Moderator: igrr

User avatar
By winneymj
#27044 Hi,
I think I have found a bug with the SPI interface.
I am using a 256x64 OLED display and have double buffering. That means I have to send 8k across the SPI.
I have attached a sample Arduino script that shows the problem I am having. I have stripped down the script to the bare essentials and you do not even need to attach an OLED/SPI device to show the problem.

Please can someone download the script and try it. If you comment out the delay(0) it resets the ESP8266. If uncomment the delay(0) it does not reset and continues to send data.

arduino_script.txt


Thanks
Mark
You do not have the required permissions to view the files attached to this post.
User avatar
By winneymj
#27087 schufti,
You know....I woke the middle of the night wondering if there is a watchdog on the ESP8266 that causes a reset if you end up in a tight processing loop. Isn't the brain wierd.
That could be the issue not the SPI code.
Will investigate that some more.

Thanks
Mark