【BETA】esp_iot_sdk_v0.9.6_b1 released !

ScottR
Posts: 14
Joined: Wed Dec 03, 2014 10:29 pm

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby ScottR » Tue Mar 03, 2015 6:25 am

I discovered moments ago that in my case the "mem check fail" error was due to power supply issues. I strongly advise anyone else experiencing this error to check the stability of their power supply.

Scott.

User avatar
rudi
Posts: 197
Joined: Fri Oct 24, 2014 7:55 pm

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby rudi » Tue Mar 03, 2015 8:55 am

Espressif_Faye wrote:Hi, Scott,

Maybe you could refer to this http://bbs.espressif.com/viewtopic.php?f=16&t=211&start=10#p837

Sorry that I can't replicate your problem, I compiled sdk096_b1 and memcheck fail error is fixed

Here is my bin files, baudrate 115200



hi Faye

thank you - will test your bin asap,

btw:

strange :

please, can you make a test: if your modul was boot fine, press the reset button -
what you will get now? :)

i test the last beta version, and saw strange:
if i connect the modul with power and gpio0 down to gnd for flashmode
i upload the firmware, and after finnish this, the modul start with 'MEM CHECK FAIL!!!'
i disconnect GPIO0 from Gnd and
i test again .. pressed the reset button.. 'MEM CHECK FAIL!!!' Message was in boot text

now i read Scott Post
viewtopic.php?f=7&t=205&p=874#p874

and test a little, i have power off the power supply, and power on
and?
there is no 'MEM CHECK FAIL!!!' in boot text
again
power off, power on
there is no 'MEM CHECK FAIL!!!' in boot text

ok now my test
i push reset button
there is 'MEM CHECK FAIL!!!' in boot text again.

strange :-)

can you please test with a reset button after power on ?

best wishes

rudi ;-)

txs Scott!!!
think this can be the magic point!

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi
Posts: 197
Joined: Fri Oct 24, 2014 7:55 pm

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby rudi » Tue Mar 03, 2015 9:15 am

Espressif_Faye wrote:Hi, Scott,

Maybe you could refer to this http://bbs.espressif.com/viewtopic.php?f=16&t=211&start=10#p837

Sorry that I can't replicate your problem, I compiled sdk096_b1 and memcheck fail error is fixed

Here is my bin files, baudrate 115200


strange faye :)
thank you for the bin file.

i test just in time your bin file.
all ok - if i boot by power on.


but if i push the rst button ( rst to gnd ) modul reboot with 'MEM CHECK FAIL!!!'
please have a try :)

best wishes
rudi ;-)

edit:
can be, that rst function not clear a register and call boot message 'MEM CHECK FAIL!!!' cosmetic?
can be, that RESET Function set a bit in Register for call boot message 'MEM CHECK FAIL!!!'
can be, that power off, power on clear the bit / not set the bit.
..
Attachments
after_rst.JPG
after_rst.JPG (50.17 KiB) Viewed 20085 times

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby ESP_Faye » Tue Mar 03, 2015 5:55 pm

Hi,

"MEM CHECK FAIL" actually means "the Sleep parameters stored in RTC memory are broken and then the firmware will restore the parameters as the default values".
So it is actually a warning, and is useful only when waking up from deep-sleep.

The sleep parameters in RTC memory should be written with the correct checksum, just before the firmware going into deep-sleep.
After wakeup from deep-sleep, the firmware may revise these parameters but does not update the checksum.

So the following cases are not strange
1) after power-on-reset, this warning text is not printed.
Because the firmware know the reset-cause and know that it is not from deep-sleep.

2) If you push the reset button when CPU is running, this warning text will be printed.
because the checksum may have been not updated.
And the firmware will not apply the parameters for safe.

3) If you push the reset button during deep-sleep, this warning text will not be printed.
because the checksum have been updated before going to deep-sleep.
And the firmware will not apply the parameters for safe.

There are many bytes in RTC-memory for customer applications.
You can use this RTC-memory. And a checksum/CRC32 are good for data consistency.

Thanks for your interest in ESP8266 !

User avatar
rudi
Posts: 197
Joined: Fri Oct 24, 2014 7:55 pm

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby rudi » Tue Mar 03, 2015 8:09 pm

Espressif_Faye wrote:Hi,

"MEM CHECK FAIL" actually means "the Sleep parameters stored in RTC memory are broken and then the firmware will restore the parameters as the default values".
So it is actually a warning, and is useful only when waking up from deep-sleep.
..


hi faye,

thank you for clear this.

best wishes
rudi ;-)

-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

ScottR
Posts: 14
Joined: Wed Dec 03, 2014 10:29 pm

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby ScottR » Tue Mar 03, 2015 10:30 pm

It doesn't appear that my previous post went up on this issue, but for me I discovered that the mem check fail error turned out to be a power supply related issue. Using a better power supply fixed the problem for me.

Scott.

ScottR
Posts: 14
Joined: Wed Dec 03, 2014 10:29 pm

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby ScottR » Tue Mar 03, 2015 10:34 pm

My apologies to the group for re-posting my message. Apparently my browser cache was not updating and I did not see all the subsequent posts (and my original post). It just updated and I saw all the new posts.

Scott.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby ESP_Faye » Wed Mar 04, 2015 9:52 am

ScottR wrote:It doesn't appear that my previous post went up on this issue, but for me I discovered that the mem check fail error turned out to be a power supply related issue. Using a better power supply fixed the problem for me.


Hi, Scott,

With the bad power-supply, which case occur:
1) the warning text is printed, only when the first power on.
Or 2) the warning text is printed, after deep-sleep.

For the Case 1) the root cause may the CAP on EXT_RSTB is too big.
The case 2) is really related to the bad supply.

Thanks for your interest in ESP8266 ~

ScottR
Posts: 14
Joined: Wed Dec 03, 2014 10:29 pm

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby ScottR » Wed Mar 04, 2015 10:28 am

Faye,

I have never used or tested the deep sleep function because I don't need it for my application. I notice the Mem Check Fail message when I power up my ESP module from a power supply that had lower than expected voltage. So I changed to a power supply that is more stable and the problem went away. FYI I am using the ESP-12 module for my testing if that helps you.

Scott.

tengsw
Posts: 1
Joined: Tue Jan 27, 2015 3:41 pm

Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !

Postby tengsw » Wed Mar 04, 2015 5:16 pm

great work.
but how can i get the android app to smart config my devices based on esp_iot_sdk_v0.9.6_b1?

Who is online

Users browsing this forum: Majestic-12 [Bot] and 13 guests