Circuit Playground Classics---dying in droves

This is a special forum devoted to educators using Adafruit and Arduino products for teaching.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit2
 
Posts: 21200
Joined: Fri Mar 11, 2005 7:36 pm

Re: Circuit Playground Classics---dying in droves

Post by adafruit2 »

and you have the circuit playground plugged in?

User avatar
shop4mondon
 
Posts: 46
Joined: Tue May 03, 2022 2:56 pm

Re: Circuit Playground Classics---dying in droves

Post by shop4mondon »

Drat...It was unplugged

Here ya go

Code: Select all

Last login: Tue May 24 16:13:37 on ttys000

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
BSH-STF-DCARTE3:~ don.carter$ lsusb
2022-05-24 16:26:44.068 system_profiler[19080:338617] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
2022-05-24 16:26:44.069 system_profiler[19080:338617] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
2022-05-24 16:26:44.069 system_profiler[19080:338617] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
2022-05-24 16:26:44.070 system_profiler[19080:338617] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
2022-05-24 16:26:44.070 system_profiler[19080:338617] SPUSBDevice: IOCreatePlugInInterfaceForService failed 0xe00002be
Bus 020 Device 001: ID 05ac:100f Apple Inc. USB2.0 Hub 
Bus 020 Device 014: ID 239a:8011 239a Circuit Playground 
Bus 020 Device 002: ID 05ac:1460 Apple Inc. USB-C Digital AV Multiport Adapter  Serial: DLC926700K3G2KQAE
Bus 000 Device 001: ID 05ac:100e Apple Inc. USB3.0 Hub 
/usr/local/bin/lsusb: line 89: 16#80
80
80
80
80: syntax error in expression (error token is "80
80
80
80")
Bus 000 Device 000: ID 05ac
05ac
05ac
05ac
05ac:027a
8103
8262
8514
8233 Apple Inc.
Apple Inc.
Apple Inc.
Apple Inc.
Apple Inc. Apple Internal Keyboard / Trackpad  Serial: FM7919708Q7HYMLAC+MDG
000000000000
000000000000
DJH9225FL7EJ3Y51P
0000000000000000
Bus 000 Device 001: ID 1d6b:PTLP Linux Foundation USB 3.0 Bus 
Bus 000 Device 001: ID 1d6b:CITR Linux Foundation USB 3.1 Bus 
Bus 000 Device 000: ID 05ac:027a Apple Inc. Apple T2 Bus 
BSH-STF-DCARTE3:~ don.carter$ 

User avatar
adafruit2
 
Posts: 21200
Joined: Fri Mar 11, 2005 7:36 pm

Re: Circuit Playground Classics---dying in droves

Post by adafruit2 »

ok in bootloader mode and plugged into mac, run `lsusb` in terminal
then do the same in non-bootloader mode
paste BOTH outputs and indicate which is which

User avatar
shop4mondon
 
Posts: 46
Joined: Tue May 03, 2022 2:56 pm

Re: Circuit Playground Classics---dying in droves

Post by shop4mondon »

Screen 1
During normal download attempt

Screen 2
After double clicking reset button
Attachments
Screen 2.png
Screen 2.png (280.91 KiB) Viewed 1265 times
Screen 1 .png
Screen 1 .png (304.29 KiB) Viewed 1265 times

User avatar
adafruit2
 
Posts: 21200
Joined: Fri Mar 11, 2005 7:36 pm

Re: Circuit Playground Classics---dying in droves

Post by adafruit2 »

ok well its finding it in bootloader mode

now install avrdude:

Code: Select all

brew install avrdude
only thing you can try now is to put the board in bootloader mode, then type

Code: Select all

avrdude -v -patmega32u4 -cavr109 -P/dev/cu.usbmodem* -b57600
hit return to run it right after you double click and you see the pulsing LED so its definitely in bootloader mode

User avatar
shop4mondon
 
Posts: 46
Joined: Tue May 03, 2022 2:56 pm

Re: Circuit Playground Classics---dying in droves

Post by shop4mondon »

Here's what I get

Code: Select all

BSH-STF-DCARTE3:~ don.carter$ avrdude -v -patmega32u4 -cavr109 -P/dev/cu.usbmodem* -b57600

avrdude: Version 7.0
         Copyright (c) Brian Dean, http://www.bdmicro.com/
         Copyright (c) Joerg Wunsch

         System wide configuration file is "/usr/local/Cellar/avrdude/7.0/bin/../etc/avrdude.conf"
         User configuration file is "/Users/don.carter/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem*
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
avrdude: ser_open(): can't open device "/dev/cu.usbmodem*": No such file or directory
avrdude: opening programmer "avr109" on port "/dev/cu.usbmodem*" failed

avrdude done.  Thank you.

User avatar
adafruit2
 
Posts: 21200
Joined: Fri Mar 11, 2005 7:36 pm

Re: Circuit Playground Classics---dying in droves

Post by adafruit2 »

try this post again, you should see the device when the CP is plugged in
viewtopic.php?f=48&t=191051&start=45#p925598

User avatar
shop4mondon
 
Posts: 46
Joined: Tue May 03, 2022 2:56 pm

Re: Circuit Playground Classics---dying in droves

Post by shop4mondon »

Howdy

We are still stuck with a bunch of Circuit Playgrounds that won't take sketches.

We have been through dozens of posts suggesting fixes, but no luck.

Is there a point we declare them defective?

Is there a chance that Adafruit would just replace the devices?

User avatar
adafruit2
 
Posts: 21200
Joined: Fri Mar 11, 2005 7:36 pm

Re: Circuit Playground Classics---dying in droves

Post by adafruit2 »

the issue is, if we keep replacing them and they keep 'dying in droves', the issue wont resolve itself and we'll be back where we started. we dont know anyone else who can't upload to a CPC - we really think its some mismatch in upload technique - maybe bad timing on trying to upload to the bootloader - but since we are not physically wher eyou are we have to go through our tests step-by-step

can you use CPX instead?

User avatar
shop4mondon
 
Posts: 46
Joined: Tue May 03, 2022 2:56 pm

Re: Circuit Playground Classics---dying in droves

Post by shop4mondon »

Howdy

We tried several strategies ourselves, before we posted to this forum.
We used MacOS, WindowsOS, reinstalling IDE, multiple cables, different sketches, etc.

Then, we have done our best to follow your directions vis this forum and have sent you several lines of code.

We have not received any diagnosis, yet.

But, we have not given up
So, what is CPX ?

User avatar
adafruit2
 
Posts: 21200
Joined: Fri Mar 11, 2005 7:36 pm

Re: Circuit Playground Classics---dying in droves

Post by adafruit2 »

right we havent gotten a diagnosis yet because we were waiting for y'all to retry running avrdude with the CPC plugged in.
this is a CPX https://www.adafruit.com/product/3333

User avatar
shop4mondon
 
Posts: 46
Joined: Tue May 03, 2022 2:56 pm

Re: Circuit Playground Classics---dying in droves

Post by shop4mondon »

OK

I guess that I got lost. I'll look through the posts... thought I did everything and sent you code outputs.
So, I'm running the avrdude command in HomeBrew?

BTW:

We already have the Circuit Playground Express devices. They work fine with Python. We were afraid to try Arduino

User avatar
shop4mondon
 
Posts: 46
Joined: Tue May 03, 2022 2:56 pm

Re: Circuit Playground Classics---dying in droves

Post by shop4mondon »

Hmmmm,

I think I did the avrdude command

Can you check the posts I made on Wed. May 25?

User avatar
adafruit2
 
Posts: 21200
Joined: Fri Mar 11, 2005 7:36 pm

Re: Circuit Playground Classics---dying in droves

Post by adafruit2 »

yep see our reply, you should be able to run

avrdude -v -patmega32u4 -cavr109 -P/dev/cu.usbmodem* -b57600

make sure the board is plugged in, and you can use ls /dev/cu.usbmodem* from
viewtopic.php?f=48&t=191051&start=45#p925598
to verify that the device exists

User avatar
shop4mondon
 
Posts: 46
Joined: Tue May 03, 2022 2:56 pm

Re: Circuit Playground Classics---dying in droves

Post by shop4mondon »

I ran the code in the terminal while the upload was running in arduino



Code: Select all

Last login: Tue May 31 08:08:06 on console

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
BSH-STF-DCARTE3:~ don.carter$ avrdude -v -patmega32u4 -cavr109 -P/dev/cu.usbmodem* -b57600

avrdude: Version 7.0
         Copyright (c) Brian Dean, http://www.bdmicro.com/
         Copyright (c) Joerg Wunsch

         System wide configuration file is "/usr/local/Cellar/avrdude/7.0/bin/../etc/avrdude.conf"
         User configuration file is "/Users/don.carter/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/cu.usbmodem*
         Using Programmer              : avr109
         Overriding Baud Rate          : 57600
avrdude: ser_open(): can't open device "/dev/cu.usbmodem*": No such file or directory
avrdude: opening programmer "avr109" on port "/dev/cu.usbmodem*" failed

avrdude done.  Thank you.

BSH-STF-DCARTE3:~ don.carter$ 

Post Reply
Please be positive and constructive with your questions and comments.

Return to “For Educators”