Page 1 of 1

Using the repl function, it will restart every time the serial port is opened

Posted: Thu Jul 07, 2022 5:28 pm
by tommy.guo
Use the USB Serial/JTAG Controller as the console output, configure the USB Serial/JTAG Controller as the repl port, every time you use the serial port assistant to open the serial port, you will see the device print the startup information once, but I can't find where to restart it. Help bosses! :roll:

Re: Using the repl function, it will restart every time the serial port is opened

Posted: Thu Jul 07, 2022 5:55 pm
by tommy.guo
How to understand this passage
  • The behavior between an actual USB-to-serial bridge chip and the USB Serial/JTAG Controller is slightly different if the ESP-IDF application does not listen for incoming bytes. An USB-to-serial bridge chip will just send the bytes to a (not listening) chip, while the USB Serial/JTAG Controller will block until the application reads the bytes. This can lead to a non-responsive looking terminal program.
    refer to
    https://docs.espressif.com/projects/esp ... nsole.html