Search found 1656 matches

by ESP_igrr
Tue Jun 02, 2020 1:49 pm
Forum: Hardware
Topic: Using ESP-PROGs second channel as UART with enabled JTAG
Replies: 3
Views: 237

Re: Using ESP-PROGs second channel as UART with enabled JTAG

Hi Baptisto,

What you are describing should work. The default board config files described in https://docs.espressif.com/projects/esp ... fic-target should take care of using the correct interface.
by ESP_igrr
Tue Jun 02, 2020 1:26 pm
Forum: ESP32 IDF
Topic: Possible to pipe apptrace logs to GDB?
Replies: 9
Views: 1307

Re: Possible to pipe apptrace logs to GDB?

Hi Daniel, Sorry, I was mistaken when I said that standard streams are inherited from the parent task. This is not the case. Task creation code calls esp_reent_init ( here ), which sets the stdin/stdout/stderr pointers to these from the _GLOBAL_REENT structure ( here ). So if you want to substitute ...
by ESP_igrr
Fri May 29, 2020 9:19 am
Forum: General Discussion
Topic: esp32 -Jtag Programming
Replies: 5
Views: 726

Re: esp32 -Jtag Programming

Hi Swagger, Please check https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/jtag-debugging/index.html#upload-application-for-debugging for the JTAG programming instructions. If you have ESP-IDF v4.0 or later installed, OpenOCD should be already installed as part of the tools setup.
by ESP_igrr
Wed May 20, 2020 8:25 pm
Forum: General Discussion
Topic: Direct manipulation of GRIO's 32-39 for ESP32
Replies: 3
Views: 373

Re: Direct manipulation of GRIO's 32-39 for ESP32

Not much practical difference between these two, with these specific arguments. The call to gpio_set_level is safer because it can check that the pin number is not out of bounds. It will also keep working on future chips, which may have different GPIO register names. On the other hand, direct regist...
by ESP_igrr
Wed May 20, 2020 9:44 am
Forum: General Discussion
Topic: Accurate timing with ESP32
Replies: 3
Views: 468

Re: Accurate timing with ESP32

Hi kfine100, The APB clock is derived from the PLL, which may add some jitter but has the same long-term accuracy as the underlying XTAL clock source. So the answer will depend on what kind of timing you are trying to do, exactly. Are you measuring time intervals, and are these intervals long or sho...
by ESP_igrr
Wed May 20, 2020 9:39 am
Forum: General Discussion
Topic: Direct manipulation of GRIO's 32-39 for ESP32
Replies: 3
Views: 373

Re: Direct manipulation of GRIO's 32-39 for ESP32

Hi insanoff, The bits of GPIO_IN_REG map to GPIOs 0-31, and the bits of GPIO_IN1_REG map to GPIOs 32 and up. So to access GPIO32, you need to read bit 0 of GPIO_IN1_REG. Same applies to other GPIO-related registers (output, output enable, etc). GPIO_SEL_34 macro in gpio.h is useful mainly for the pi...
by ESP_igrr
Wed May 20, 2020 5:57 am
Forum: ESP32 IDF
Topic: ESP32 Build System - Ubuntu 20.04
Replies: 1
Views: 220

Re: ESP32 Build System - Ubuntu 20.04

Could you please try setting python3 as default, "sudo apt install python-is-python3" first?
by ESP_igrr
Fri May 15, 2020 3:24 pm
Forum: Hardware
Topic: esp32s2 kaluga-1 with OpenOCD
Replies: 3
Views: 368

Re: esp32s2 kaluga-1 with OpenOCD

Hi Olof, ESP32_FLASH_VOLTAGE option only applies to the ESP32 chip. On ESP32-S2, JTAG pins don't overlap with strapping pins, so such option is not required. I have tried your .cfg file with Kaluga board and it works well. Just one small typo, [find target/esp32s2.cfg] not [find target/esp3s2.cfg]. ...
by ESP_igrr
Fri May 15, 2020 11:56 am
Forum: Hardware
Topic: esp32 -S2 usb
Replies: 11
Views: 1195

Re: esp32 -S2 usb

Hi Olof,

The getting started guide for Kaluga board has been merged, and should be available on Github in the next few days.
by ESP_igrr
Thu May 14, 2020 10:09 am
Forum: General Discussion
Topic: Interrupt optimisation
Replies: 2
Views: 394

Re: Interrupt optimisation

Hi PeterR, You can adjust priority of specific interrupts by passing ESP_INTR_FLAG_LEVEL1, ESP_INTR_FLAG_LEVEL2, ESP_INTR_FLAG_LEVEL3 (optionally ORed with ESP_INTR_FLAG_IRAM) flags to the respective driver install function. Higher interrupt levels can preempt lower interrupt levels. (A bit more on ...

Go to advanced search