#but i did try something. I tried
1 messages · Page 1 of 1 (latest)
strange
are you flashing it by connecting B1 to gnd and using esptool or the webserial tool?
yes b1 to gnd , then webserial tool
yes theres none
so not a yellow triangle, just nothing?
is arduino open?
yes but it does not detect any port
reinstall the correct UF2, and then shut down the browser you used for webserial, or at least close the tab and reopen it
keep DeviceManager -> Ports open so you can see if anything happens
close Arduino IDE
i tried compiling tinyuf2 for arduino nano, it worked but after installing uf2 i wasnt able to get back to it , so ditched that
maybe in Device Manager do View->Show Hidden Devices
on doing this
have you finished and replugged it in?
yes
One thing to do is to cleanup all the unused USB devices: https://www.uwe-sieber.de/misc_tools_e.html
alright
download Device Cleanup Tool. Unzip it and run the x64 version, "Run as Administrator" (right click on it)
unplug the board, do Devices->Select All, and then Devices->Remove Selected. This will remove all the unused USB devices. It doesn't delete the drivers -- it just discards the saved assignments. So the COM port numbering will restart, etc. Then plug the board back in and see what Device Manager says
alright doing it
it cleaned up , now after reconnecting the board, this is how it shows
did that gray COM3 appear when you plugged in the board?
alright
eject the board before pressing reset, so the rename will happen
otherwise the filesystem might get corrupted or the rename would just get lost
tried it, the rename was saved but still no luck
so code.py did not run
what is in your code.py, anything interesting?
do you have any security or antivirus programs installed
ah, ok
nope
i mean it works normally in arduino mode
maybe the arduino driver is messing it up somehow
it works normally when flashed with metro esp32s3 circuit python
arduino is not running, is that right?
just not with the one its meant to be
yes its closed
It identifies with a different USB VID/PID when flashed with the Metro .bin
yes it shows up as adafruit
there could be a bad driver trying to be installed when you plug it in. OK, plug it in and let's see if we can examine the grayed-out COM3 port
plugged in
same as me. Let's try one more thing. Unplug it, open the Device Cleanup Tool, and clean out everything as before.
Leave Device Manager and Device Cleanup Tool open
yes, so nothing is listed there when you're done
I have this interesting thing where, when I Show Hidden Devices with it plugged in, I see TWO COM ports
do a File->Refresh in the Device Cleanup Tool
i just cleaned up
and in Device Manager, what do you see with Show Hidden Devices and the board connected?
same as it was
Just COM3, hunh?
yes, I'm thinking that, or an old driver. Was this PC ever Windows 8.1 or 7?
nope
did you upgrade from win10
could you go to Settings->Apps and see whether there are any serial drivers of some kind listed?
I'm not sure what they would be. What version of Arduino IDE do you have installed?
only things with the name driver
2.2.1
I don't have any of those. The libusbK and libusb-win32 ones might be an issue. I am installing the latest Arduino so I'll have the same as you
wait just a min
did you install any other development tools?
did you install an Arduino Board Support package for Espressif?
open Arduino and Tools->Boards manager, and in the left sidebar, which one(s) are installed?
They would have "REMOVE" instead of "INSTALL" listed
like, i have this:
Arduino AVR
Arduboy Homemade package
Arduino ESP32 Boards
esp32
esp8266
ok, installing one of those to check...
alright
OK, I have duplicated your problem. It's the drivers from the Arduino ESP32 Boards package
it won't uninstall the drivers, I don't think. Where did you see those drivers? I am still not seeing them. In Apps->Installed Apps?
unplug the board, do device cleanup, and maybe even reboot. So you just searched for "driver" in the search box?
i scrolled the list
and they were at the bottom
doing what you said
also device clean up as in from that app ?
yes
still no com port
i'm going to reboot and be right back
alright
try rebooting after you've removed those drivers
sure
ok, i'm back; i had an update pending, took a bit
i back as well
uninstalled all of those
cleaned
rebooted
still cant get a port
no idea which driving is messing up
should i try uninstalling the ide?
are the drivers now not showing in the Apps list?
nope
since I just installed this on a clean system, I think I can get a recent history of driver installs, and see which ones to remove. You can try uninstalling but I think it wil lnot necessarily uninstall the drivers. They are kind of "sticky"
okay so anyway i can specifically uninstall arduino drivers
there are some driver tools Microsoft provides on the command line. I will research those more. I'll ping you when I've got more info
you can?
sure
where did you see that?
lol no i was asking
that would be great
thanks a lot. You spent a lot of time on this
I know all this because I worked on the Adafruit drivers for windows, starting on Windows 7. It's a lot of arcana
i see
it's useful to know this because it helps our support folks
i.e. know how to fix the problem
anyway, I'll be back, not sure when.
sure no problem
@pliant sail ok, the problem is that the USB VID/PID used is for the DFU upload, not for serial. The Windows drivers arduino installed see this and prevent a regular serial port from being used.
We need to change the PID. However, you can use the "Inverted Status LED" build for now: https://circuitpython.org/board/arduino_nano_esp32s3_inverted_statusled/. It happens to have the correct PID.
let me know if it works
Wow thanks for the update
i will try and let you know
@quaint cedar Thanks a lot! It works
🎉 great! you're welcome. I'll submit a PR and this will be fixed on the next release
Great !
The USB PID for arduino_nano_esp32s3 was 0x0070. This is the PID Arduino uses for DFU. This caused the serial port not to show up on Windows if the Arduino ESP32 BSP was installed into Arduino and ...