【BETA】esp_iot_sdk_v0.9.6_b1 released !
Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !
Postby ScottR » Tue Mar 03, 2015 6:25 am
Scott.
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.
-------------------------------------
問候飛出去的朋友遍全球魯迪
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 (50.17 KiB) Viewed 26891 times
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !
Postby ESP_Faye » Tue Mar 03, 2015 5:55 pm
"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 !
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.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !
Postby ScottR » Tue Mar 03, 2015 10:30 pm
Scott.
Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !
Postby ScottR » Tue Mar 03, 2015 10:34 pm
Scott.
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 ~
Re: 【BETA】esp_iot_sdk_v0.9.6_b1 released !
Postby ScottR » Wed Mar 04, 2015 10:28 am
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.
Who is online
Users browsing this forum: No registered users and 182 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.