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!
error in nvsconsole exemple on esp32-c6
-
nopnop2002
- Posts: 359
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: error in nvsconsole exemple on esp32-c6
Here is.
- Attachments
-
- esp_system_settings.jpg (119.34 KiB) Viewed 51 times
-
watchdog40
- Posts: 19
- Joined: Fri Jun 26, 2026 2:20 pm
Re: error in nvsconsole exemple on esp32-c6
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.
Sorry, but I don't have that option on my screen on windows 11!
So, I'm going to check the ESP-IDF versions.
-
watchdog40
- Posts: 19
- Joined: Fri Jun 26, 2026 2:20 pm
Re: error in nvsconsole exemple on esp32-c6
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
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
-
nopnop2002
- Posts: 359
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: error in nvsconsole exemple on esp32-c6
As of ESP-IDF V6, this item has been moved to Component config > ESP-STDOUT.I have same problem under linux mint with the version 6.02
- Attachments
-
- ESP-STDOUT-1.jpg (125.53 KiB) Viewed 30 times
-
- ESP-STDOUT.jpg (71.84 KiB) Viewed 35 times
-
watchdog40
- Posts: 19
- Joined: Fri Jun 26, 2026 2:20 pm
Re: error in nvsconsole exemple on esp32-c6
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.
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.
-
watchdog40
- Posts: 19
- Joined: Fri Jun 26, 2026 2:20 pm
Re: error in nvsconsole exemple on esp32-c6
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.
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.
Who is online
Users browsing this forum: Bytespider and 1 guest