Search found 319 matches

by pratik
Wed Apr 26, 2017 1:47 pm
Forum: ESP8266 HDK
Topic: ESP8266 reset while running code
Replies: 1
Views: 69

Re: ESP8266 reset while running code

This would be a pain to debug. Not sure if microPython is the issue or your code is. If you are using secure connection - there is a fair chance that your memory leakage is causing the reset! Sorry, but no way to help with just this log. The startup log seems just fine. For all you know, this might ...
by pratik
Wed Apr 26, 2017 1:45 pm
Forum: ESP8266 SDK
Topic: FOTA example with custom Server
Replies: 1
Views: 36

Re: FOTA example with custom Server

The FOTA operation can be done using nonOS or RTOS SDK APIs for FOTA. Please consult the SDK API documentation on functions that write the flash. We do not have a generic code for all this because the server architecture might be of any type of form. You can update ESP flash from anything... memory ...
by pratik
Wed Apr 26, 2017 1:42 pm
Forum: General Q&A
Topic: antenna design
Replies: 1
Views: 84

Re: antenna design

You should consult an antenna designer if you are not sure how to design an antenna. But for ESP8266, you may use any ceramic chip antenna that has 50 ohm input impedance. Otherwise you need impedance matching. This info is usually on the antenna datasheet. All that you need to know is that ESP8266 ...
by pratik
Wed Apr 26, 2017 1:40 pm
Forum: ESP8266 SDK
Topic: RTOS and hardware timer
Replies: 1
Views: 48

Re: RTOS and hardware timer

Please consult the RTOS SDK manual for details on timer APIs. It is best to avoid using the timers for application directly via hardware registers because the RTOS tick depends on the timers as well. If you overwrite the timer used for system ticks, things may get messed up. Are you using FRC1 or FR...
by pratik
Wed Apr 26, 2017 1:38 pm
Forum: ESP8266 SDK
Topic: NON-OS SDK: build with -ffunction-sections
Replies: 1
Views: 56

Re: NON-OS SDK: build with -ffunction-sections

Thank you for the suggestion, we will add this in for future releases!
by pratik
Wed Apr 26, 2017 1:36 pm
Forum: General Q&A
Topic: ESP8266
Replies: 1
Views: 58

Re: ESP8266

Breadboarding with the ESP-12 module is not a fun experience. The module needs VERY clean power supply and long ground wires will always cause an issue. Ground loops will cause random resets too. I would recommend getting a nodeMCU or something, so that you can test your programs first and then impl...
by pratik
Wed Apr 26, 2017 1:33 pm
Forum: General Q&A
Topic: let gpio2 be input control button
Replies: 1
Views: 55

Re: let gpio2 be input control button

Do not use long delays on the ESP8266 - otherwise it will produce a WDT reset (watchdog timer reset).
I am not familiar with Arduino interface for ESP8266, but you should try to reload the WDT between every few milliseconds of delay, rather than add a long delay with no WDT reload.
by pratik
Wed Apr 26, 2017 1:31 pm
Forum: AT+ Commands
Topic: How can I reproduce "+CWJAP:4"?
Replies: 1
Views: 19

Re: How can I reproduce "+CWJAP:4"?

The reason 4 is rather broad - it is difficult to tell what caused it. So the best strategy is to tell the user the connection failed, after trying 3-4 times. The cause may not usually be on the ESP end. If there is MAC authentication enabled on the router, and your ESP is not allowed to connect, th...
by pratik
Wed Apr 26, 2017 1:26 pm
Forum: Sample Codes
Topic: Passive Scan on ESP8266(AP Beacon)
Replies: 1
Views: 64

Re: Passive Scan on ESP8266(AP Beacon)

Thanks for posting, this is rather helpful!
by pratik
Wed Apr 26, 2017 1:26 pm
Forum: ESP8266 SDK
Topic: will frc1_count be reset after frc1_load_value is write?
Replies: 1
Views: 16

Re: will frc1_count be reset after frc1_load_value is write?

Yes, you may write to the frc1_load to load a new value into the counter. The frc1_count is a read-only register.

Go to advanced search