Search found 467 matches

by pratik
Fri Sep 15, 2017 2:38 pm
Forum: ESP8266 SDK
Topic: libcoap porting to esp8266
Replies: 1
Views: 1497

Re: libcoap porting to esp8266

I'm sure you could port the library. You can have memory allocation routines using os_mem functions. BSD style sockets are also available on RTOS SDK. However, you can also get it on nonOS SDK. No, you cannot use ESP-IDF on ESP8266, the cores are not the same. The peripherals are very similar. Howev...
by pratik
Tue Sep 12, 2017 3:57 pm
Forum: ESP8266 SDK
Topic: Documented pwm_init parameters , unclear period
Replies: 2
Views: 1848

Re: Documented pwm_init parameters , unclear period

That is because the period unit is micro-sec. :)
That's why if you set it to 1000, you get 1ms -> 1kHz
by pratik
Fri Sep 08, 2017 1:31 pm
Forum: ESP8266 HDK
Topic: Custom board. Can't flash.
Replies: 8
Views: 5505

Re: Custom board. Can't flash.

Yes, 40MHz out should mean that there is a high likelihood that the ESP8266 is fine. Are you sure you soldered the chip correctly? Also, I cannot help without taking a look at the boot log. When you put ESP into programming mode, it will output something on UART at 74880 bauds. I will need to see th...
by pratik
Thu Sep 07, 2017 2:38 pm
Forum: AT+ Commands
Topic: How To Connect to a Public IP
Replies: 4
Views: 1985

Re: How To Connect to a Public IP

Ohh, probably a firmware issue with some old version. Glad it worked!
by pratik
Wed Sep 06, 2017 10:08 pm
Forum: ESP8266 SDK
Topic: I2C Communication Fails with DS3231 RTC Module
Replies: 15
Views: 7511

Re: I2C Communication Fails with DS3231 RTC Module

Put large loops in iRAM and use 80MHz QIO flash with 160 MHz core speed. That is the best you can do.
Also, you can test your LwIP skills on ESP-IDF. I'm frustrated with crashes. Proper LwIP documentation is non-existent. That could be a good personal task, making that documentation.
by pratik
Wed Sep 06, 2017 10:04 pm
Forum: AT+ Commands
Topic: Hardware flow control UART
Replies: 6
Views: 4429

Re: Hardware flow control UART

You can only use RTS and CTS, but that is typically enough for most applications where you want to control data flow in case your host is slow to process data.
I'd suggest allowing the UART flow from ESP->host always when the host can process data.
by pratik
Wed Sep 06, 2017 9:59 pm
Forum: AT+ Commands
Topic: How To Connect to a Public IP
Replies: 4
Views: 1985

Re: How To Connect to a Public IP

You should directly try the website name instead of the IP address. If you use IP address, then the connection will be made with a device within the subnet (local addresses by default). So instead of connecting to, for example, 192.168.1.104 @port: 80 You can try http://www.yourcloudserver.com @whic...
by pratik
Tue Sep 05, 2017 8:47 pm
Forum: ESP8266 SDK
Topic: Light sleep and timers
Replies: 6
Views: 4045

Re: Light sleep and timers

The nature of light sleep prevents such functionality, because it makes the core sleep and wireless activity must stop. You will need an external trigger to wake it up then.
by pratik
Tue Sep 05, 2017 8:44 pm
Forum: ESP8266 SDK
Topic: I2C Communication Fails with DS3231 RTC Module
Replies: 15
Views: 7511

Re: I2C Communication Fails with DS3231 RTC Module

The LwIP sources are here: https://github.com/espressif/ESP8266_NONOS_SDK/tree/master/third_party Also, the espconn APIs are just an interface over LwIP that simplify things. Using LwIP raw APIs can be a pain when low level code is closed source. That is no longer the case with ESP32 and that is why...
by pratik
Tue Sep 05, 2017 8:37 pm
Forum: ESP8266 SDK
Topic: Flash fails on ESP8266-01 based on SDK2.0
Replies: 5
Views: 1880

Re: Flash fails on ESP8266-01 based on SDK2.0

Your program needs to set the proper calibration sector for this. The best way to deal with this issue is to follow the getting started guide and flash all files accordingly. Also, you have to make sure that the program sets the flash sector to store calibration data correctly. The function is rf_ca...

Go to advanced search