Good morning,
I have a question concerning the logs output on UART0.
I am working on the Esp32S3 and in the sdkconfig file, I have set the log output on UART0 and on UART/JTAG at the same time.
Here everything is perfect.
Now I would like to have the possibility to enter commands in the console where logs are displayed so that they can be
analyzed, interpreted by the firmware.
1) Dealing with the USB, everything is OK I have no problem. I have just started the usb_serial_jtag_driver_install and I use the usb_serial_jtag_read_bytes method in a loop in order to take/record the commands from the console.
2) When I want to do the same thing using the UART, I use the following functions :
uart_driver_install(UART_PROD_PORT_NUM, UART_PROD_BUFFER_SIZE * 2, 0, 0, NULL, 0);
uart_param_config(UART_PROD_PORT_NUM, &uart_config);
uart_set_pin(UART_PROD_PORT_NUM, UART_PROD_TX_PIN, UART_PROD_RX_PIN, UART_PROD_UNUSED_PIN, UART_PROD_UNUSED_PIN);
in order to configure the UART.
However, as soon as the UART is configured, the logs line are not displayed anymore in the console...
Do you know what can happen please ?
Best regards,
Esp32S3 : Log output on UART0 problems
-
- Posts: 229
- Joined: Thu Jul 14, 2022 5:15 am
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 112 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.