These are chat archives for esp8266/Arduino
Still working on my OTA pull ...
The actual updating is working. I'm having problem with blocking part of the code for getting the status of the update process on my html client.
Tried moving code to loop using firmware upgrade states
Building file: .../Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/time.c Starting C compile In file included from /Users/waldemar/Documents/Arduino/hardware/esp8266com/esp8266/tools/sdk/include/os_type.h:10:0, from /Users/waldemar/Documents/Arduino/hardware/esp8266com/esp8266/tools/sdk/include/sntp.h:4, from /Users/waldemar/Documents/Arduino/hardware/esp8266com/esp8266/cores/esp8266/time.c:20: .../Documents/Arduino/hardware/esp8266com/esp8266/tools/sdk/include/ets_sys.h:148:20: error: unknown type name 'size_t' void *pvPortMalloc(size_t xWantedSize) __attribute__((malloc, alloc_size(1)));
how i can fix this error. i worked yesterday with eclipse and everything working perfect. after a os x crash and restart i have this error.
espcomm_send_command: wrong direction/command: 0x01 0x04, expected 0x01 0x03 warning: espcomm_send_command(FLASH_DOWNLOAD_DATA) failed serialport_receive_C0: 6C instead of C0 warning: espcomm_send_command: didn't receive command response closing boot loader
I have a case where I have two ESPs connected to each other (one is AP the other STA to it)
And every time the AP is lost and then reconnected, the board wdt resets trying to get IP
no esp8266-uart-srv found, reconnect after 1s reconnect f 0, scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 pm open phy_2,type:2 0 0 connected with esp8266-uart-srv, channel 11 dhcp client start... ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset load 0x4010f000, len 1264, room 16 tail 0 chksum 0x42 csum 0x42 ~ld scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 pm open phy_2,type:2 0 0 connected with esp8266-uart-srv, channel 11 dhcp client start... cnt chg_B:-60 ip:192.168.4.2,mask:255.255.255.0,gw:192.168.4.1 chg_B:-120
Is this a known problem?