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.
Thanks
Mark