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

tommy.guo
Posts: 24
Joined: Mon Feb 14, 2022 8:09 am

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

Postby tommy.guo » Thu Jul 07, 2022 5:28 pm

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:

tommy.guo
Posts: 24
Joined: Mon Feb 14, 2022 8:09 am

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

Postby tommy.guo » Thu Jul 07, 2022 5:55 pm

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

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 56 guests