Chat freely about anything...

User avatar
By m.arai
#15279 Hi,

I'm trying to preserve data received at a callback registered through espconn_regist_recvcb.
So I started from the easiest way by making static buffer in user_main.c like this,

Code: Select allstatic char buffer[512];


Then I tried to write a data to the buffer like this,

Code: Select allfor (i = 0; i < 512 ; i++) buffer[i] = i & 0xFF;


But the moment the app tries to access to the buffer, it stops and after a few seconds, it gives wdt reset message.
Does anyone know what is happening? Is RAM so small that there is no room for making 512 bytes buffer?

Any comment will be appreciated. Thank you.