Search found 73 matches

by Scott.Bonomi
Fri Nov 06, 2020 7:31 pm
Forum: Hardware
Topic: ESP32-D2WD Based Custom board JTAG Flash issue.
Replies: 11
Views: 7899

Re: ESP32-D2WD Based Custom board JTAG Flash issue.

Other Forums have reported errors trying to run JTAG with the WROOM that are fixed by getting the more current version. Unless someone has made a tool change, it is a pain since after removing the installed version and installing the more current release from https://github.com/espressif/openocd-esp...
by Scott.Bonomi
Wed Nov 04, 2020 8:33 pm
Forum: Hardware
Topic: ESP32-D2WD Based Custom board JTAG Flash issue.
Replies: 11
Views: 7899

Re: ESP32-D2WD Based Custom board JTAG Flash issue.

Your openOCD is bit behind, you seem to be using November 2019 C:\Users\eralp\.espressif\tools\openocd-esp32\v0.10.0-esp32-20191114\openocd-esp32\share\openocd and I was not successful until I upgraded to July 2020 C:\Users\sbonomi\.espressif\tools\openocd-esp32\v0.10.0-esp32-20200709\openocd-esp32\...
by Scott.Bonomi
Tue Nov 03, 2020 7:04 pm
Forum: Hardware
Topic: ESP32-D2WD Based Custom board JTAG Flash issue.
Replies: 11
Views: 7899

Re: ESP32-D2WD Based Custom board JTAG Flash issue.

I had issues understanding the basic openocd output also.

I will suggest that you use "-d3" to turn on more debugging log entries.
For my system I also add " -l ./MyLogFileName.log" to the command line so I get the output in a form I can loot at it later.
by Scott.Bonomi
Tue Nov 03, 2020 6:51 pm
Forum: Hardware
Topic: RTC Clarification Requested
Replies: 3
Views: 2521

Re: RTC Clarification Requested

Sounds like a perfect example of a future improvement. Having something close to correct time when coming up can be very useful. It will not be good enough to reuse a timeslot in a 5G network, but it does help in MeanTimetoFirstFix for a GPS type system if it has some idea of which satellites are re...
by Scott.Bonomi
Tue Nov 03, 2020 6:43 pm
Forum: ESP-IDF
Topic: JTAG Optimized to unusable
Replies: 3
Views: 2613

Re: JTAG Optimized to unusable

Yes, in this function, len is a const during each iteration of the function, but different for each instance of the function. It is not JUST len that is optimized out. All the incoming arguments are optimized out, as well as most, if not all, of the local variables which are put into registers. The ...
by Scott.Bonomi
Tue Nov 03, 2020 1:37 am
Forum: Hardware
Topic: Feed an ESP32 project
Replies: 6
Views: 5109

Re: Feed an ESP32 project

There is some control on the amount of power available to each GPIO. You may be running into control problems with too great a parasitic power draw from too many components. Watching the I2C IO with a scope could be valuable. You might also want to look at distance to the motors. The length and size...
by Scott.Bonomi
Tue Nov 03, 2020 12:16 am
Forum: Hardware
Topic: RTC Clarification Requested
Replies: 3
Views: 2521

RTC Clarification Requested

RTCs I have used in the past usually had a cap and a diode to keep them powered for a while. But the memory in them was persistent so even a long power outage would result in a system time that is later than the last reported event, even if not completely accurate. What I am seeing at this time is t...
by Scott.Bonomi
Mon Nov 02, 2020 11:58 pm
Forum: Hardware
Topic: esp32-pico-d4 flash error
Replies: 1
Views: 2152

Re: esp32-pico-d4 flash error

I had a similar issue on my custom board, to activate the serial load feature GPIO0 has to be low at reset. The dev kits do that with a couple of transistors and using the DSR line from the USB. I have to take a probe,, and ground a pad on the board before hitting the system reset switch. Next spin ...
by Scott.Bonomi
Mon Nov 02, 2020 6:41 pm
Forum: ESP-IDF
Topic: JTAG Optimized to unusable
Replies: 3
Views: 2613

Re: JTAG Optimized to unusable

I see that no answer is forthcoming
changing to
OPTIMIZATION_FLAGS = -O0
in esp-idf/make/project.mk
had no effect on the optimizations either.
by Scott.Bonomi
Wed Oct 28, 2020 7:50 pm
Forum: ESP-IDF
Topic: JTAG Optimized to unusable
Replies: 3
Views: 2613

JTAG Optimized to unusable

How do I limit/Prohibit the optimization in the IDF successfully . According to the GCC on line manual, __attribute__((optimize("O0"))) should stop all optimization in that module, When I get there with GDB and JTAG, The names are gone. I do not see a strip statement in the build. It would be nice t...