Search found 18 matches

by cpehonk
Sat Jan 03, 2026 5:13 am
Forum: General Discussion
Topic: Use UART0 and USB-bridge to read file from e.g. pc
Replies: 1
Views: 1178

Use UART0 and USB-bridge to read file from e.g. pc

Hi all,

I would like to use UART0 and the built-in USB-UART bridge to send a basic WLAN configuration file to the ESP32. I tried this based on the UART examples, but everytime I send the file to the ESP32, it resets. What am I doing wrong? How can I use the USB-UART bridge for my purposes? I am ...
by cpehonk
Thu Oct 10, 2024 2:44 am
Forum: ESP-IDF
Topic: IDF v5.3.1: esp32c6 core dump => GDB not found error
Replies: 0
Views: 1740

IDF v5.3.1: esp32c6 core dump => GDB not found error

Hi all,

I'm using IDF v5.3.1 within VS Code. I use esp32 WROOM and esp32c6 modules. I configured to save core dumps to flash memory. Reading the flash memory works fine with both module types. But I cant decode the core dump written by the esp32c6 module. Calling espcoredump (or idf.py info ...
by cpehonk
Sat Sep 07, 2024 1:03 pm
Forum: ESP-IDF
Topic: VS CODE: use one source code for different devices (e.g. ESP32 WROOM, ESP32C6)
Replies: 3
Views: 3167

Re: VS CODE: use one source code for different devices (e.g. ESP32 WROOM, ESP32C6)

No problem ;) It cost me several days to figure out. But this is my (quite simple) solution and it works fine.

In my project structure on disk I added a "Binaries" folder where cmake copies the required files.
Additionally, I saved a "sdkconfig.defaults.xxx" for each target architecture I use (here ...
by cpehonk
Thu Sep 05, 2024 5:31 pm
Forum: ESP-IDF
Topic: IDF v5.3 esp32c6 target: Error compiling with core dump set to "flash"
Replies: 0
Views: 1702

IDF v5.3 esp32c6 target: Error compiling with core dump set to "flash"

Hi everybody!

Does anybody already tried to compile a source for target esp32c6 with IDF v5.3 (release) and core dump switched on for "flash"?
In my project the compilation failes with a "boundary violation" in the flash core dump source.

Any hints?

Greetings
Christoph
by cpehonk
Thu Sep 05, 2024 5:28 pm
Forum: ESP-IDF
Topic: VS CODE: use one source code for different devices (e.g. ESP32 WROOM, ESP32C6)
Replies: 3
Views: 3167

Re: VS CODE: use one source code for different devices (e.g. ESP32 WROOM, ESP32C6)

If anybody is interested: solved my problem by adding some cmake custom commands to the CMakeList.txt file in the project root folder.

Greetings
Christoph
by cpehonk
Wed Aug 14, 2024 7:24 pm
Forum: ESP-IDF
Topic: VS CODE: use one source code for different devices (e.g. ESP32 WROOM, ESP32C6)
Replies: 3
Views: 3167

VS CODE: use one source code for different devices (e.g. ESP32 WROOM, ESP32C6)

Hi All!

I would like to know if it is possible to have one main folder with code in VS CODE, but to target to different processor types with different *.bin names. To give an example:
I have written some code primarily for the ESP32-WROOM module. Now, I would like to target an ESP32C6 module from ...
by cpehonk
Tue Jan 23, 2024 8:51 pm
Forum: ESP-IDF
Topic: IDF 5.2 developer branch: i2c master => unable to read data
Replies: 6
Views: 3749

Re: IDF 5.2 developer branch: i2c master => unable to read data

Hi Matthias,

I opened an issue in Github. Simon Cao answered very quickly that it is a known bug. Which is already fixed internally. He posted the right code and I will do so here if anybody else encounters the same problem. You just have to replace the given function:


static bool s_i2c_read ...
by cpehonk
Mon Jan 22, 2024 9:42 pm
Forum: ESP-IDF
Topic: IDF 5.2 developer branch: i2c master => unable to read data
Replies: 6
Views: 3749

Re: IDF 5.2 developer branch: i2c master => unable to read data

Hi Matthias,

I am out :D

I tried it with the function you provided... nothing. Still blocks within read part, getting resetted by task watchdog and afterwards blocked in i2c_new_master_bus ... what am I missing?
LOG is set to "VERBOSE", check of i2c log is set, but there are no significant log ...
by cpehonk
Mon Jan 22, 2024 5:17 am
Forum: ESP-IDF
Topic: IDF 5.2 developer branch: i2c master => unable to read data
Replies: 6
Views: 3749

Re: IDF 5.2 developer branch: i2c master => unable to read data

Hi Matthias,

thanks for the hint! But unfortunately, even with "uint8_t data[1]" both read functions block until watchdog reset.
Do you use the 5.2 release branch or the 5.2 developer branch?

Greetings
Christoph
by cpehonk
Sun Jan 21, 2024 9:23 am
Forum: ESP-IDF
Topic: IDF 5.2 and 5.1.2 (stable): legacy i2c driver slowdown from another task
Replies: 1
Views: 1355

IDF 5.2 and 5.1.2 (stable): legacy i2c driver slowdown from another task

Hi All!

Consider following situation: main task creates legacy i2c driver, initializes and uses it from time to time. A second task is responsible to accept and to answer TCP connect requests. On thing to do within the TCP task is to do a full OTA update. During update an i2c connected LCD display ...

Go to advanced search