make monitor not working

Started by BobaTrek, May 09, 2018, 07:29:42 PM

Previous topic - Next topic


I have the ESP32-EVB board with two relays on it.

I downloaded the software from

I went to the toggle_relay directory

I ran make menuconfig successfully per the instructions here:

I ran make flash and successfully flashed the ESP32-EVB.

When I press the button on the ESP32-EVB, the relay clicks, so the software was flashed properly.

However, when I run make monitor, I get the following error:

$ make monitor
--- idf_monitor on COM6 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun  8 2016 00:22:57

configsip: 0,
Traceback (most recent call last):
  File "D:/msys32/home/Petersen/esp/esp-idf/tools/", line 575, in <module>
  File "D:/msys32/home/Petersen/esp/esp-idf/tools/", line 504, in main
  File "D:/msys32/home/Petersen/esp/esp-idf/tools/", line 269, in main_loop
  File "D:/msys32/home/Petersen/esp/esp-idf/tools/", line 302, in handle_serial_input
  File "D:/msys32/mingw32/lib/python2.7/site-packages/serial/tools/", line 63, in write_bytes
  File "D:/msys32/home/Petersen/esp/esp-idf/tools/", line 567, in write
IOError: [Errno 22] Invalid argument
make: *** [/home/Petersen/esp/esp-idf/components/esptool_py/Makefile.projbuild:96: monitor] Error 1

I need make monitor to work so that I can start downloading my specific code and debug it.  Any idea why make flash works, but make monitor does not?