After using the esp_restart() function that restarts both cores, specifically in my project, UART2 stops working, causing the GSM module connected to this UART not to work properly.
I have seen several github reports about this problem. How can I completely restart all UART channels? Or even make a more complete software restart...
esp_restart() and uart reset bug
Re: esp_restart() and uart reset bug
Anyone help? I need know a solution about this uart2 + sw rst bug...
Re: esp_restart() and uart reset bug
This update is from November and I'm using the latest version (3.0-rc1 December). So I think so, have the correction.WiFive wrote:Your idf version has uart reset fix?
https://github.com/espressif/esp-idf/co ... 80f2881a2a
Why does this still occur? How to fix? I need sw rst running
-
- Posts: 45
- Joined: Wed Nov 15, 2017 9:07 pm
Re: esp_restart() and uart reset bug
I had a similar problem (https://esp32.com/viewtopic.php?f=2&t=4725) which was resolved with this commit https://github.com/espressif/esp-idf/co ... fb61431339.
Re: esp_restart() and uart reset bug
PaulFreund wrote:I had a similar problem (https://esp32.com/viewtopic.php?f=2&t=4725) which was resolved with this commit https://github.com/espressif/esp-idf/co ... fb61431339.
I'm testing this "new update" and it's still not working. I do not know if these changes were made to the Arduino Core UART (I'm using UART and WiFi from Arduino Core), however, it does not work and UART2 is still bugged.
Maybe I will test the IDF UART in the future if this update did not affect the Ard-Core UART, so I will be forced to test it.
Any ideas for a solution to this if the update affected the Ard-Core UART?
Re: esp_restart() and uart reset bug
Yes you should always specify which code base
https://github.com/espressif/arduino-esp32/issues/1145
https://github.com/espressif/arduino-esp32/issues/1145
Re: esp_restart() and uart reset bug
When do you think this correction will occur in Ard-Core? If it takes too long, I'll use the IDF-UART.WiFive wrote:Yes you should always specify which code base
https://github.com/espressif/arduino-esp32/issues/1145
Who is online
Users browsing this forum: Google [Bot] and 61 guests