Adafruit GSM FONA 808 with Arduino ESP8266

I am using an Arduino ESP8266 along with Adafruit FONA 808,
After compiling the program to the ESP8266 board (NodeMCU 1.0), this is what I get on the Serial Monitor of Arduino IDE -

ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v3de0c112
~ld

I tried to test the FONA 808 module by uploading the FONA_Test example by making the following changes in the code -

#define FONA_RX D7
#define FONA_TX D8
#define FONA_RST D4

I am not sure as to why I am seeing the output of that kind on the Serial Monitor.

Please help me in this regard.

Thanks!

I am not sure as to why I am seeing the output of that kind on the Serial Monitor.

Do you know what that output means? It means that your NOT-An-Arduino ESP8266 crashed.

It is hard to imagine why you are using a device that is primarily designed to be a WiFi device with a GSM shield. Perhaps you can explain.

Using similar hardware, I got the save "error" message when trying to run the FONA_test example.
After stumbling on someone else's code for running the FONA, I commented out "while (!serial);"
as in the FONA_test example:

void setup() {
//while (!Serial);

Serial.begin(115200);
Serial.println(F("FONA basic test"));
Serial.println(F("Initializing....(May take 3 seconds)"));

etc., etc.

I don't pretend to understand what the while(!serial); was doing but the FONA_test example works fine now.

I don't pretend to understand what the while(!serial); was doing

It was waiting for the Serial instance to be ready. In all the examples I've seen the Arduino team publish, there is ALWAYS a comment that that code is needed only on the Leonardo and Micro (or other Arduinos and Arduino wannabies that use the 32U4 chip).

Why anyone would remove only the comment is a mystery.

Hi, I came across with this problem with the project that I am developing. I have tried removing the "while(!Serial)" code but the issue still persists. I wonder which pins you used to interface the ESP8266 and the FONA808?

I am not sure why you insist on using the ESP8266 instead of an Arduino !

It won't work.

.

I am using ESP8266 because I need to connect to the internet and it is the only available board I have. I was hoping that there is a workaround to save expenses. After a lot of trial and errors I have finally gave up and used arduino on fona. What I did was send data to arduino from ESP8266 using serial communication and let arduino handle the communication to the FONA.