Search found 28 matches

by jackon
Thu May 28, 2015 1:54 pm
Forum: ESP8266 SDK
Topic: 你好,我遇到这种SDK错误该怎样解决呢?
Replies: 4
Views: 5013

Re: 你好,我遇到这种SDK错误该怎样解决呢?

.text段大小为0x8000。
一个函数默认情况下是放在.text段,加上ICACHE_FLASH_ATTR,就可以放到.irom0.text段。
请给和中断处理函数无关的函数加上ICACHE_FLASH_ATTR。
by jackon
Mon Apr 20, 2015 6:05 pm
Forum: ESP8266 SDK
Topic: 8266在和路由器失联后,如何通过SDK CALLBACK获取?
Replies: 6
Views: 4743

Re: 8266在和路由器失联后,如何通过SDK CALLBACK获取?

any other event received? connect/disconnect. do your tcp client reconnect to your server after fail? or only connect once when you power up. it seems that your ap kicks out esp8266, but i'm not sure now. if station does not transfer any data to ap, ap will kick out this station, the time depend on ...
by jackon
Fri Apr 17, 2015 10:09 am
Forum: ESP8266 SDK
Topic: 8266在和路由器失联后,如何通过SDK CALLBACK获取?
Replies: 6
Views: 4743

Re: 8266在和路由器失联后,如何通过SDK CALLBACK获取?

hi, grantgao
i add the function you required last night, now you can register a callback in user_init, and handle connect/disconnect/got_ip event in your callback function.
please follow readme.txt in the attached zip file, test this new function and give me feedback asap.
thx
by jackon
Mon Apr 13, 2015 10:00 am
Forum: ESP8266 SDK
Topic: system_rtc_mem_read issue
Replies: 6
Views: 4603

Re: system_rtc_mem_read issue

hi, eyal please use the newest version SDK to test again, version >= 1.0.0. here is my test code: uint8 rd[32]; uint32 wr[2] = { 0x12345678, 0x87654321 }; system_rtc_mem_write(64, wr, 8); system_rtc_mem_read(64, rd, 4); os_printf("64 %x\n", *(uint32 *)rd); system_rtc_mem_read(65, rd, 4); o...
by jackon
Tue Jan 27, 2015 4:10 pm
Forum: Report Bugs
Topic: SDK 0.9.4: promiscuous mode capture packets
Replies: 11
Views: 8834

Re: SDK 0.9.4: promiscuous mode capture packets

unfortunately half solved :( if length of (SSID + TOKEN + PASS) <=22 everything is OK but for length >22 chars, result PASSWORD contain chars from outside struct item sniffer_buf->buf (network_80211.h) because buf item from this struct can accommodate only 48 elements look at 2 examples (printable ...
by jackon
Tue Jan 27, 2015 3:58 pm
Forum: ESP8266 SDK
Topic: Wifi API and thread safety
Replies: 1
Views: 1635

Re: Wifi API and thread safety

You can call those APIs in other thread.
by jackon
Tue Jan 27, 2015 3:57 pm
Forum: ESP8266 SDK
Topic: Timer interrupt during spi_flash causes crash
Replies: 4
Views: 2757

Re: Timer interrupt during spi_flash causes crash

hi joostn,
spi_flash_xxxx apis will firstly disable cache, then enable cache.
so if your isr codes use ICACHE_FLASH_ATTR, it will crash, because cache is disabled when interrupt occur.
Pls don't use ICACHE_FLASH_ATTR in any functions isr calls and isr self.
by jackon
Fri Jan 09, 2015 3:32 pm
Forum: ESP8266 SDK
Topic: 【BETA】esp_iot_sdk_v0.9.5_b1 released !
Replies: 9
Views: 10805

Re: 【BETA】esp_iot_sdk_v0.9.5_b1 released !

The version on github is a RTOS version, you can use lwip's socket APIs.
by jackon
Fri Jan 09, 2015 3:29 pm
Forum: ESP8266 SDK
Topic: Changing GPIO inside task with GPIO interrupts bug?
Replies: 9
Views: 6469

Re: Changing GPIO inside task with GPIO interrupts bug?

hi, have a try. // GPIO interrupt handler:store local data and start task static void ICACHE_FLASH_ATTR iw_GPIO_handler(int8_t key){ uint32_t gpio_status = GPIO_REG_READ(GPIO_STATUS_ADDRESS); uint32_t rtc_now = system_get_rtc_time(); if (gpio_status & BIT(13)) { GPIOState * _gpioState = (GPIOSta...

Go to advanced search