Search found 74 matches

by jsam589
Wed Feb 02, 2022 11:37 pm
Forum: ESP-IDF
Topic: How do I use extram_bss in CMakeLists?
Replies: 2
Views: 3506

How do I use extram_bss in CMakeLists?

The API guide for external RAM mentions that extram_bss "linker fragment scheme" can be used to force all bss of a component into external RAM. Can someone show the code syntax to use this technique? I am on 4.0 and 4.4 IDFs using cmake. Here is an example CMakeLists.txt for one of my application co...
by jsam589
Wed Feb 02, 2022 9:59 pm
Forum: ESP-IDF
Topic: Crash when using stack on external PSRAM
Replies: 3
Views: 4471

Crash when using stack on external PSRAM

It seems that the IDF system components in 4.4 take up a lot more internal RAM than 4.0. I am using ESP32-WROVER-E (ECO v3) and I saw that v3 silicon should allow free use of the external PSRAM for task stacks. https://esp32.com/viewtopic.php?t=21520 However, I get crashes if my task accesses flash ...
by jsam589
Sat Oct 23, 2021 9:15 pm
Forum: ESP-IDF
Topic: TIP: Hack for changing openocd version
Replies: 1
Views: 3068

Re: Need help updating openocd version paths

My solution, which I found myself, was to re-install IDF 4.0 from scratch but before installing tools, hack the tools.json file. It will download the desired openocd version and install it as it installs all the other tools. This went smoothly and works well with Eclipse 2021-06 for JTAG debugging. ...
by jsam589
Tue Oct 19, 2021 12:27 am
Forum: ESP-IDF
Topic: TIP: How to JTAG break on watchdog timeout
Replies: 0
Views: 1513

TIP: How to JTAG break on watchdog timeout

I have just started using JTAG in Eclipse with the hope to diagnose an interrupt WDT that just started occurring after some recent changes to stable code. I want to let my system run in Debug mode until the problem occurs and I can see where the problem came from when it breaks due to WDT. Although ...
by jsam589
Wed Oct 06, 2021 10:07 pm
Forum: ESP-IDF
Topic: openocd message Not full dbg stub table 1 of 2
Replies: 0
Views: 1833

openocd message Not full dbg stub table 1 of 2

I am just starting to work with JTAG debugging. I am trying to demonstrate basic operation with command line. I now successfully get openocd and gdb running. I can reset and break at app_main, then step through lines of code. However, I see a warning in the openocd window: Info : Set GDB target to '...
by jsam589
Tue Oct 05, 2021 8:26 pm
Forum: ESP-IDF
Topic: TIP: Hack for changing openocd version
Replies: 1
Views: 3068

TIP: Hack for changing openocd version

I am trying to get JTAG debugging working for gdb from Ubuntu command line per instructions on espressif website. I have IDF 4.0 release and openocd 20190313. I wish to update openocd to a newer version, without changing any other parts of my toolchain. I am not sure which scripts need to be manuall...
by jsam589
Sun Nov 01, 2020 5:04 pm
Forum: ESP-IDF
Topic: What are differences between Espressif's TensorFlow Lite Micro and original?
Replies: 0
Views: 1988

What are differences between Espressif's TensorFlow Lite Micro and original?

TensorFlow Lite for Microcontrollers is part of the normal native TensorFlow repository. But Espressif has its own fork as well. I usually assume an ESP-specific version of a component has simplification or improvements for esp32, as compared to the creator's generic repo version. I am trying to det...
by jsam589
Sun Jul 05, 2020 3:48 pm
Forum: ESP-IDF
Topic: efuse component in 4.1 fails to honor log level settings
Replies: 1
Views: 2928

efuse component in 4.1 fails to honor log level settings

Related post describing similar problem with wifi component in 4.1: https://www.esp32.com/viewtopic.php?f=13&t=16409 Problem: efuse component in 4.1 (beta2 and release/v4.1 as of 04-July-2020) behaves incorrectly with respect to filtering of log level. If application default log level is set for DEB...
by jsam589
Sun Jul 05, 2020 2:24 am
Forum: ESP-IDF
Topic: Logging format in wifi component uses problematic non-standard technique
Replies: 2
Views: 4005

Re: Logging format in wifi component uses problematic non-standard technique

I restated the issue in a new forum post, including how to reproduce using IDF example code.

Linking here: viewtopic.php?f=13&t=16409
by jsam589
Sun Jul 05, 2020 2:20 am
Forum: ESP-IDF
Topic: wifi component in 4.1 fails to honor log level settings
Replies: 0
Views: 2409

wifi component in 4.1 fails to honor log level settings

Hello, I posted about this a month ago and received zero responses. This continues to be an issue in the latest release/4.1 code. If not fixed, I will not be able to leave IDF 4.0 and move to 4.1 or 4.2. Previous post with large amount of detail: https://www.esp32.com/viewtopic.php?f=13&t=16023 (1) ...