ESP tool - programming flash MAC OS Catalina

vsubbiah
Posts: 1
Joined: Mon Feb 17, 2020 8:07 pm

ESP tool - programming flash MAC OS Catalina

Postby vsubbiah » Mon Feb 17, 2020 8:08 pm

I am using the ESP32 WROVER KIT 4.1 and I am trying to program to flash using Mac OS Catalina 10.15.1 and I am running into the error below. Looking around looks like with Catalina there are some issues to access serial port. Could somebody please confirm if the esptool work with Mac OS Catalina

VENKATs-MBP: ~/work/pp/esp/esp_ws2/esp-idf/examples/wifi/scan : idf.py -p /dev/tty.usbserial-142100 monitor
Executing action: monitor
Running idf_monitor in directory /Users/venkat/work/pp/esp/esp_ws2/esp-idf/examples/wifi/scan
Executing "/Users/venkat/.espressif/python_env/idf4.2_py2.7_env/bin/python /Users/venkat/work/pp/esp/esp_ws2/esp-idf/tools/idf_monitor.py -p /dev/tty.usbserial-142100 -b 115200 --toolchain-prefix xtensa-esp32-elf- /Users/venkat/work/pp/esp/esp_ws2/esp-idf/examples/wifi/scan/build/scan.elf -m '/Users/venkat/.espressif/python_env/idf4.2_py2.7_env/bin/python' '/Users/venkat/work/pp/esp/esp_ws2/esp-idf/tools/idf.py' '-p' '/dev/tty.usbserial-142100'"...
--- WARNING: Serial ports accessed as /dev/tty.* will hang gdb if launched.
--- Using /dev/cu.usbserial-142100 instead...
--- idf_monitor on /dev/cu.usbserial-142100 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
Exception in thread Thread-2:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/Users/venkat/work/pp/esp/esp_ws2/esp-idf/tools/idf_monitor.py", line 149, in _run_outer
self.run()
File "/Users/venkat/work/pp/esp/esp_ws2/esp-idf/tools/idf_monitor.py", line 356, in run
self.serial.open()
File "/Users/venkat/.espressif/python_env/idf4.2_py2.7_env/lib/python2.7/site-packages/serial/serialposix.py", line 268, in open
raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))
SerialException: [Errno 16] could not open port /dev/cu.usbserial-142100: [Errno 16] Resource busy: '/dev/cu.usbserial-142100'

Who is online

Users browsing this forum: Baidu [Spider] and 39 guests