ESP8266 Developer Zone The Official ESP8266 Forum 2016-07-12T18:39:09+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2400 2016-07-12T18:39:09+08:00 2016-07-12T18:39:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7922#p7922 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]> 1) 你可以查看8266的串口输出
2) 你可以点开“数据模型”中的“数据”这一项

Statistics: Posted by ESP_Rubin — Tue Jul 12, 2016 6:39 pm


]]>
2016-07-12T17:08:31+08:00 2016-07-12T17:08:31+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7919#p7919 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]>
esp_rubin wrote:
could you check the log info in IotBucket to confirm the cloud has capture the POST command

yes, the log is shown follow
Unnamed QQ Screenshot20160712170718.png

Statistics: Posted by lou0908 — Tue Jul 12, 2016 5:08 pm


]]>
2016-07-12T16:34:06+08:00 2016-07-12T16:34:06+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7916#p7916 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]> Statistics: Posted by ESP_Rubin — Tue Jul 12, 2016 4:34 pm


]]>
2016-07-12T16:10:03+08:00 2016-07-12T16:10:03+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7915#p7915 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]>
esp_rubin wrote:
it seems our document error.
"{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}"
should be the POST response info.

thank you for your response
I use POST message to do the experiment, the response from iot.espressif.cn is same as the GET command. unfortunately, my experiment is fail, I can not reverse control plug as I expected, for example, I want to open the plug, I send message as follows:
{"datapoint":{"x":1}}
but my test board have any response,the phenomenon is shown as follows
Unnamed QQ Screenshot20160712155441.png

Statistics: Posted by lou0908 — Tue Jul 12, 2016 4:10 pm


]]>
2016-07-12T14:30:38+08:00 2016-07-12T14:30:38+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7912#p7912 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]> "{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}"
should be the POST response info.

Statistics: Posted by ESP_Rubin — Tue Jul 12, 2016 2:30 pm


]]>
2016-07-12T11:00:41+08:00 2016-07-12T11:00:41+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7909#p7909 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]>
esp_rubin wrote:
I'm confused with your question:
First, you found POST message is different with GET message, i only capture the GET message, never see any POST message
Second, you found result shows sensor message, but it's absolute a plug message from your picture, why you think it's a sensor message?
{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}

I want to get the plug information from iot.espressif.cn via GET message, and the result is shown in the picture I have shown in my previous post. And I found that the response from iot.espressif.cn which displayed in the POSTMAN software shows is different from the Guidance's result:
{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}
My experiment result is
{
"status": 200,
"datapoint": {
"updated": "2016-07-11 20:11:49",
"created": "2016-07-11 20:11:49",
"datatype": 0,
"visibly": 1,
"datastream_id": 8024,
"at": "2016-07-11 20:11:49",
"x": 1,
"id": 4680799
}
}
I wonder what is wrong with my experiment?
thank you very much for your help!

Statistics: Posted by lou0908 — Tue Jul 12, 2016 11:00 am


]]>
2016-07-12T10:25:09+08:00 2016-07-12T10:25:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7908#p7908 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]> First, you found POST message is different with GET message, i only capture the GET message, never see any POST message
Second, you found result shows sensor message, but it's absolute a plug message from your picture, why you think it's a sensor message?
{"status": 200, "nonce": 11432809, "datapoint": {"x": 1}, "deliver_to_device": true}

Statistics: Posted by ESP_Rubin — Tue Jul 12, 2016 10:25 am


]]>
2016-07-11T20:28:00+08:00 2016-07-11T20:28:00+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7903#p7903 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]>
esp_rubin wrote:
Hi,
It's our parter Ai-Thinker's IDE solution.
In default, we only offer the Lubuntu compiler environment, you can try it.

ok thank you very much
I have encounter another problem, I want to test Reverse Control feature, and the demo is also plug, I use Postman to send the http packet to iot.espressof.cn, I found that Get and Post results are not same as the users' guidance described, now I want get the plug status from iot.expressif.cn, In postman the packet I send and the result is received as follow picture shows:
Unnamed QQ Screenshot20160711201904.png

It is very obvious that the response result is different from the users guidance
Unnamed QQ Screenshot20160711201904.png

also, POST command I follow the user guidance to reverse control remote plug has the same phenomenon, it is a failure.
What is wrong in my steps to implement the experiment?
The result shows a sensor demo response, but I have not built any sensor device in our iot.espressif.cn?
I look forward to your help, thank you
Unnamed QQ Screenshot20160711202147.png

Statistics: Posted by lou0908 — Mon Jul 11, 2016 8:28 pm


]]>
2016-07-11T10:00:23+08:00 2016-07-11T10:00:23+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7889#p7889 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]> It's our parter Ai-Thinker's IDE solution.
In default, we only offer the Lubuntu compiler environment, you can try it.

Statistics: Posted by ESP_Rubin — Mon Jul 11, 2016 10:00 am


]]>
2016-07-08T14:41:03+08:00 2016-07-08T14:41:03+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7857#p7857 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]>
esp_rubin wrote:
I'm so sorry, we never offer the offical IDE for any developer, I'll suggest it our our R&D team, hope it will be under plan, thank you!!

The IDE I mentioned is Ai-Thinker ESP8266 SDK v2.0 which I download form the site of http://www.espressif.com/en/products/ha ... /resources.
In the folder there is a RTOS demo build with V1.3, I want using the IDE to compiler RTOS V1.4, unfortunately, I can not find any more document about how to build project and compiler. Is there any guidance about how to using the IDE?
thank you

Statistics: Posted by lou0908 — Fri Jul 08, 2016 2:41 pm


]]>
2016-07-08T11:30:02+08:00 2016-07-08T11:30:02+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7850#p7850 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]> Statistics: Posted by ESP_Rubin — Fri Jul 08, 2016 11:30 am


]]>
2016-07-08T11:19:34+08:00 2016-07-08T11:19:34+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7849#p7849 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]>
esp_rubin wrote:
please change:
1) user1.4096.new.4.bin to user1.bin; user2.4096.new.4.bin to user2.bin
2) please make use the flash map be the same. Form you use, you want update the map 6 to map 4, that's we can't suuport now

thank you esp_rubin, I have solved this problem successfully under the guidance of you.
PS:
Now I using NONOS SDK as base of my application. I am familiar with widows platform application development, and I use the IDE2.0 which provided by espressif as my development tool to develop esp8266 application. I found that IDE compiled NONOS demo works prefect, while compiler RTOS 1.4.x version is a nightmare. I using the rtos version included in the project folder which included in IDE folder, I found it do not work fine as NONOS version, IDE console can not print the detailed compiler process log in IDE console, is it right? If I want to compiler RTOS version, Can I chose IDE on windows platform as my primary tool?

Statistics: Posted by lou0908 — Fri Jul 08, 2016 11:19 am


]]>
2016-07-08T10:47:01+08:00 2016-07-08T10:47:01+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7848#p7848 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]> 1) user1.4096.new.4.bin to user1.bin; user2.4096.new.4.bin to user2.bin
2) please make use the flash map be the same. Form you use, you want update the map 6 to map 4, that's we can't suuport now

Statistics: Posted by ESP_Rubin — Fri Jul 08, 2016 10:47 am


]]>
2016-07-08T10:08:19+08:00 2016-07-08T10:08:19+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7846#p7846 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]>
esp_rubin wrote:
login failed, i used:
mail:lou0908@126.com
password:lou0908
please confirm, thank you!!

I am very sorry to bring you some unnecessary trouble, I have change my password to 123456, and I have confirmed this account can login in that site,
mail:lou0908@126.com
password:123456
thank you
My application compiler result bins listed follow
upgrade.rar

Statistics: Posted by lou0908 — Fri Jul 08, 2016 10:08 am


]]>
2016-07-08T09:49:32+08:00 2016-07-08T09:49:32+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7844#p7844 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]> mail:lou0908@126.com
password:lou0908
please confirm, thank you!!

Statistics: Posted by ESP_Rubin — Fri Jul 08, 2016 9:49 am


]]>
2016-07-07T20:48:25+08:00 2016-07-07T20:48:25+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7834#p7834 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]>
esp_rubin wrote:
account should be mail address to login the IotBucket

I am so sorry, account is lou0908@126.com,thank you

Statistics: Posted by lou0908 — Thu Jul 07, 2016 8:48 pm


]]>
2016-07-07T19:28:14+08:00 2016-07-07T19:28:14+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7829#p7829 <![CDATA[Re: 【Feedback】NONOS 1.5.4 OTA problem]]> Statistics: Posted by ESP_Rubin — Thu Jul 07, 2016 7:28 pm


]]>
2016-07-07T18:37:16+08:00 2016-07-07T18:37:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7827#p7827 <![CDATA[Re: 【Feedback】Re: NONOS 1.5.4 OTA problem]]>
esp_rubin wrote:
i tried my 8266 device, never reproduce the issue, so could you share me your IotBucket account, let me check it, thank you!!

Thank you for your help, my account is lou0908,and the password is as same as the account name, I am looking forward to your good news. thank you

Statistics: Posted by lou0908 — Thu Jul 07, 2016 6:37 pm


]]>
2016-07-07T16:42:08+08:00 2016-07-07T16:42:08+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7825#p7825 <![CDATA[【Feedback】Re: NONOS 1.5.4 OTA problem]]> Statistics: Posted by ESP_Rubin — Thu Jul 07, 2016 4:42 pm


]]>
2016-07-06T17:03:16+08:00 2016-07-06T17:03:16+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2400&p=7792#p7792 <![CDATA[【Feedback】NONOS 1.5.4 OTA problem]]> I have changed PRIV_PARAM_START_SEC and ESP_PARAM_START_SEC to 0x7c and 0x7D SDK before compiling SDK for I want to use 512K+512K configuration in our 4096K spi flash.
I have compiled SDK and got two bins with name of user1.bin and user2.bin, some step such as follows:

DESKTOP-A1K3GVA /cygdrive/e/wifi/esp8266/sdk/ESP8266_NONOS_SDK_V1.5.4_16_05_20/ESP8266_NONOS_SDK/app
$ ./gen_misc.sh
gen_misc.sh version 20150511

Please follow below steps(1-5) to generate specific bin(s):
STEP 1: choose boot version(0=boot_v1.1, 1=boot_v1.2+, 2=none)
enter(0/1/2, default 2):
1
boot mode: new

STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):
2
generate bin: user2.bin

STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz)
enter (0/1/2/3, default 2):
2
spi speed: 40 MHz

STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT)
enter (0/1/2/3, default 0):
0
spi mode: QIO

STEP 5: choose spi size and map
0= 512KB( 256KB+ 256KB)
2=1024KB( 512KB+ 512KB)
3=2048KB( 512KB+ 512KB)
4=4096KB( 512KB+ 512KB)
5=2048KB(1024KB+1024KB)
6=4096KB(1024KB+1024KB)
enter (0/2/3/4/5/6, default 0):
4
spi size: 4096KB
spi ota map: 512KB + 512KB

Then I burn this bins list in folder bin and upgrade to flash via flash download tool 3.3.4, and the offset address which bin to burn in I refer the document 2a-esp8266-sdk_getting_started_guide_en.pdf. In my test board I only burn user1.bin.
the screen capture of the flash download tool is showed as follow:
Unnamed QQ Screenshot20160706165249.png

When I burn the firmware to flash, the device can connect specific AP and connect to Internet so it can exchange information with iot.epressif.com. I update user1.bin and user2.bin to site mentioned previous and set the Version to v1.0.6t23701(a) in the site while my local application version is v1.0.5t23701(a). so I hope local application can upgrade itself to version v1.0.6t23701(a). unfortunately, the experiment is failed, and the result I got by the ESP8266EX printed to uart is show as follow
Unnamed QQ Screenshot20160706170244.png

Unnamed QQ Screenshot20160706170244.png
Unnamed QQ Screenshot20160706170734.png

Statistics: Posted by lou0908 — Wed Jul 06, 2016 5:03 pm


]]>