Search found 8 matches

by jomi26@gmail.com
Sun Jul 02, 2023 10:24 am
Forum: ESP-IDF
Topic: ESP32-C6 OpenOCD/GDB timeout
Replies: 6
Views: 5116

Re: ESP32-C6 OpenOCD/GDB timeout

Hi all, to everyone that might run into this issue as well. I found the root cause for what caused the problem for me. After reading the GDB and openOCD debug logs the issue is that the physical memory protection (PMP) feature (if enabled) prevents the debug session to work. I changed the setting in...
by jomi26@gmail.com
Sun Jul 02, 2023 6:38 am
Forum: ESP-IDF
Topic: ESP32-C6 OpenOCD/GDB timeout
Replies: 6
Views: 5116

Re: ESP32-C6 OpenOCD/GDB timeout

Hi, I have been trying different things but without success. I am not sure where the issue is but here is a debug log from GDB. Can anyone interpret this? For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from build/hello_world.elf... Ignoring pac...
by jomi26@gmail.com
Sat Jul 01, 2023 5:25 am
Forum: ESP-IDF
Topic: ESP32-C6 OpenOCD/GDB timeout
Replies: 6
Views: 5116

ESP32-C6 OpenOCD/GDB timeout

Hi all, I am having issues to get a debug session started on the ESP32C6 using openOCD and GDB. Board : ESP32-C6-DevKitC-1-N8 (8MB FLASH) ESP-IFD : Fresh install 5.1 latest release from yesterday incl. tools Code : hello_world example modified to stay in a loop to not restart (see below) I was able ...
by jomi26@gmail.com
Thu Feb 11, 2021 4:28 pm
Forum: ESP-IDF
Topic: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES
Replies: 8
Views: 7975

Re: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES

Hi,

thanks for the explanation. Makes sense.

Thanks for your help.
by jomi26@gmail.com
Thu Feb 11, 2021 3:23 pm
Forum: ESP-IDF
Topic: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES
Replies: 8
Views: 7975

Re: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES

Hi ESP_Minatel, thanks for the quick reply. I have studied the NVS documentation again and checked my code. What I have found is that I always need to have at least one full page (0x1000bytes) free in my partition otherwise I get ESP_ERR_NVS_NO_FREE_PAGES error when calling nvs_flash_init_partition(...
by jomi26@gmail.com
Wed Feb 10, 2021 3:15 pm
Forum: ESP-IDF
Topic: NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES
Replies: 8
Views: 7975

NVS customized partition - ESP_ERR_NVS_NO_FREE_PAGES

Dear ESP experts, I have found that if creating a separate NVS partition (See table below) I get an ESP_ERR_NVS_NO_FREE_PAGES error when calling nvs_flash_init_partition(..) in case the size is 0x1000. When changing the size to 0x2000 it works without an error. I (64) boot: ## Label Usage Type ST Of...
by jomi26@gmail.com
Wed Nov 18, 2020 9:08 pm
Forum: ESP-IDF
Topic: IDF component include missing
Replies: 2
Views: 7199

Re: IDF component include missing

Hi Chegewara,

thank you for your quick reply. It works now!

I added "REQUIRES spi_flash" to the CMake file and it works.

Thank you for your help!
by jomi26@gmail.com
Wed Nov 18, 2020 4:27 pm
Forum: ESP-IDF
Topic: IDF component include missing
Replies: 2
Views: 7199

IDF component include missing

Hi, I am new to ESP32 and the IDF tools so I guess I am making a rookie mistake here but I cannot figure it out and the forum search function doesnt work right now (at least for me) I am using IDF 4.1 Here is my problem: 1. When I include esp_spi_flash.h in main.c everything compiles fine 2. When I ...