Page 1 of 1
error in nvsconsole exemple on esp32-c6
Posted: Thu Jul 23, 2026 3:06 pm
by watchdog40
Hello.
I want to test the `nvsconsole` example on an ESP32-C6. I managed to compile and flash the example, but I can't enter any commands into the NVS console. I get the following message:
`nvs> --- Warning: Serial port write timed out. Please ensure your application supports an interactive console and that you have selected the correct console for serial communication.`
I looked it up online, and the solution is:
The fix: run `idf.py menuconfig`, go to **Component config > ESP System Settings > Channel for console output**, and select **USB Serial/JTAG Controller** (or the correct hardware port you are using).
But the **Channel for console output** option isn't in that menu!!
Help!
Re: error in nvsconsole exemple on esp32-c6
Posted: Fri Jul 24, 2026 4:16 am
by nopnop2002
Here is.
Re: error in nvsconsole exemple on esp32-c6
Posted: Fri Jul 24, 2026 12:27 pm
by watchdog40
Thanks.
Sorry, but I don't have that option on my screen on windows 11!
So, I'm going to check the ESP-IDF versions.
Re: error in nvsconsole exemple on esp32-c6
Posted: Fri Jul 24, 2026 12:37 pm
by watchdog40
on windows11 :
IDF PowerShell Environment
-------------------------
Environment variables set:
IDF_PATH: C:\esp\v6.0.1\esp-idf
IDF_TOOLS_PATH: C:\Espressif\tools
IDF_PYTHON_ENV_PATH: C:\Espressif\tools\python\v6.0.1\venv
Custom commands available:
idf.py - Use this to run IDF commands (e.g., idf.py build)
esptool.py
espefuse.py
espsecure.py
otatool.py
parttool.py
Python environment activated.
You can now use IDF commands and Python tools.
I have same problem under linux mint with the version 6.02
Re: error in nvsconsole exemple on esp32-c6
Posted: Fri Jul 24, 2026 11:42 pm
by nopnop2002
I have same problem under linux mint with the version 6.02
As of ESP-IDF V6, this item has been moved to Component config > ESP-STDOUT.
Re: error in nvsconsole exemple on esp32-c6
Posted: Sat Jul 25, 2026 12:43 pm
by watchdog40
Thanks a lot. I modified the option to set it,
USB Serial/JTAG Controller
and I had to add
#define CONFIG_ESP_CONSOLE_UART_BAUDRATE 115200
to fix a compilation error.
But I'm still getting the same error :
NVS Console Example
-------------------
Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
Press Ctrl+C to exit the console.
Your terminal application does not support escape sequences.
Line editing and history features are disabled.
On Windows, try using Windows Terminal or Putty instead.
nvs> --- Warning: Writing to serial is timing out. Please make sure that your application supports an interactive console and that you have picked the correct console for serial communication.
Re: error in nvsconsole exemple on esp32-c6
Posted: Sun Jul 26, 2026 2:22 pm
by watchdog40
I made several changes, checking each time whether the option update had actually been applied.
I keep getting the same message, and strangely enough, when I go back into the menu, the option has reverted to the default value: UART0.