#but i did try something. I tried

1 messages · Page 1 of 1 (latest)

quaint cedar
#

making a thread

#

ok, it's working for me on Windows 11 23H2, with a COM port

pliant sail
#

strange

quaint cedar
#

are you flashing it by connecting B1 to gnd and using esptool or the webserial tool?

pliant sail
#

yes b1 to gnd , then webserial tool

quaint cedar
#

before plugging in

pliant sail
#

yes theres none

quaint cedar
#

so not a yellow triangle, just nothing?

pliant sail
#

yep

#

everything apart from the REPL

quaint cedar
#

is arduino open?

pliant sail
#

yes but it does not detect any port

quaint cedar
#

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

pliant sail
#

i am installing the .bin file

#

cause arduino nano does not come with uf2 bootloader

quaint cedar
#

right

#

it took me quite a while to find out the B1-GND thing

pliant sail
#

i tried compiling tinyuf2 for arduino nano, it worked but after installing uf2 i wasnt able to get back to it , so ditched that

quaint cedar
#

maybe in Device Manager do View->Show Hidden Devices

pliant sail
pliant sail
quaint cedar
#

have you finished and replugged it in?

pliant sail
#

yes

quaint cedar
pliant sail
#

alright

quaint cedar
#

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

pliant sail
#

alright doing it

#

it cleaned up , now after reconnecting the board, this is how it shows

quaint cedar
#

did that gray COM3 appear when you plugged in the board?

pliant sail
#

yes

#

it stay for a few seconds

quaint cedar
#

maybe it's something in your code.py. Could you rename code.py to something else, like codex.py? Then press reset

pliant sail
#

alright

quaint cedar
#

eject the board before pressing reset, so the rename will happen

#

otherwise the filesystem might get corrupted or the rename would just get lost

pliant sail
#

tried it, the rename was saved but still no luck

quaint cedar
#

what is in your code.py, anything interesting?

#

do you have any security or antivirus programs installed

pliant sail
#

just the default, print("Hello, world!")

#

didnt change it

quaint cedar
#

ah, ok

quaint cedar
#

did you install Arduino IDE?

#

it's installed?

pliant sail
#

i mean it works normally in arduino mode

quaint cedar
#

maybe the arduino driver is messing it up somehow

pliant sail
#

it works normally when flashed with metro esp32s3 circuit python

quaint cedar
#

arduino is not running, is that right?

pliant sail
#

just not with the one its meant to be

pliant sail
quaint cedar
#

It identifies with a different USB VID/PID when flashed with the Metro .bin

pliant sail
#

yes it shows up as adafruit

quaint cedar
#

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

pliant sail
#

plugged in

quaint cedar
#

right click on the grayed-out port and choose Properties

pliant sail
quaint cedar
#

how about the Driver tab

#

and the Events tab

pliant sail
quaint cedar
#

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

pliant sail
#

alright

#

should i perform the clean up ?

quaint cedar
#

yes, so nothing is listed there when you're done

pliant sail
#

yes

#

done

quaint cedar
#

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

pliant sail
#

i just cleaned up

quaint cedar
pliant sail
#

didnt connect the board yet

#

got this

quaint cedar
#

and in Device Manager, what do you see with Show Hidden Devices and the board connected?

pliant sail
#

same as it was

quaint cedar
#

Just COM3, hunh?

pliant sail
#

yes , greyed out

#

might be the arduino driving messing up

quaint cedar
#

yes, I'm thinking that, or an old driver. Was this PC ever Windows 8.1 or 7?

pliant sail
#

nope

quaint cedar
#

did you upgrade from win10

pliant sail
#

new pc

#

fresh windows 11

quaint cedar
#

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?

pliant sail
#

only things with the name driver

quaint cedar
#

switch to list view

#

so we can read the full names

pliant sail
quaint cedar
#

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

pliant sail
#

alright

#

i will uninstall those

#

and see

quaint cedar
#

wait just a min

pliant sail
#

okay

#

idk where they came from

quaint cedar
#

did you install any other development tools?

pliant sail
#

not that i remember of

#

just the arduino ide

#

and the thonny ide

quaint cedar
#

did you install an Arduino Board Support package for Espressif?

pliant sail
#

yes

#

the one in the boards url

#

is that the one you are talking about ?

quaint cedar
#

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:

pliant sail
#

Arduino AVR
Arduboy Homemade package
Arduino ESP32 Boards
esp32
esp8266

quaint cedar
#

ok, installing one of those to check...

pliant sail
#

alright

quaint cedar
#

OK, I have duplicated your problem. It's the drivers from the Arduino ESP32 Boards package

pliant sail
#

woah

#

thats news

#

trying uninstalling it

quaint cedar
#

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?

pliant sail
#

yes

#

yes didnt work

quaint cedar
#

unplug the board, do device cleanup, and maybe even reboot. So you just searched for "driver" in the search box?

pliant sail
#

i scrolled the list

#

and they were at the bottom

#

doing what you said

#

also device clean up as in from that app ?

quaint cedar
#

yes

pliant sail
#

still no com port

quaint cedar
#

i'm going to reboot and be right back

pliant sail
#

alright

quaint cedar
#

try rebooting after you've removed those drivers

pliant sail
#

sure

quaint cedar
#

ok, i'm back; i had an update pending, took a bit

pliant sail
#

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?

quaint cedar
#

are the drivers now not showing in the Apps list?

pliant sail
#

nope

quaint cedar
#

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"

pliant sail
#

okay so anyway i can specifically uninstall arduino drivers

quaint cedar
#

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?

pliant sail
#

sure

quaint cedar
#

where did you see that?

pliant sail
#

lol no i was asking

quaint cedar
#

that would be great

pliant sail
#

sorry

#

forgot the "?"

quaint cedar
#

yes, you should be able to

#

the arduino IDE install runs a driver install script

pliant sail
quaint cedar
#

I know all this because I worked on the Adafruit drivers for windows, starting on Windows 7. It's a lot of arcana

pliant sail
#

i see

quaint cedar
#

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.

pliant sail
#

sure no problem

quaint cedar
#

@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

pliant sail
#

Wow thanks for the update

#

i will try and let you know

#

@quaint cedar Thanks a lot! It works

quaint cedar
#

🎉 great! you're welcome. I'll submit a PR and this will be fixed on the next release

pliant sail
#

Great !

quaint cedar