Search found 39 matches

by dhananjay.sutariya
Tue Jun 04, 2019 10:15 am
Forum: ESP32 IDF
Topic: Makefile Modification to upload application using openocd command.
Replies: 0
Views: 90

Makefile Modification to upload application using openocd command.

Hi all, I want to make a provision in my project.mk file such that when i enter a command For ex: make jnfw_flash . In the background my openocd utility runs which is : bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg -c "program_esp32 filename.bi...
by dhananjay.sutariya
Tue Jun 04, 2019 9:05 am
Forum: General Discussion
Topic: Makefile Modification to upload application using openocd command.
Replies: 0
Views: 92

Makefile Modification to upload application using openocd command.

Hi all, I want to make a provision in my project.mk file such that when i enter a command For ex: make jnfw_flash . In the background my openocd utility runs which is : bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg -c "program_esp32 filename.bi...
by dhananjay.sutariya
Fri May 24, 2019 5:36 am
Forum: ESP32 IDF
Topic: ESP32 JTAG debugging is not functioning properly, OpenOCD is giving these error.
Replies: 7
Views: 434

Re: ESP32 JTAG debugging is not functioning properly, OpenOCD is giving these error.

In particular, show down your adapter. " adapter speed: 20000 kHz" means it's running at 20MHz now. Hi ESP_sprite, My device's hardware confiuration have been met . Thanks, yet i'm having some issue here: xtensa-esp32-elf-gdb -x gdbinit build/blink.elf GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g...
by dhananjay.sutariya
Wed May 22, 2019 1:01 pm
Forum: ESP32 IDF
Topic: ESP32 JTAG debugging is not functioning properly, OpenOCD is giving these error.
Replies: 7
Views: 434

Re: ESP32 JTAG debugging is not functioning properly, OpenOCD is giving these error.

Then I suggest you check your hardware, as the OpenOCD output suggests :) Hi ESP_Sprite, I have managed to check with my hardware pins allthough i'm getting these errors after that: bin/openocd -s share/openocd/scripts -f interface/ftdi/esp32_devkitj_v1.cfg -f board/esp-wroom-32.cfg Open On-Chip De...
by dhananjay.sutariya
Tue May 21, 2019 12:06 pm
Forum: ESP32 IDF
Topic: Internal RTC Drifting -8 Minutes in 15 Hours.
Replies: 5
Views: 286

Re: Internal RTC Drifting -8 Minutes in 15 Hours.

Note that without an external 32KHz crystal, you're still going to have a fair amount of drift; it's quite inevitable as on-chip oscillators never will get the precision an external crystal can have. Hi ESP_SPRITE, Can i connect this external pin to any other pin or is it mandatory to connect it to...
by dhananjay.sutariya
Tue May 21, 2019 8:10 am
Forum: ESP32 IDF
Topic: Internal RTC Drifting -8 Minutes in 15 Hours.
Replies: 5
Views: 286

Re: Internal RTC Drifting -8 Minutes in 15 Hours.

Hi, You can try to change in menuconfig the "RTC clock source" to from "Internal 150kHz oscillator" to "Internal 8.5MHz oscillator divided by 256". The accuracy should improve. The online help in menuconfig provides more information: - "Internal 8.5MHz oscillator divided by 256" option results in h...
by dhananjay.sutariya
Tue May 21, 2019 6:53 am
Forum: ESP32 IDF
Topic: Internal RTC Drifting -8 Minutes in 15 Hours.
Replies: 5
Views: 286

Internal RTC Drifting -8 Minutes in 15 Hours.

Hi all, I'm using this below mentioned code : int rtc_set_time(rtc_time_date_t ip) { time_t now; struct tm t; struct timeval val = {0,0}; if(ip.year<=2019&& ip.year>1970) t.tm_year=ip.year-1900; else return 0; if(ip.min<60 && ip.min>=0) t.tm_min=ip.min; else return 0; if(ip.mon>0 && ip.mon<13) t.tm_...
by dhananjay.sutariya
Tue May 21, 2019 6:20 am
Forum: ESP32 IDF
Topic: ESP32 JTAG debugging is not functioning properly, OpenOCD is giving these error.
Replies: 7
Views: 434

Re: ESP32 JTAG debugging is not functioning properly, OpenOCD is giving these error.

Error: JTAG scan chain interrogation failed: all zeroes Error: Check JTAG interface, timings, target power, etc. Check your hardware, there's probably something wrong there. Also, make sure that whatever code is running on your ESP32 doesn't reconfigure the JTAG pins for other use. Hi ESP_Sprite, T...
by dhananjay.sutariya
Mon May 20, 2019 12:15 pm
Forum: ESP32 IDF
Topic: ESP32 JTAG debugging is not functioning properly, OpenOCD is giving these error.
Replies: 7
Views: 434

ESP32 JTAG debugging is not functioning properly, OpenOCD is giving these error.

Hi all, I'm trying to debug my ESP32 through JTAG interface .My debug module which is used is FT2232HL. After following all the steps that are mentioned thoroughly on this link: https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/jtag-debugging/index.html#jtag-debugging-building-openocd...
by dhananjay.sutariya
Fri May 17, 2019 7:48 am
Forum: General Discussion
Topic: How to get the tickrate of RTC ?
Replies: 5
Views: 335

Re: How to get the tickrate of RTC ?

Hi Wifive,
How about normal Mode .
How does RTC work in Normal mode.
And as i 'm setting my time with mktime i'm realising that my rtc time starts getting deviated after a while.

Thanks,
Dhananjay Sutariya

Go to advanced search