0

CPB & TFT Gizmo no longer mounts on USB
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CPB & TFT Gizmo no longer mounts on USB

by natfast on Wed Mar 03, 2021 8:00 pm

Hi,

I picked up this combo, was able to construct it and the startup test animation plays. But when I insert it into the USB it will not mount on my PI (Buster version 10) like the other CPB units that I have.

In the dev directory, it does load the device as a serial device:
/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0
/dev/serial/by-id/usb-Adafruit_Circuit_Playground_Express_D10B84D550524354372E314AFF0D2814-if00

But it does not show up as a USB drive?
The display just hangs out flashing the inversion of the Play/Pause screen.

Any suggestions?

natfast
 
Posts: 6
Joined: Fri Mar 16, 2018 12:09 am

Re: CPB & TFT Gizmo no longer mounts on USB

by natfast on Wed Mar 03, 2021 9:43 pm

I ran "dmesg | grep usb" with the two CPB Express cards I have and the one with the TFT Gizmo mounted does not register the storage. It seems like a strange USB CDC driver issue.

[ 2658.409598] usb 1-1.1: new full-speed USB device number 15 using xhci_hcd
[ 2658.519825] usb 1-1.1: New USB device found, idVendor=239a, idProduct=8018, bcdDevice= 1.00
[ 2658.519833] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2658.519838] usb 1-1.1: Product: Circuit Playground Express
[ 2658.519843] usb 1-1.1: Manufacturer: Adafruit
[ 2658.519847] usb 1-1.1: SerialNumber: D10B84D550524354372E314AFF0D2814
[ 3009.730023] usb 1-1.1: USB disconnect, device number 15
[ 3018.147767] usb 1-1.1: new full-speed USB device number 16 using xhci_hcd
[ 3018.563557] usb 1-1.1: New USB device found, idVendor=239a, idProduct=8019, bcdDevice= 1.00
[ 3018.563567] usb 1-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 3018.563572] usb 1-1.1: Product: CircuitPlayground Express
[ 3018.563577] usb 1-1.1: Manufacturer: Adafruit Industries LLC
[ 3018.563581] usb 1-1.1: SerialNumber: 062B8EEC45342505A413E27391A2D0FF
[ 3018.583241] usb-storage 1-1.1:1.2: USB Mass Storage device detected
[ 3018.583573] scsi host1: usb-storage 1-1.1:1.2
[ 3018.593217] input: Adafruit Industries LLC CircuitPlayground Express Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:239A:8019.0005/input/input7
[ 3018.652314] input: Adafruit Industries LLC CircuitPlayground Express Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:239A:8019.0005/input/input8
[ 3018.652533] input: Adafruit Industries LLC CircuitPlayground Express Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:239A:8019.0005/input/input9
[ 3018.652668] input: Adafruit Industries LLC CircuitPlayground Express as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:239A:8019.0005/input/input10
[ 3018.652891] hid-generic 0003:239A:8019.0005: input,hidraw0: USB HID v1.11 Keyboard [Adafruit Industries LLC CircuitPlayground Express] on usb-0000:01:00.0-1.1/input3
[ 3283.237330] usb 1-1.1: USB disconnect, device number 16
[ 3301.068745] usb 1-1.1: new full-speed USB device number 17 using xhci_hcd
[ 3301.179215] usb 1-1.1: New USB device found, idVendor=239a, idProduct=8018, bcdDevice= 1.00
[ 3301.179233] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3301.179244] usb 1-1.1: Product: Circuit Playground Express
[ 3301.179254] usb 1-1.1: Manufacturer: Adafruit
[ 3301.179263] usb 1-1.1: SerialNumber: D10B84D550524354372E314AFF0D2814

natfast
 
Posts: 6
Joined: Fri Mar 16, 2018 12:09 am

Re: CPB & TFT Gizmo no longer mounts on USB

by adafruit_support_carter on Thu Mar 04, 2021 12:49 pm

Is the issue only with the Gizmo attached? If you remove it, the CPB behaves as expected?

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

Re: CPB & TFT Gizmo no longer mounts on USB

by natfast on Thu Mar 04, 2021 6:35 pm

I removed the gizmo and the CPB Express does not behave as it did before attaching the gizmo. The dmesg for the device now reads:
[ 521.511589] usb 1-1.1: new full-speed USB device number 7 using xhci_hcd
[ 521.620606] usb 1-1.1: New USB device found, idVendor=239a, idProduct=8018, bcdDevice= 1.00
[ 521.620626] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 521.620638] usb 1-1.1: Product: Circuit Playground Express
[ 521.620649] usb 1-1.1: Manufacturer: Adafruit
[ 521.620660] usb 1-1.1: SerialNumber: D10B84D550524354372E314AFF0D2814

Where as the properly functioning CPB Express gets:
[ 729.156154] usb 1-1.1: new full-speed USB device number 8 using xhci_hcd
[ 729.587925] usb 1-1.1: New USB device found, idVendor=239a, idProduct=8019, bcdDevice= 1.00
[ 729.587947] usb 1-1.1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 729.587960] usb 1-1.1: Product: CircuitPlayground Express
[ 729.587971] usb 1-1.1: Manufacturer: Adafruit Industries LLC
[ 729.587982] usb 1-1.1: SerialNumber: 062B8EEC45342505A413E27391A2D0FF
[ 729.740986] usb-storage 1-1.1:1.2: USB Mass Storage device detected
[ 729.742290] scsi host1: usb-storage 1-1.1:1.2
[ 729.755533] input: Adafruit Industries LLC CircuitPlayground Express Keyboard as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:239A:8019.0004/input/input3
[ 729.813343] input: Adafruit Industries LLC CircuitPlayground Express Mouse as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:239A:8019.0004/input/input4
[ 729.813802] input: Adafruit Industries LLC CircuitPlayground Express Consumer Control as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:239A:8019.0004/input/input5
[ 729.814090] input: Adafruit Industries LLC CircuitPlayground Express as /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.3/0003:239A:8019.0004/input/input6
[ 729.814527] hid-generic 0003:239A:8019.0004: input,hidraw3: USB HID v1.11 Keyboard [Adafruit Industries LLC CircuitPlayground Express] on usb-0000:01:00.0-1.1/input3
[ 729.941561] usbcore: registered new interface driver snd-usb-audio

natfast
 
Posts: 6
Joined: Fri Mar 16, 2018 12:09 am

Re: CPB & TFT Gizmo no longer mounts on USB

by adafruit_support_carter on Thu Mar 04, 2021 7:02 pm

Let's verify what hardware you have. Is it one of these?
https://www.adafruit.com/product/3000
one of these?
https://www.adafruit.com/product/3333
or one of these?
https://www.adafruit.com/product/4333

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

Re: CPB & TFT Gizmo no longer mounts on USB

by natfast on Thu Mar 04, 2021 7:05 pm

okay, so I double clicked the reset button to put it into bootloader mode and it behaved as expected and loaded as a mountable USB drive.

I saw that the bootloader version was 2.0.0 so I updated it to 3.13.0 SFHWR0

Reset and it stayed in bootloader mode with all the pixel LEDs green.

Reassembled the TFT onto the CPB and when powered up it launched into bootloader mode.

Copied over the TFT Gizmo test UF2 and it reloaded and ran the test, but the board was no longer in bootloader mode and access to the USB drive side of things was not available.

Double clicked the reset button and put the CPB into bootloader mode. USB drive function now available.

So I guess this is how it is supposed to work?

Will have to test with some development to see if the USB messaging works for debugging and output.

natfast
 
Posts: 6
Joined: Fri Mar 16, 2018 12:09 am

Re: CPB & TFT Gizmo no longer mounts on USB

by natfast on Thu Mar 04, 2021 7:08 pm

The boards are both the 3333 model that came with the Circuit Playground Express Advanced pack.

natfast
 
Posts: 6
Joined: Fri Mar 16, 2018 12:09 am

Re: CPB & TFT Gizmo no longer mounts on USB

by adafruit_support_carter on Thu Mar 04, 2021 7:50 pm

Yes, that all sounds correct.

Now that you've updated the bootloader, you probably do not need to worry about it again - in terms of the software. Bootloader mode however is something you'll use every now and then. It's the mode you get into with double pressing reset. When in that mode, you'll see the CPLAYBOOT folder. From there you can install different firmware - the user code you are interested in.

What happens next depends on the UF2 firmware. That Gizmo test UF2 is a pre-compiled example that exercises the Gizmo.

As another example, if you installed CircuitPython firmware:
https://circuitpython.org/downloads
You would then see a CIRCUITPY folder show up and would be running CircuitPython on the board.

And this isn't anything super official, but the general naming is:
PID 3000 = CPC (classic)
PID 3333 = CPX (express)
PID 4333 = CPB (bluefruit)

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

Please be positive and constructive with your questions and comments.