-->
Page 1 of 3

IOT SDK 0.9.5 - MEM CHECK FAIL!!!

PostPosted: Sun Jan 25, 2015 2:23 pm
by zinahe
Hi all,

I have upgraded the SDK to esp_iot_sdk_v0.9.5_15_01_23 and all of my programs compile successfuly using esp-open-sdk and run without any issues. But I have noticed that a "MEM CHECK FAIL!!!" is sent out via the UART link just before user_init() is called; which doesn't happen when the same code is compiled against 0.9.4. At first I thought there was a problem with the SPI flash (which could potentially happen as reported somewhere in the forums) but I got the same output on all of my modules.

Has anybody (including the gurus at Esspresif) got any idea what that means ?

Thanks.

Re: IOT SDK 0.9.5 - MEM CHECK FAIL!!!

PostPosted: Sun Jan 25, 2015 4:17 pm
by sej7278
i've not seen that with 095b1, b3 or final, but i'm compiling nodemcu not the AT firmware.

did you make sure to "make clean && git pull && git submodule update" before rebuilding (make) esp-open-sdk ?

you didn't just change the symlink or anything?

Re: IOT SDK 0.9.5 - MEM CHECK FAIL!!!

PostPosted: Mon Jan 26, 2015 1:19 am
by zinahe
@sej7278,

Thank you for the response. To answer your question, yes. In fact, I git cloned a new instance of the esp-open-sdk and built it afresh (my previous install was a created with STANDALONE=y). Then I downloaded the new SDK, extracted it and changed the sdk symlink.

Re: IOT SDK 0.9.5 - MEM CHECK FAIL!!!

PostPosted: Mon Jan 26, 2015 4:49 am
by sej7278
zinahe wrote:@sej7278,

Thank you for the response. To answer your question, yes. In fact, I git cloned a new instance of the esp-open-sdk and built it afresh (my previous install was a created with STANDALONE=y). Then I downloaded the new SDK, extracted it and changed the sdk symlink.


i don't think you can just change the symlink afterwards, as some include files and stuff are copied from the sdk during make.

can you do a "make clean", then download my modified Makefile (just download the file, no need to git clone) then run make again?

https://github.com/sej7278/esp-open-sdk ... r/Makefile

also looks like there's some memory bug too: viewtopic.php?f=6&t=1360 which i've added the patch for