Search found 32 matches

by rith87
Fri Mar 17, 2017 10:22 pm
Forum: ESP8266 SDK
Topic: Wifi connection messages from ESP
Replies: 1
Views: 1997

Wifi connection messages from ESP

Hello, I'm trying to debug an intermittent failure in connecting to a wifi AP. If it succeeds, I would receive: scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 2 cnt connected with SSID, channel 1 If it fails, I would receive: scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) ...
by rith87
Thu Feb 23, 2017 6:28 pm
Forum: ESP8266 SDK
Topic: espconn reconnect callback
Replies: 3
Views: 3335

Re: espconn reconnect callback

I managed to repro this issue with the following code: #define HTTP_HEADER "Connection: keep-alive\r\n\ Cache-Control: no-cache\r\n\ User-Agent: rBoot-Sample/1.0\r\n\ Accept: */*\r\n\r\n" void ICACHE_FLASH_ATTR user_tcp_recv_cb(void *arg, char *pusrdata, unsigned short length) { os_printf(...
by rith87
Tue Feb 21, 2017 6:25 pm
Forum: ESP8266 SDK
Topic: espconn reconnect callback
Replies: 3
Views: 3335

espconn reconnect callback

I'm using the ESP to download a 500 kB file. If my download speed is fast and I download the file in < 17s, everything is good. However, if the ESP download speed is slow, the reconnect callback is called and reports that the connection has been reset. Is there any way to understand why the connecti...
by rith87
Sat Nov 19, 2016 5:51 pm
Forum: ESP8266 SDK
Topic: ESP hangs after reboot
Replies: 6
Views: 8971

Re: ESP hangs after reboot

Or you have a power supply or power-on-reset issue.

Yup, that is my suspicion. And the long term fix would be to add some fat decoupling caps...
by rith87
Thu Nov 17, 2016 5:24 pm
Forum: ESP8266 SDK
Topic: Fatal exception 9
Replies: 4
Views: 11353

Re: Fatal exception 9

You might want to get a bit more information about the crash: Fatal exception 9(LoadStoreAlignmentCause): epc1=0x40100c79, epc2=0x00000000, epc3=0x00000000, excvaddr=0x31313036, de pc=0x00000000 From https://github.com/SuperHouse/esp-open-rtos/wiki/Crash-Dumps , exception 9 is Attempt to read/write ...
by rith87
Thu Nov 17, 2016 5:16 pm
Forum: ESP8266 SDK
Topic: Functions called from ISRs
Replies: 1
Views: 5397

Functions called from ISRs

I'm hitting some crashes when I write to SPI, so I suspect that I'm calling some FLASH-based functions in an ISR. Is there some list of functions that are called by ISRs? ISR functions: - HW timer callbacks - GPIO ISR callbacks (using ETS_GPIO_INTR_ATTACH()) - UART ISR callbacks (using ETS_UART_INTR...
by rith87
Thu Nov 17, 2016 5:15 pm
Forum: ESP8266 SDK
Topic: ESP hangs after reboot
Replies: 6
Views: 8971

Re: ESP hangs after reboot

Hmm.. That's unlikely since the ESP boots up fine upon a hard reset. For folks who have the same problem, I'm working around this issue by doing a hard reset from an external microcontroller.
by rith87
Fri Nov 11, 2016 2:23 pm
Forum: ESP8266 SDK
Topic: ESP hangs after reboot
Replies: 6
Views: 8971

ESP hangs after reboot

I'm hitting this issue:

Code: Select all

 ets Jan  8 2013,rst cause:4, boot mode:(3,0)

wdt reset


Does this mean that boot up failed and resulted in a wdt reset? Why doesn't the ESP retry after hitting the WDT reset?
by rith87
Thu Nov 03, 2016 11:13 am
Forum: ESP8266 SDK
Topic: Start wifi network after force sleep
Replies: 0
Views: 4285

Start wifi network after force sleep

I'm having difficulty trying to start a wifi network after a force sleep. Specifically, I'm trying the following sequence of events: 1. Sleep wifi wifi_set_opmode(NULL_MODE); wifi_fpm_set_sleep_type(MODEM_SLEEP_T); wifi_fpm_open(); wifi_fpm_do_sleep(FPM_SLEEP_MAX_TIME); 2. Wake up wifi wifi_fpm_do_w...
by rith87
Mon Aug 29, 2016 11:02 am
Forum: ESP8266 SDK
Topic: Anyway to speed up the boot up time
Replies: 13
Views: 11895

Re: Anyway to speed up the boot up time

Based on this repo at https://github.com/pvvx/SDKnoWiFi , it does not seem like a hardware limitation. But this post at http://www.esp8266.com/viewtopic.php?f=6&t=9653&hilit=deep+sleep+wake+up+time shows that deep sleep wake up times using the deep sleep API is >200 ms. So, I guess there's n...

Go to advanced search