0

CPLAYBOOT doesn't show up
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CPLAYBOOT doesn't show up

by Jkkato on Fri Oct 26, 2018 4:31 pm

I have been having problems with my Circuit Playground Express off and on for a while. It was working for a few weeks with Circuit Python. Now I want to switch to Makecode, but CPLAYBOOT drive doesn't show up. Either it is CIRCUITPY (on COM port 16) or no drive shows up but Adafruit Circuit Playground express is shown on COM5.

When double clicking the Reset button on the CPX, the neopixels flash red for a split second, then turn green, which I believe is normal. The Drive never shows up. I was reading another post on here about trying to upload Blinky with the Arduino app. That didn't work either and didn't show the same message that they got.

When the neopixels are green (COM5) and I try to upload blinky I get:
Code: Select all | TOGGLE FULL SIZE
Sketch uses 10264 bytes (3%) of program storage space. Maximum is 262144 bytes.
processing.app.debug.RunnerException
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:160)
   at cc.arduino.UploaderUtils.upload(UploaderUtils.java:82)
   at processing.app.SketchController.upload(SketchController.java:736)
   at processing.app.SketchController.exportApplet(SketchController.java:703)
   at processing.app.Editor$DefaultExportHandler.run(Editor.java:2028)
   at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM5'.
   at processing.app.Serial.touchForCDCReset(Serial.java:107)
   at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:144)
   ... 5 more
Caused by: jssc.SerialPortException: Port name - COM5; Method name - openPort(); Exception type - Port not found.
   at jssc.SerialPort.openPort(SerialPort.java:167)
   at processing.app.Serial.touchForCDCReset(Serial.java:101)
   ... 6 more


When the CIRCUITPY is visible (COM16) I get this error.
Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.7 (Windows Store 1.8.15.0) (Windows 10), Board: "Adafruit Circuit Playground Express"

Sketch uses 10264 bytes (3%) of program storage space. Maximum is 262144 bytes.
No device found on COM16
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


Update: it seems that the COM ports switch sometimes when I attempt to upload the Blinky code. CPLAYPY switches from COM16 to COM5.

Update 2:
Here are some messages from the Device Manager:
Code: Select all | TOGGLE FULL SIZE
Log Name:      Microsoft-Windows-Kernel-PnP/Configuration
Source:        Microsoft-Windows-Kernel-PnP
Date:          2018-10-26 3:48:58 PM
Event ID:      442
Task Category: None
Level:         Warning
Keywords:     
User:          SYSTEM
Computer:      EVE
Description:
Device USB\VID_239A&PID_0018\5&2d7375de&0&9 was not migrated due to partial or ambiguous match.

Last Device Instance Id: USB\VID_0765&PID_6003\5&2d7375de&0&9
Class Guid: {d0142122-f525-4e76-86b3-e8afd91364f2}
Location Path: PCIROOT(0)#PCI(0200)#USBROOT(0)#USB(9)
Migration Rank: 0xF000FFFFFFFF0023
Present: false
Status: 0xC0000719
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Kernel-PnP" Guid="{9C205A39-1250-487D-ABD7-E831C6290539}" />
    <EventID>442</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2018-10-26T22:48:58.022510600Z" />
    <EventRecordID>977</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="14716" />
    <Channel>Microsoft-Windows-Kernel-PnP/Configuration</Channel>
    <Computer>EVE</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="DeviceInstanceId">USB\VID_239A&amp;PID_0018\5&amp;2d7375de&amp;0&amp;9</Data>
    <Data Name="LastDeviceInstanceId">USB\VID_0765&amp;PID_6003\5&amp;2d7375de&amp;0&amp;9</Data>
    <Data Name="ClassGuid">{D0142122-F525-4E76-86B3-E8AFD91364F2}</Data>
    <Data Name="LocationPath">PCIROOT(0)#PCI(0200)#USBROOT(0)#USB(9)</Data>
    <Data Name="MigrationRank">0xf000ffffffff0023</Data>
    <Data Name="Present">false</Data>
    <Data Name="Status">0xc0000719</Data>
  </EventData>
</Event>


Update 3:
I have a second Circuit Playground Express (From Adabox 008) attached to the Crickit, which was working fine the last time I used it about three days ago and has never been used in Python (CIRCUITPY) mode. It does the same thing. The CPLAYBOOT drive doesn't appear when it should. The only change that sticks out in my mind is that I installed Arduino (and Libraries) to use on the Hallowing (Adabox 009) following the instructions on the website.

I tried uninstalling Ardiuno on my main desktop, but that did nothing. I pulled out my old laptop that has Ardiuno, but never the Adafruit libraries on it and both CPX worked perfectly. There is something wrong with the Adafruit Ardiuno Libraries that is preventing the CPX from loading in BOOT mode. Is there a way to roll back the Library installation.

You know I am hoping that this time it wont take a week and a half for the "Support" to reply to my request.

Jkkato
 
Posts: 24
Joined: Tue Mar 28, 2017 7:04 pm

Re: CPLAYBOOT doesn't show up

by adafruit_support_carter on Fri Oct 26, 2018 10:18 pm

See here:
https://learn.adafruit.com/welcome-to-c ... esent-18-2
and also check if you have any of this:
https://learn.adafruit.com/welcome-to-c ... drive-18-9

It's weird that you were able to see it at one point:
I can see and write to the CIRCUITPY drive or CPLAYBOOT

viewtopic.php?f=58&t=141519#p699659

Are you on the same computer you were using then? Or has anything else changed?

adafruit_support_carter
 
Posts: 23681
Joined: Tue Nov 29, 2016 2:45 pm

Re: CPLAYBOOT doesn't show up

by Jkkato on Sat Oct 27, 2018 12:35 am

adafruit_support_carter wrote:See here:
https://learn.adafruit.com/welcome-to-c ... esent-18-2
and also check if you have any of this:
https://learn.adafruit.com/welcome-to-c ... drive-18-9

It's weird that you were able to see it at one point:
I can see and write to the CIRCUITPY drive or CPLAYBOOT

viewtopic.php?f=58&t=141519#p699659

Are you on the same computer you were using then? Or has anything else changed?


I did try both those links, but they require access to the CPLAYBOOT, which I do not have (on my main computer). I did mention in my first post (maybe read it over again) that the only thing that sticks out that is different from (the approx. two week period) when both CPX worked and now is that I used the Hallowing board and installed the Ardiuno and drivers outlined in the Adabox 009 instructions. Aside from that, and the standard windows update (W10) and Java updates, I installed the Flir Cloud Client (but that is also running on my laptop which doesn't have this problem). I have also tried uninstalling/reinstalling the drivers for the CPX in the windows device manager and switching from the motherboard USB 2.0 ports to PCI card USB 3.0 ports.

Switching to my laptop, that I haven't used in a month, both CPX work as I expected them too, the first time. Up until now I have been on my home desktop computer. The Desktop still cannot connect to CPLAYBOOT.

Jkkato
 
Posts: 24
Joined: Tue Mar 28, 2017 7:04 pm

Re: CPLAYBOOT doesn't show up

by adafruit_support_carter on Mon Oct 29, 2018 12:34 pm

You should always be able to get back to bootloader and see the CPLAYBOOT folder. When you say they work as expected on the laptop - you are able to see CPLAYBOOT for both CPX's there?

adafruit_support_carter
 
Posts: 23681
Joined: Tue Nov 29, 2016 2:45 pm

Re: CPLAYBOOT doesn't show up

by Jkkato on Mon Oct 29, 2018 1:08 pm

adafruit_support_carter wrote:You should always be able to get back to bootloader and see the CPLAYBOOT folder. When you say they work as expected on the laptop - you are able to see CPLAYBOOT for both CPX's there?


Both drives appear on the Laptop. Only CircuitPy appears on the desktop.

I quickly took four photos (of each mode on the two computers), although I can't upload all in a single post, so I will do a second post with the Laptop. This CPX is currently hard wired into my Halloween project, but it is the same for the other CPX which is attached to the Crickit. Note I am running a .py that has the neopixels turned ON red when in circuitpy mode.

I noticed, when resizing these photos, that the device name is different in the device manager. Also see my comment above about there being an error when I switch to boot mode in the device manager. I believe the problem is related to that and the Adafruit Ardiuno drivers.
Attachments
DesktopBoot.jpg
What should be CPLAYBOOT on the desktop
DesktopBoot.jpg (147 KiB) Viewed 307 times
DesktopPy.jpg
CircuitPython on the desktop
DesktopPy.jpg (181.99 KiB) Viewed 307 times

Jkkato
 
Posts: 24
Joined: Tue Mar 28, 2017 7:04 pm

Re: CPLAYBOOT doesn't show up

by Jkkato on Mon Oct 29, 2018 1:10 pm

Here are the Laptop photos...

Both CPLAYBOOT and CIRCUITPY drives show up.
Attachments
LaptopPy.jpg
CircuitPython on the laptop
LaptopPy.jpg (173.6 KiB) Viewed 307 times
LaptopBoot.jpg
CPLAYBOOT on the laptop
LaptopBoot.jpg (152.07 KiB) Viewed 307 times

Jkkato
 
Posts: 24
Joined: Tue Mar 28, 2017 7:04 pm

Re: CPLAYBOOT doesn't show up

by adafruit_support_carter on Mon Oct 29, 2018 1:19 pm

Thanks. That helps. It sounds like you may be having this issue on the desktop:
https://learn.adafruit.com/adafruit-cir ... shooting-2

adafruit_support_carter
 
Posts: 23681
Joined: Tue Nov 29, 2016 2:45 pm

Re: CPLAYBOOT doesn't show up

by Jkkato on Mon Oct 29, 2018 11:15 pm

adafruit_support_carter wrote:Thanks. That helps. It sounds like you may be having this issue on the desktop:
https://learn.adafruit.com/adafruit-cir ... shooting-2


I just tried this. So far it is working now. Thank you.

Jkkato
 
Posts: 24
Joined: Tue Mar 28, 2017 7:04 pm

Re: CPLAYBOOT doesn't show up

by adafruit_support_carter on Tue Oct 30, 2018 2:19 pm

Yeah! Glad that fixed it.

Really cool looking project by the way.

adafruit_support_carter
 
Posts: 23681
Joined: Tue Nov 29, 2016 2:45 pm

Re: CPLAYBOOT doesn't show up

by Jkkato on Tue Oct 30, 2018 7:38 pm

adafruit_support_carter wrote:Yeah! Glad that fixed it.

Really cool looking project by the way.



Thanks. Here is the latest video of the sound activated Circuit Playground Express Terminator skull. I bought a 3d printer for $130 USD in the summer...
https://youtu.be/jzGvkmrqAzk

And I also printed and painted a case for the Hallowing. Both turned out pretty good.
Attachments
2018-10-28 21.13.41-1.jpg
Circuit Playground Halloween project. Everything, including the battery fits inside.
2018-10-28 21.13.41-1.jpg (114.13 KiB) Viewed 261 times
2018-10-24 21.04.58.jpg
Hallowing (from Adabox 009) and Case 3d printed and painted
2018-10-24 21.04.58.jpg (180.32 KiB) Viewed 261 times

Jkkato
 
Posts: 24
Joined: Tue Mar 28, 2017 7:04 pm

Please be positive and constructive with your questions and comments.