Search found 42 matches

by Stational
Sat Nov 26, 2016 4:09 am
Forum: ESP8266 SDK
Topic: Please explain espflashtool to me!
Replies: 1
Views: 2276

Please explain espflashtool to me!

Hi, i tried to flash my code via the espflashtool, this is how i configured it (i use an ESP-12F): eagle.flash.bin @ 0x00000 eagle.irom0text.bin@0x40000 leads to this message at startup: ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x40100000, len 27904, room 16 tail 0 chksum 0x69 load 0x3ffe800...
by Stational
Fri Nov 25, 2016 4:56 pm
Forum: ESP8266 SDK
Topic: SDK 2.0 leads to fatal exceptions
Replies: 1
Views: 2309

SDK 2.0 leads to fatal exceptions

i Upgraded to SDK 2.0, i added the New required function to my user_init file. The code still compiles and uploads fine but after Boot the esp8266 just prints fatal exceptions to the console. With SDK 1.5.4 everything works fine.
by Stational
Fri Nov 25, 2016 4:55 pm
Forum: ESP8266 SDK
Topic: SDK 2.0 leads to fatal exceptions
Replies: 1
Views: 2610

SDK 2.0 leads to fatal exceptions

i Upgraded to SDK 2.0, i added the New required function to my user_init file. The code still compiles and uploads fine but after Boot the esp8266 just prints fatal exceptions to the console. With SDK 1.5.4 everything works fine.
by Stational
Fri Nov 25, 2016 3:32 pm
Forum: ESP8266 SDK
Topic: ESP8266 Reset because of gpio pin toggle?
Replies: 4
Views: 3571

Re: ESP8266 Reset because of gpio pin toggle?

Thanks for your reply, i don't know how this reset is called, it just stops working after ~4s and then i get this message on my serial monitor (74480 Baud): SDK ver: 1.5.4(baaeaebb) compiled @ May 17 2016 19:23:54 phy ver: 972, pp ver: 10.1 mode : sta(5c:cf:7f:1c:0a:10) ¢@*r…Ä(±±Kít¥dmXK nzAl ±#Nørf...
by Stational
Fri Nov 25, 2016 5:35 am
Forum: ESP8266 SDK
Topic: ESP8266 Reset because of gpio pin toggle?
Replies: 4
Views: 3571

ESP8266 Reset because of gpio pin toggle?

Hi, my esp8266 resets (probably) because i toggle some pins quite fast with this function: void pinHigh(uint32_t PIN){ gpio_output_set(0,0,0,PIN); } void pinLow(uint32_t PIN){ gpio_output_set(0,PIN,PIN,0); } void sendByte(uint8_t dataByte){ uint8_t initBitCounter; for(initBitCounter = 7; initBitCoun...
by Stational
Mon Nov 21, 2016 5:43 am
Forum: ESP8266 SDK
Topic: How to send a http request every 5 seconds?
Replies: 1
Views: 4978

How to send a http request every 5 seconds?

I am wondering how i send a http request every 5 seconds (or so)? My current approach to send a http request: LOCAL void ICACHE_FLASH_ATTR tcp_connect_cb(void *arg){ os_printf("Connected to TCP Server.\n"); struct espconn *conn = (struct espconn*)arg; char requestText[SIZE]; os_sprintf(req...
by Stational
Sun Nov 20, 2016 5:51 am
Forum: ESP8266 SDK
Topic: ESP8266 connects to wifi even though it is not part of the code
Replies: 1
Views: 4138

ESP8266 connects to wifi even though it is not part of the code

Hi,

i worked on a project before in which i used the wifi functionality but now i want to focus more on peripherals. I noticed, that the esp8266 still tries to connect to my local wifi even though it is not part of my code anymore! How can i stop that?
by Stational
Sun Nov 20, 2016 5:49 am
Forum: ESP8266 SDK
Topic: How to toggle GPIO Pin?
Replies: 1
Views: 9997

How to toggle GPIO Pin?

Hi, i am wondering why my code doesn't work: #include <osapi.h> #include <ets_sys.h> #include <gpio.h> #include "user_interface.h" #include "eagle_soc.h" os_timer_t timer; void toggleGPIO(void){ if (GPIO_REG_READ(GPIO_OUT_ADDRESS) & BIT10) { gpio_output_set(0, BIT10, BIT10, 0...
by Stational
Wed Sep 14, 2016 10:59 pm
Forum: ESP8266 SDK
Topic: When and how to use espconn_set_keepalive?
Replies: 2
Views: 3285

Re: When and how to use espconn_set_keepalive?

Thanks for your answer. Could you explain why i have to use all three of those keepalive functions? It also doesn't help to check every 30s if the connection is still established because the discon_cb is almost instantaneously called after espconn_send , maybe there are a couple of ms between sendin...
by Stational
Tue Sep 13, 2016 11:02 pm
Forum: ESP8266 SDK
Topic: When and how to use espconn_set_keepalive?
Replies: 2
Views: 3285

When and how to use espconn_set_keepalive?

Hi, i would like to establish a tcp connection which doesn't get closed after the first data send, i read about the espconn_set_keepalive function which sends heartbeats to the server so it doesn't disconnect (if i understood correctly). But i don't know when i should call the function? In the conne...

Go to advanced search