Native serial port, can't obtain info. COM port issues

Hello, (checked here and the net for answer before posting)

Have a new circuit playground classic but can't load anything because is doesn't show up on the drive: list in my computer or the USB list in device manager.

Downloaded all current drivers but only COM1 shows up under tools with the IDE.

Device manger on PC only shows 1 COM port (communications port)

Tried using all USB ports (4) on computer and 7 different USB cable to rule power only cables.

The playground classic come to life with green led showing power when plugged into PC plus the internal led's all light up and going round and round.

Windows 11 64bit
Arduino 2.3.4

Thanks

Verify on Windows Device Manager.

Nothing there, I scanned for any hardware changes but nothing.

playground classic has power but not assigned COM port

Could this be older versions of the playground don't work with the new IDE software?

I see the classic version doesn't work with makecode either so I ordered the newer blufruit one however, till that gets here I was trying to get some life out out this classic version to learn a bit about connecting neopixel strips to the playground.

No problem, I can't code anyway so there isn't much I can do with this one.

thanks

Hi @aps_max_payne. Please try this experiment and then report back with the results:

  1. Connect the Arduino board to your computer with the USB cable.
  2. Press and release the reset button on the board quickly twice.

Now please reply here on the forum thread with the answer to the following question:

  • Do you see the LED marked "" on the board pulse after performing the above instructions?

No, it can not be that. The reason I am sure is because if the problem was with Arduino IDE then you would still see a port in Windows Device Manager. The fact that you are also not seeing the port in Device Manager proves that the problem is either at the operating system (unlikely), firmware, or hardware levels.

Arduino is a great way to get started coding! It is specifically intended to be accessible to people who don't have any coding experience.

1 Like

Hello,

pressing the reset button once has the playground reboot in about 1 sec however, after pressing twice the reboot process takes about 3 secs with the small red led beating like a heartrate than faster and then other led's start up and goes around in circles.

Thanks for the help..

OK, this is good news. This tells us two things:

  • The ATmega32U4 microcontroller on the Circuit Playground is at least somewhat functional.
  • The bootloader that allows you to upload Arduino sketches to the board is present.

Please try this follow-up experiment and then report back with the results:


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Open the Windows Device Manager.
  2. Select View > Devices by type from the Device Manager menus.
  3. Open the "View" menu.
  4. If there is a to the left of the "Show hidden devices" menu item, click on "Show hidden devices" to disable it.
  5. Connect the Arduino board to your computer with the USB cable.
  6. Press and release the reset button on the board quickly twice.
  7. Immediately select Action > Scan for hardware changes" from the Device Manager menus.
    :exclamation: You must perform this step soon after the previous step because the effect of the reset only lasts for a short time.
    If you weren't able to perform it quickly, you can repeat the procedure.
  8. Watch for a new device to appear under the "Ports (COM & LPT)" section of the Device Manager tree.

Now please reply here on the forum thread with the answer to the following question:

  • Did you see a new device appear in the "Ports (COM & LPT)" section of the Device Manager tree for a short time after you performed the above instructions?

You can repeat steps (6)-(7) multiple times if you are not sure.

ok, after clicking on show hidden devices the "Adafruit circuit playground" showed up but the port seems to be grayed out.

I tried to reset twice and scan for new hardware however, nothing happen but I think the result you were looking for showed up when I clicked on "show hidden devices" ?

It say COM4 but only COM1 shows up in the Arduino IDE

Uninstall the driver and try again to see if Win11 installs the default driver.

HI, I uninstalled the driver and lost it (adafruit circuit playground COM4) , just going thru installing drivers again to see if I can get it back..

My instructions were for you to disable the "Show hidden devices" menu item, so that there is not a to the left of it in the "View" menu.

Please try following the instructions again with "Show hidden devices" disabled.

The reason this is important is because when you have that option enabled, Device Manager will show devices that were connected to your computer at some time in the past, even when they are not connected now. Although it is interesting that the device was connected to your computer at one point, for the purposes of this experiment we need to know whether the device connects after you do a double reset. So if you have "Show hidden devices" enabled then the presence of this "ghost" device entry from the past will cause confusion.

oops, sorry...

I tried again but it's gone and didn't connect..tried double reset and scan for new hardware...

Installed the same driver I did before, changed USB port.. I've lost it.

Refer to the driver installation instructions at

1 Like

Tried that several times..

It was there before in COM4 however only 1 COM port shows up in the IDE software.

The playground classic seems fine, My computer is fine, drivers are there so I'll keep trying different things and maybe the it will appear..

Thanks

Looks like other people have had the same or similar problem with Arduino UNO using USB3

"finally it turned out that the ch340 has issues communicating on usb3 that is a blue plug on pcs use usb2(black plug) and it works"

I have 4 USB3 ports so looks like I'll just wait until the playground Blufruit arrives.

Thanks anyway :person_raising_hand:

Make sure the USB cable is fully inserted into the socket on the board and on your computer. If the cable is not fully inserted then this can cause the power lines to be connected (and thus the LEDs on the board light up), but not the data lines (and thus no port for the board).

After that, try this procedure:

  1. Select Sketch > Upload from the Arduino IDE menus.
  2. Watch the black "Output" panel at the bottom of the Arduino IDE window until you see something like this:
    Sketch uses 444 bytes (1%) of program storage space. Maximum is 30720 bytes.
    Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables.
    Maximum is 2048 bytes.
    
  3. Immediately press and release the reset button on the Arduino board quickly twice.

It is possible that Device Manager is just not quick enough to see the device in the short time that the bootloader runs after a double reset, before exiting back to the sketch application.

The tricky thing about the boards with native USB capability like your board is the USB code that creates the CDC serial port is running on the same microcontroller as your sketch. This means your sketch code can break the USB code, or stop it from running. When that happens, the board no longer produces a serial port.

A new board should not have that problem out of the box, so your statement that the board is "new" seemingly rules out this possibility. However, there are various possibilities why you still might still be experiencing this:

  • The board is chronologically new, but you have already successfully uploaded a problematic sketch to it.
  • The board is new to you, but you got it from someone else who uploaded a problematic sketch.
  • The seller you purchased the board from sent you (either as an honest mistake, or due to being unscrupulous) a returned board to which the previous customer had uploaded a problematic sketch.
1 Like

Thank you again, I tried to do you solution to no avail.
I went over the driver installation many times and the com ports came back and tried installing the the USB driver manually choosing the drivers supplied from the adafruit site and I kept getting the best driver is already installed.

I spent hours updating an old laptop I had with Win10 because is had USB 2 ports (black ones) but no joy.

The playground came in an anti-static bag that was sealed and looks new from a huge store that has was found in 1970 so I think it must be something I'm doing wrong.

okay, quik update..

Received the newer circuit playground bluefruit, installed the drivers I think

plugged it in and no change on device manager, scanned for new hardware
Arduino IDE is the same ports don't seem to be working
went to the makecode site and tried a simple led demo and downloader it but it says it can't find the circuit playground..

Clicked on troubleshooting and I see the win explorer should pick up the circuit playground as a CPLAYBOOT drive, I've never once seen this drive in the windows explorer column

I have no idea what I'm doing wrong, the playground is not showing up anywhere so all I can do at this stage is go by a proper charge/data USB cable for this slight chance the 6 that I have are all charge only ones..

I take it the bluetooth on the playground is bluetooth compatible after the bootloaded has loaded the programs and I can't send UF2 files via bluetooth?

SOLVED....

I got a new cable and the COM ports and CPLAYBOOT came alive...cplayboot disappeared but at least I know the cable is working...

Thanks for all the help...

6 charge only cables was the issue...

Thanks for taking the time to post an update. Great work on persevering to find a solution! Those charge-only cables are certainly a plague on the Arduino community.

Regards, Per

1 Like

A post was split to a new topic: MakeCode app can't find the Circuit Playground board