esp-idf: idf monitor problem with esp32 (IDFGH-4882)

Environment

  • Development Kit: [ESP32-Wrover-Kit]
  • Kit version (for WroverKit/PicoKit/DevKitC): [v4]
  • Module or chip used: [ESP32-WROVER-E]
  • IDF version : v4.2
  • Build System: [idf.py]
  • Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
  • Operating System: [Windows]
  • (Windows only) environment type: [ESP Command Prompt].
  • Using an IDE?: [No]
  • Power Supply: [USB]

Problem Description

idf monitor doesn’t work well. I was running hello-world example. After I ran idf.py set-target esp32 and idf.py -p COM9 flash monitor, building and flashing succeeded but there seemed to be a problem with the monitor. It was supposed to print like the Expected Behavior but only print like the Actual Behavior.

I ran idf.py fullclean, but it doesn’t help.

Expected Behavior

image

This picture was taken one month ago. Today I manually deleted and reinstalled the ESP-IDF and ESP-IDF-TOOLS to the v4.2, and the problem arose. Everything is the same except the ESP-IDF. As you can see in the log, the ESP-IDF I used was v4.1-dirty.

Actual Behavior

捕获

Steps to reproduce

  1. connect the board
  2. move to the hello-world directory
  3. run idf.py set-target esp32
  4. run idf.py -p COM9 flash monitor

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (2 by maintainers)

Most upvoted comments

0

Press the reset(enable) button after you see:

MONITOR --- idf_monitor on /dev/cu.SLAB_USBtoUART 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---