Search found 14 matches

by russus
Wed Jan 18, 2017 6:15 pm
Forum: ESP8266 SDK
Topic: Linking Libraries to Flash ICACHE_FLASH_ATTR
Replies: 4
Views: 2799

Re: Linking Libraries to Flash ICACHE_FLASH_ATTR

You can write a different linker script that will force code from specific libraries into the Flash section


Is there any chance this process is explained somewhere? What needs to be modified in linker script in order for the library to go to flash.

Thanks
by russus
Wed Jan 18, 2017 5:56 pm
Forum: ESP8266 SDK
Topic: "section .text will not fit into region iram1_0 seg" ?
Replies: 5
Views: 5028

Re: "section .text will not fit into region iram1_0 seg" ?

Here is my ld file (eagle.app.v6.ld): /* This linker script generated from xt-genldscripts.tpp for LSP . */ /* Linker Script for ld -N */ MEMORY { dport0_0_seg : org = 0x3FF00000, len = 0x10 dram0_0_seg : org = 0x3FFE8000, len = 0x14000 iram1_0_seg : org = 0x40100000, len = 0x8000 irom0_0_seg : org ...
by russus
Thu Jan 12, 2017 7:23 pm
Forum: ESP8266 SDK
Topic: Deep sleep mode initiation
Replies: 1
Views: 1471

Deep sleep mode initiation

After I execute

Code: Select all

system_deep_sleep_instant(DEEP_SLEEP_LONG_TIME);


~2-3 seconds later I observe UART sequence output:

Code: Select all

ets Jan  8 2013,rst cause:5, boot mode:(3,7)
ets_main.c


Is this something expected?
by russus
Wed Jan 11, 2017 8:57 pm
Forum: AT+ Commands
Topic: how to read credentials after successful WPS
Replies: 2
Views: 4882

Re: how to read credentials after successful WPS

Please, check out AT command reference guide. Can also be found on espressif website. I see two ways: 1) after your wps execute this: AT+CWAUTOCONN=0 It wont try to connect after power up 2) after your wps execute this: AT+CWJAP_DEF="","" this removes AP info from memory permanen...
by russus
Wed Jan 11, 2017 8:39 pm
Forum: ESP8266 SDK
Topic: UART logs before and after Deep Sleep
Replies: 1
Views: 1193

UART logs before and after Deep Sleep

Hi All, I have been trying to use Deep Sleep for my project. The idea is simple - esp wakes up,connects to wifi, establishes TCP connection, sends data and goes back to deep sleep. After initial turn on it goes to sleep and after it wakes up this is what I see on UART: ets Jan 8 2013,rst cause:2, bo...
by russus
Tue Nov 29, 2016 2:23 pm
Forum: ESP8266 SDK
Topic: WPS (Wi-Fi Protected Setup) in SDK
Replies: 15
Views: 6822

Re: WPS (Wi-Fi Protected Setup) in SDK

Can you provide the model of your router? And the encryption used(WPA, WPA2, TKIP/AES...).


Asus rt-ac51u Dual Band. Encryption - WPA2(AES)


My next step now is to try triggering WPS from my main microcontroller which is connected to ESP.
by russus
Tue Nov 29, 2016 1:45 am
Forum: ESP8266 SDK
Topic: WPS (Wi-Fi Protected Setup) in SDK
Replies: 15
Views: 6822

Re: WPS (Wi-Fi Protected Setup) in SDK

gjump, I can't express enough how much I appreciate your time and efforts in explaining this. It became crystal clear and finally worked :) !!! I thought of the role of key_init_single(...) in a very wrong way. It seemed to me that it somehow emulates a physical push. Well, I am very new to this stu...
by russus
Mon Nov 28, 2016 10:01 pm
Forum: ESP8266 SDK
Topic: WPS (Wi-Fi Protected Setup) in SDK
Replies: 15
Views: 6822

Re: WPS (Wi-Fi Protected Setup) in SDK

Thanks for giving more information. Maybe you can give a shot using another router I'll definitely try another router when I get a chance. Honestly, I doubt that is the problem. I added some print statements to the related functions. LOCAL void ICACHE_FLASH_ATTR user_wps_status_cb(int status) { os_p...
by russus
Mon Nov 28, 2016 2:28 pm
Forum: ESP8266 SDK
Topic: WPS (Wi-Fi Protected Setup) in SDK
Replies: 15
Views: 6822

Re: WPS (Wi-Fi Protected Setup) in SDK

I am glad to hear it worked for you. I guess, it means that the source code is fine. I understood that the router could be an obstacle. This was the reason behind trying the AT firmware in my case. Since it worked fine, I assumed that the router is not an issue here. Was I correct to make this concl...
by russus
Fri Nov 25, 2016 1:39 pm
Forum: ESP8266 SDK
Topic: WPS (Wi-Fi Protected Setup) in SDK
Replies: 15
Views: 6822

Re: WPS (Wi-Fi Protected Setup) in SDK

when I use AT firmware and apply the AT command "AT+WPS=1" everything works fine (Router's Push button needs to be pushed before sending the command). Maybe somebody knows how to find a source code for this command ???

Go to advanced search