Charles Snelgrove
Charles Snelgrove

Reputation: 17

PlatformIO cannot open ftdi device (Arduino with esp32)

I am new to Arduino and using the esp32 and I am using PlatformIO to command my project in C++ through VSCode. I just downloaded my project folder and opened it in PlatformIO and attempted to run the existing code (over 1000 lines) which is meant to command an exoskeleton. When I run the program, however, I get error messages, as follows:

Error: no device found Error: unable to open ftdi device with vid 0403, pid 6010, description '', serial '' at bus location '' Error: no device found Error: unable to open ftdi device with vid 0403, pid 6014, description '', serial '' at bus location ''

I feel like I am missing something very basic, but everything I search for gives me very advanced problems, and I am hoping someone could dumb this down for me.

Any help is appreciated, thank you.

By the way, I am actually using Mac, and the output when I enter the ls -ls /dev/tty.usbserial-1410 is:

0 crw-rw-rw- 1 root wheel 18, 2 7 Dec 14:13 /dev/tty.usbserial-1410

Upvotes: 1

Views: 1935

Answers (1)

balun
balun

Reputation: 1324

You may used a different type of esp32 module (there're lots of variants in the market) from the original design. You have 2 options,

  • If the software works and you don't want to modify it, then try to find the same type of esp32 module specified by design.
  • Find out vid/pid from your current esp32 module and update software to connect. Refer to below procedure.

The procedures to update usb serial binding,

  1. Run lsusb to find out vid/pid lsusb commands
  2. update the existing rule specified with vid 0403 and pid 6010 to your current vid/pid, usually the rule file is under /etc/udev/rules.d/.
  3. Run sudo udevadm control --reload-rules to activate.

Upvotes: 2

Related Questions