IOT_PLATFORM on RTOS_SDK

druiz
Posts: 5
Joined: Wed Nov 02, 2016 9:11 pm

IOT_PLATFORM on RTOS_SDK

Postby druiz » Wed Nov 02, 2016 10:25 pm

Hi!
I'm trying to compile the IOT Platform project (https://github.com/espressif/ESP8266_IOT_PLATFORM) using the ESP8266_RTOS_SDK (https://github.com/espressif/ESP8266_RTOS_SDK).

It compiles without errors, but flashing the device I'm having always the same error:
don't use rtc mem data

Have you had someone else the same mistake?

Thanks in advance

pratik

Re: IOT_PLATFORM on RTOS_SDK

Postby pratik » Thu Nov 03, 2016 12:54 pm

Hello!
It should not be an "error". Is it preventing your application from executing or is it just being output on the log?

It just means to say that the RTC RAM memory block may contains random data (as a result of power cycling). This is because reset events like power-cycling will affect that RAM area, while some other reset methods such as software reboot will not... and so you will get this message in the former case but not in the latter.

(As an additional note, if your application uses data stored in RTC mem, just make sure that the RTC mem contains valid data by having a known checksum or something.)

druiz
Posts: 5
Joined: Wed Nov 02, 2016 9:11 pm

Re: IOT_PLATFORM on RTOS_SDK

Postby druiz » Fri Nov 04, 2016 1:00 am

Thank you very much for yor response.

I will take a look, because I'm not using the RTC for my app. But I'm a little bit lost because I'm trying to compile the Espressif example in the same way they explained ( https://github.com/espressif/ESP8266_IOT_PLATFORM ).

One thing that caught my attention is that the ESP8266 creates the AP WIFI signal and I can connect my mobile phone to than signal. But I'm not able to access to the plug HTML web page of the example (it shows Not Found).
At the same time, I connect the ESP8266 to Realterm and only shows the same error: don't use rtc mem data .

druiz
Posts: 5
Joined: Wed Nov 02, 2016 9:11 pm

Re: IOT_PLATFORM on RTOS_SDK

Postby druiz » Sun Nov 06, 2016 8:34 pm

Ok,
One of my problems was that the UART was not configurated. Now it boots properly.

The next problem is that I need to copy the HTML files in the device. In which address I must copy the webpages.espf file?
I'm compiling in 2048(1024+1024) in a 4MB device.

Thank in advance!

druiz
Posts: 5
Joined: Wed Nov 02, 2016 9:11 pm

Re: IOT_PLATFORM on RTOS_SDK

Postby druiz » Thu Nov 10, 2016 3:56 pm

Ok, now it works properly. I needed to change some lines in the Makefile to set the HTML files address dynamically.

sunweili50
Posts: 8
Joined: Sun Oct 23, 2016 9:25 am

Re: IOT_PLATFORM on RTOS_SDK

Postby sunweili50 » Wed Dec 07, 2016 9:55 pm

druiz wrote:Ok, now it works properly. I needed to change some lines in the Makefile to set the HTML files address dynamically.

And i also encounter this problem that how to burn the webpage.espfs to esp8266, Could you share you solution? thanks very much

Who is online

Users browsing this forum: No registered users and 56 guests