After completing step 3 and 4 my arduino does not show up in the ports list. I've checked with system report (this is like device manager but on mac os) if the arduino is listed there. it is, as "wifiduino32s3". When checking available serial ports it does not show up however. My previous sketch does seem to still work.
My previous sketch was a slight variation of the keyboard example provided by arduino. When a button is pressed the arduino calls Keyboard.press().
I'm convinced it's nothing to do with hardware wiring since this has not changed in between uploading sketches, I'm also convinced it has nothing to do with the sketch itself since the only difference with a previous working one is the character which is being pressed has changed.
Any help pushing me in the right direction is greatly appreciated!
Thanks in advance
I had come across this article when I was searching myself, the error I got was LIBUSB_ERROR_IO. That one is not listed there. I don't have a problem uploading (yet?) since that is the next step after connecting. I cannot even connect my arduino to my PC. It does not show up in the list of serial ports. It does not show up in the arduino IDE nor does it show up when executing ls /dev/cu.* or ls /dev/tty.* in a terminal.
Currently my problem is not dfu-util errors but the fact that my arduino does not show up in a the list of available serial ports
I am going to spend a night or two to allow you to sort this out an post the correct information. Your original postg is not not the problem and aparently never was. Now you post a Linux command. Rewrite the question with correct information and be sure to include which Arduino your using, what IDE, what Operating System, What version it is. Also why you are now getting a LIBUSB_ERROR_IO, what did you change?
I am using Mac OS as listed in my initial post
I am using an Arduino Nano ESP32 as listed in my initial post
I am using the latest version of arduino IDE
The problems I am facing are with connecting my arduino to my pc (it does not show up in the ports list) as listed in my initial post
Any other information I have provided to give context. The error I got was from before I was unable to connect my arduino (as mentioned in my initial post)
Sorry to hear that you are having difficulties with your board @bier-k
The fact that the board is detected via USB means it's still alive and kicking, so the issue is somewhere in the computer. I have a few questions for you:
When in factory mode, your sketch is definitely not running. Do you confirm on step 3 of the guide you see the LED always on, dimly lit in "yellow" or "purple"?
I'm no Mac expert, but I was told Mac OS has native drivers for the ESP32-S3, especially in factory mode, so I'm surprised it doesn't work. Maybe you have installed some specific drivers that are overriding the default? Is there any way to check what driver is assigned to the ESP peripheral?
Can you try on a different computer just to verify that everything else (board, procedure, etc) is working fine?
I can confirm the LED is dimly lit purple. It might not be in factory mode anymore (or never was?) because the sketch does seem to be running. It is acting as a keyboard with a single key, and that works.
I have not installed any new drivers (that I know of). To test I have switched to a Windows machine, the device is recognized as a keyboard but not in the ports list. I have freshly installed Arduino IDE and the Arduino ESP32 Boards. I assume all needed drivers are installed correctly that way?
I am not aware of a way to check what driver is assigned to the ESP peripheral. Arduino Nano ESP32 recognized as wifiduino Arduino Nano ESP32 not showing up in ports list
With a different Arduino Nano ESP32 everything seems to work fine. However the port is also not recognized while it's acting as a keyboard. I have to put it into bootloader mode (double pressing RESET button) to be able to reprogram it
Different working Arduino Nano ESP32 recognized as Nano ESP32 Different working Arduino Nano ESP32 recognized in ports list (bootloader mode)
Probably not super-helpful for this round, but with Leonardo, which can 'pose' as a keyboard, I setup a pin where the sketch cannot proceed if it's Low (with a jumper placed).
I once got one locked knocking out keycodes. I believe I undid that by holding down its Reset, starting an Upload of 'blink' (or similar), and letting go of Reset as soon as the IDE noted "Uploading..."
I don't know if the Reset thing will work in your case.
This is expected - you are using the USB port as HID so it's not available as the serial console. Entering bootloader mode is the right way
Gotcha! Then I suppose that you might have loaded a sketch that was not built for the Arduino Nano ESP32: that would explain why the RGB pins have been left in their default "purple" state, but some other code is running. Also, that code might hide the serial port, making you think there's a bug somewhere.
If that's the case, following the guide will be more difficult, since you can't trust the LED anymore. Your end result in step 3 has to be a discoverable board, so probably you are doing something different - try following the guide to the letter.
You can safely try the procedure on the other Nano ESP32 board to practice!
Check the following:
make sure "Arduino Nano ESP32" from the "Arduino ESP32 Boards" package is selected as the target board;
make sure "Tools" > "USB Mode" is set to "Normal mode (TinyUSB)";
use a simple Blink example, not your USB HID sketch, as this will make things more confusing by hiding the serial port.