Search found 321 matches

by pratik
Sun Apr 30, 2017 1:17 pm
Forum: ESP8266 SDK
Topic: will frc1_count be reset after frc1_load_value is write?
Replies: 3
Views: 46

Re: will frc1_count be reset after frc1_load_value is write?

Yes, that should be it. But the time for executing the function will also matter, so use an IRAM_ATTR function to get best results (as they are usually called faster than an ICACHE function).
by pratik
Sun Apr 30, 2017 1:15 pm
Forum: General Q&A
Topic: antenna design
Replies: 3
Views: 122

Re: antenna design

Well, chip antennas have been used in numerous designs. There is no way of stating a figure of comparison, it all depends on your ground plane, and antenna clearance. Even on your power supply and EMI factors. Chip antennas are typically more sensitive to this stuff than PCB antennas. Off the cuff, ...
by pratik
Wed Apr 26, 2017 1:47 pm
Forum: ESP8266 HDK
Topic: ESP8266 reset while running code
Replies: 1
Views: 94

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: 48

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: 3
Views: 122

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: 57

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: 70

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: 87

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: 83

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: 2
Views: 59

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...

Go to advanced search