Search found 89 matches

by p-rimes
Fri Jun 26, 2020 8:04 pm
Forum: General Discussion
Topic: Unreliable GPIO
Replies: 25
Views: 3733

Re: Unreliable GPIO

https://sigrok.org/wiki/Mcupro_Logic16_clone Not sure if I mentioned it anywhere, but core 1 code is fully in IRAM. So flash delays not possible either. I have one of these (or a similar clone + enclosure) and I also use sigrok. If you can't achieve 40MHz on 2 channels, your issues could be one of ...
by p-rimes
Wed Feb 12, 2020 6:10 pm
Forum: ESP-IDF
Topic: Possible to pipe apptrace logs to GDB?
Replies: 9
Views: 2125

Re: Possible to pipe apptrace logs to GDB?

Thanks for the guidance (and thanks again for the OpenOCD patch), I am really enjoying this workflow! The output is still a bit slower than serial, but I think this could be due to the frequent flushing of TRAX. I’ll spend a bit of time tuning that; perhaps I can get away with post-mortem mode in GD...
by p-rimes
Wed Feb 12, 2020 6:07 pm
Forum: ESP-IDF
Topic: Automatic / Periodic Flushing of Apptrace-based Logging
Replies: 2
Views: 824

Re: Automatic / Periodic Flushing of Apptrace-based Logging

Works for me! Thanks for your suggestion.
by p-rimes
Wed Feb 05, 2020 2:06 am
Forum: ESP-IDF
Topic: Possible to pipe apptrace logs to GDB?
Replies: 9
Views: 2125

Re: Possible to pipe apptrace logs to GDB?

That's great! That patch is working well for me on macOS, thanks a bunch -- it's a really slick solution to do it at the OpenOCD level, and it makes the GDB part a lot easier. I think I'd most prefer your alternative solution, overriding the stdout write function. That would actually make it useful ...
by p-rimes
Fri Jan 31, 2020 5:50 pm
Forum: ESP-IDF
Topic: Ran out of IRAM, possible to repurpose SRAM/DRAM?
Replies: 3
Views: 964

Re: Ran out of IRAM, possible to repurpose SRAM/DRAM?

Hi WiFive, Thanks for that tip! I was hoping that was the case. Now I'm investigating whether that IRAM (in SRAM0 or SRAM1) can be accelerated via the cache. Based on the TRM, I think that there is no icache, only dcache. (So, SRAM1 should be just as fast as SRAM0, if I repurpose it for instruction ...
by p-rimes
Fri Jan 31, 2020 5:39 pm
Forum: ESP-IDF
Topic: Automatic / Periodic Flushing of Apptrace-based Logging
Replies: 2
Views: 824

Automatic / Periodic Flushing of Apptrace-based Logging

I am trying to use apptrace/TRAX-based logging to replace the default UART-based logging for my application. It seems to be working, if I add this early in my app_main function esp_log_set_vprintf(esp_apptrace_vprintf); However I must manually call esp_apptrace_flush(ESP_APPTRACE_DEST_TRAX, 100000);...
by p-rimes
Fri Jan 31, 2020 5:32 pm
Forum: ESP-IDF
Topic: Possible to pipe apptrace logs to GDB?
Replies: 9
Views: 2125

Re: Possible to pipe apptrace logs to GDB?

Hi @ESP_igrr,

Semihosting would be acceptable also, but in my experience (on ARM) it is quite slow (much slower than serial output, especially since I run that at 2MBaud.)

Does that slower speed limitation also apply to ESP32 semihosting?
by p-rimes
Fri Jan 24, 2020 6:37 pm
Forum: ESP-IDF
Topic: Possible to pipe apptrace logs to GDB?
Replies: 9
Views: 2125

Possible to pipe apptrace logs to GDB?

I prefer using JTAG for debugging (OpenOCD + gdb), and I would like to see the console messages inside my GDB window. I would also prefer to use apptrace/TRAX-based logging for this, and not output to the ESP32 serial port at all. To support this (and other helpful features), I have compiled my xten...
by p-rimes
Fri Jan 24, 2020 6:21 pm
Forum: ESP-IDF
Topic: Ran out of IRAM, possible to repurpose SRAM/DRAM?
Replies: 3
Views: 964

Ran out of IRAM, possible to repurpose SRAM/DRAM?

I ran out of IRAM; needing too many optimizations as well as apptrace and other features. I’ve read several forum posts where others have ran out of DRAM and repurposed IRAM to get more data. I have the OPPOSITE problem — is there some memory which could be repurposed to fit more executable memory? ...
by p-rimes
Thu May 30, 2019 7:12 am
Forum: ESP-IDF
Topic: Using Eclipse with OpenOCD to build and debug ESP32
Replies: 12
Views: 14362

Re: Using Eclipse with OpenOCD to build and debug ESP32

I don't think so, from what I remember the JTAG connects directly to the CPU core, not to the GPIO logic. If it does boundary scan, it likely maps to internal signals, not to the GPIOs. I'll ask the hardware engineers, just to be sure. Did you ever find out about boundary scan support? Internal sig...

Go to advanced search