You are reading a single comment by @dashxdr and its replies. Click here to read the full conversation.
  • Ok the root of the problem with the

    E (203529) uart: uart_read_bytes(857): uart driver error
    

    messages is in targets/esp32/jshardwareUart.c line 38 or so in function UartReset()
    if(serial2_initialized) uart_driver_delete(uart_Serial2);
    if(serial3_initialized) uart_driver_delete(uart_Serial3);
    These should set the corresponding flag serialX_initialized to false but they don't.
    if(serial2_initialized) {uart_driver_delete(uart_Serial2);serial­2_initialized=false;}
    if(serial3_initialized) {uart_driver_delete(uart_Serial3);serial­3_initialized=false;}

    Then reset(); ought to work fine without causing the spewing...

About

Avatar for dashxdr @dashxdr started