Search found 25 matches

by wjzhang
Tue Dec 08, 2015 12:19 pm
Forum: ESP8266 SDK
Topic: UART cause esp8266 reboot
Replies: 4
Views: 5297

Re: UART cause esp8266 reboot

hi, it seem the failed to clear interrupt by WRITE_PERI_REG(UART_INT_CLR(UART0), UART_RXFIFO_FULL_INT_CLR) / WRITE_PERI_REG(UART_INT_CLR(UART0), UART_RXFIFO_TOUT_INT_CLR) when FIFO still has data. the UART always rise interrupt and cause esp8266 reboot. but why the reset cause show 2 ? void uart0_di...
by wjzhang
Tue Dec 08, 2015 9:52 am
Forum: ESP8266 SDK
Topic: UART cause esp8266 reboot
Replies: 4
Views: 5297

Re: UART cause esp8266 reboot

Sorry, forget another question, if system_os_post() send more than task event queue max size, what's happened?
for example, our UART task has max 64 events, but UART ISR may has more 64 interrupts when UART task process first event.
by wjzhang
Tue Dec 08, 2015 8:27 am
Forum: ESP8266 SDK
Topic: UART cause esp8266 reboot
Replies: 4
Views: 5297

Re: UART cause esp8266 reboot

Hi,
if the FIFO still has data, could WRITE_PERI_REG(UART_INT_CLR(UART0), UART_RXFIFO_FULL_INT_CLR) and WRITE_PERI_REG(UART_INT_CLR(UART0), UART_RXFIFO_TOUT_INT_CLR) clear the interrupt? also include the Overrun interrupt?
by wjzhang
Mon Dec 07, 2015 3:49 pm
Forum: ESP8266 SDK
Topic: UART cause esp8266 reboot
Replies: 4
Views: 5297

UART cause esp8266 reboot

Hi, when i try send esp8266 uart as much as possible datas, it caused the reboot. :( it show " ets Jan 8 2013,rst cause:2, boot mode:(6,6) \r\n waiting for host" (foget the boot mode first 6) the UART is set enable RTS/CTS. and the RTS also rise and fall. the test client stop send data whe...
by wjzhang
Mon Dec 07, 2015 8:46 am
Forum: Report Bugs
Topic: the keep alive seem failed.
Replies: 9
Views: 11124

Re: the keep alive seem failed.

Hi Faye:
sorry, i don't known "liblwip_nonOS_SDK_v1.5.0.zip", but i use No OS SDK. it's esp_iot_sdk_v1.5.0_15_11_27.zip and esp_iot_sdk_v1.4.1_pre2_15_10_22.zip.
by wjzhang
Fri Dec 04, 2015 3:35 pm
Forum: Report Bugs
Topic: the keep alive seem failed.
Replies: 9
Views: 11124

Re: the keep alive seem failed.

Hi Faye:
what's the time unit of espconn_regist_time()? 1 second?
in my test result, it show the unit is about 2 second. :o
both in SDK 1.4.1 and 1.5.0
by wjzhang
Mon Nov 30, 2015 4:20 pm
Forum: Report Bugs
Topic: the keep alive seem failed.
Replies: 9
Views: 11124

Re: the keep alive seem failed.

Hi Faye: Sorry for confuse, it's 2 split issues. 1) if it not call espconn_regist_time(), it should keep TCP alive about 2 hours, why now became 20 seconds? and why the timeout is 383s after i call espconn_regist_time(&tcpconnect, 180, 0), do you think it deviation too large? 2) do the espconn_s...
by wjzhang
Mon Nov 30, 2015 8:19 am
Forum: Report Bugs
Topic: the keep alive seem failed.
Replies: 9
Views: 11124

Re: the keep alive seem failed.

the esp8266 broken the TCP connection when the TCP connetcion idle about 20s. the TCP FIN start from ESP8266.
i want keep TCP alive about 30 minutes when TCP no data send or receive.
by wjzhang
Thu Nov 26, 2015 6:22 pm
Forum: Report Bugs
Topic: the keep alive seem failed.
Replies: 9
Views: 11124

the keep alive seem failed.

I meet a problem. i want ESP8266 keep alive about 30mins. but always get 20s to disconnect. SDK: 1.41 NO OS :( here code for set alive . void ICACHE_FLASH_ATTR esp_gateway_tcp_connected(void *arg) { uint32_t keeplive; ESP_DBG("connected\r\n"); pclientConnect = (struct espconn *)arg; //set ...
by wjzhang
Mon Oct 26, 2015 6:04 pm
Forum: ESP8266 SDK
Topic: uart_div_modify failed!
Replies: 4
Views: 5459

Re: uart_div_modify failed!

Hi costaud:
Thanks for your information. unfortunately i did not get reference code from Espressif. i reference the richard RBOOT project.
write the source code , Makefile, tool generate the headfile...
{http://richard.burtons.org/}


Best regards!
ZhangWenjin

Go to advanced search