espressif / esp8266-alink-v1.0

alink v1.0
32 stars 27 forks source link

配网时,有一定的概率会复位 #2

Open ingjteng opened 6 years ago

ingjteng commented 6 years ago

connected with BB512, channel 11 dhcp client start... [10:01:23.955] ip:192.168.3.72,mask:255.255.255.0,gw:192.168.3.1 [10:01:24.046] D esp_alink_main: [alink_event_send, 49]:send event, event value:5 D esp_alink_main: [alink_event_loop_task, 96]:receive event, event value:5 D aws_platform: [vendor_connect_ap, 323]:waiting network ready <ALINK/DEBUG> [alink_start#79]: ALINK SDK VERSION: A[Alink1.0|56d2476]M[ESP-WROOM-02]OS[1.5.0-dev(d3df67d)] D alink_param: [alink_read_flash_config, 57]:read config <ALINK/DEBUG> [init_global_setting#487]: global_ca_str length: 1351 <ALINK/DEBUG> [create_thread#324]: name:wsf_worker_thread stack_size=2688,handle=3fff6620 <ALINK/DEBUG> [create_thread#324]: name:send_worker stack_size=1920,handle=3fff7488 <ALINK/DEBUG> [create_thread#325]: after create task heap size:33696 <ALINK/DEBUG> [create_thread#325]: after create task heap size:33680 <ALINK/DEBUG> [wsf_main_worker#588]: wsf_main_worker starts... <ALINK/DEBUG> [create_thread#324]: name:alink_main_thread stack_size=3072,handle=3fff2a10 <ALINK/DEBUG> [wsf_establish_connection#439]: wsf connect to alink.tcp.aliyun.com(8521cd8c) 443 <ALINK/DEBUG> [alink_set_keepalive#81]: set keepalive <ALINK/DEBUG> [alink_create_addr#386]: ip: 0x8521cd8c <ALINK/DEBUG> [create_thread#325]: after create task heap size:30720

[10:01:24.222] <ALINK/DEBUG> [ssl_init#117]: ret = 0 [10:01:24.255] Fatal exception (29): epc1=0x4025a976 epc2=0x00000000 epc3=0x4010051e epcvaddr=0x00000014 depc=0x00000000 rtn_add=0x4025bb8d

这是使用demo调试的,只是改了进入配网的按钮,其他代码都没有改动。 已经有产品在使用了,影响比较大,以前测试没有发现这个问题的,而且复位的概率还是比较高的。

shootao commented 6 years ago

你这个可以根据ecp1和ecp3的地址,找到你编译的.S文件crash的位置

hechaoxi commented 6 years ago

@xutao1015 crash的位置是lwip的底层源码