Search found 17 matches
- 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: 405
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-coredump...
- 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: 1899
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:...
- 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: 810
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
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
- 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: 1899
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
Greetings
Christoph
- 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: 1899
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 th...
- 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: 2440
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_command...
- 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: 2440
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 messa...
- 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: 2440
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
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
- 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: 952
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 s...
- Sun Jan 21, 2024 5:17 am
- Forum: ESP-IDF
- Topic: IDF 5.2 developer branch: i2c master => unable to read data
- Replies: 6
- Views: 2440
IDF 5.2 developer branch: i2c master => unable to read data
Hi All! I tried out the IDF 5.2 branch as to the new I2C driver implementation. Unfortunately, I cant get it to work to read data from devices in master mode. Writing data to devices works like a charm. Using reading functions (i2c_master_receive or i2c_master_transmit_receive) leads to a hang and a...