Search found 20 matches

by jinhucn
Wed Apr 26, 2017 8:59 am
Forum: ESP8266 SDK
Topic: sdk:ESP8266 NONOS SDK V1.5.4___支不支持 upgrade API???
Replies: 4
Views: 6444

Re: sdk:ESP8266 NONOS SDK V1.5.4___支不支持 upgrade API???

在makefile里面加-lupgrade
by jinhucn
Tue Apr 25, 2017 1:10 pm
Forum: ESP8266 SDK
Topic: 如何自己在主定时器中喂狗?
Replies: 1
Views: 3961

Re: 如何自己在主定时器中喂狗?

不停输出 Fatal exception (0): epc1=0x401000b8, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000 Fatal exception (0): epc1=0x401000b8, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000 Fatal exception (0): epc1=0x401000b8, epc2=0x00000000, epc3=0x00000000, excva...
by jinhucn
Tue Apr 18, 2017 9:09 am
Forum: ESP8266 SDK
Topic: 如何自己在主定时器中喂狗?
Replies: 1
Views: 3961

如何自己在主定时器中喂狗?

请问软件看门狗和硬件看门狗的运行模式是怎么样的?我想在程序主定时器中自己喂狗能否实现?
我在软件运行过程中发现有的时候芯片会死掉,并不停输出fatal exception,然而看门狗并没有重启芯片。
by jinhucn
Sat Apr 01, 2017 9:07 am
Forum: Report Bugs
Topic: 怪异的CRC校验码
Replies: 0
Views: 2984

怪异的CRC校验码

$SDK\tool\gen_appbin.py中计算了flash_bin_name的crc校验码然后附加到文件末尾。 其中算法如下: all_bin_crc = getFileCRC(flash_bin_name) print all_bin_crc if all_bin_crc < 0: all_bin_crc = abs(all_bin_crc) - 1 else : all_bin_crc = abs(all_bin_crc) + 1 print all_bin_crc write_file(flash_bin_name,chr((all_bin_crc & 0x000000FF...
by jinhucn
Tue Feb 21, 2017 11:26 am
Forum: Report Bugs
Topic: ESP Flash Download Tool 2.4错误覆盖相邻的扇区
Replies: 1
Views: 3562

ESP Flash Download Tool 2.4错误覆盖相邻的扇区

例如:esp_init_data_default.bin位于地址0x7C000,如果用ESP Flash Download Tool往地址0x7B000写入任何数据(即使是1 BYTE的数据),都会导致0x7C000的数据被覆盖。
by jinhucn
Mon Aug 22, 2016 10:09 am
Forum: ESP8266 SDK
Topic: SSL/TLS Help
Replies: 2
Views: 3693

Re: SSL/TLS Help

You should use the ca.cer (root certificate) but not the server.cer (server certificate), then run make_cacert.py and burn it to flash.
by jinhucn
Sat May 21, 2016 3:13 pm
Forum: ESP8266 SDK
Topic: NONOS_SDK_1.5.4有问题
Replies: 1
Views: 5672

NONOS_SDK_1.5.4有问题

几个在sdk1.5.0-1.5.3下稳定运行的程序,用sdk1.5.4编译后,均出现Fatal exception 28(LoadProhibitedCause),然后重启。
by jinhucn
Fri Apr 29, 2016 2:46 pm
Forum: ESP8266 SDK
Topic: 不支持tls1.2
Replies: 1
Views: 3028

不支持tls1.2

用esp8266连接mosquitto服务器,如果配置里设置tls1.2就无法连接,最多只能tls1.1。
aws采用的是tls1.2,什么时候能解决这个问题?
by jinhucn
Tue Mar 22, 2016 12:02 pm
Forum: ESP8266 SDK
Topic: 如何生成esp_cert_private_key.bin?
Replies: 4
Views: 5111

Re: 如何生成esp_cert_private_key.bin?

你好,我是从下载的sdk中的tools目录中找到的make_cert.py文件,iot 1.5.0、1.5.1、1.5.2以及rtos中的make_cert.py均为上述文件。
by jinhucn
Tue Mar 22, 2016 8:12 am
Forum: ESP8266 SDK
Topic: 如何生成esp_cert_private_key.bin?
Replies: 4
Views: 5111

Re: 如何生成esp_cert_private_key.bin?

make_cert.py文件代码如下,请问哪部分是生成esp_cert_private_key.bin的代码? #!/usr/bin/python import os class Cert(object): def __init__(self, name, buff): self.name = name self.len = len(buff) self.buff = buff pass def __str__(self): out_str = ['\0']*32 for i in range(len(self.name)): out_str[i] = self.name[i] out_str...

Go to advanced search