0

I messed up my Gemma M0 somehow.
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

I messed up my Gemma M0 somehow.

by agilliam on Wed Oct 10, 2018 5:47 pm

Hey all, I have received my Gemma M0 and when I plugged it in it was flashing through the RGB test code like normal. I thin assembled my two new your pixie sticks for the unicorn horn for my daughter’s Halloween costume. I uploaded the sample code and everything worked fine it was fading through the colors like it should. However I wanted to change the rate and it was changing and when I did that somehow a corrupted the main.py file. Now I can’t get it to do anything I can’t even save the main.py from the original test code back to the drive.

I have uploaded the uf2 firmware/image to my drive f:\ using boot loader mode. But still nothing. Now my led bro pixels don’t even light up! What did I do and how do I fix it?

agilliam
 
Posts: 5
Joined: Wed Oct 10, 2018 4:52 pm

Re: I messed up my Gemma M0 somehow.

by agilliam on Wed Oct 10, 2018 5:53 pm

Sorry for the typos. Siri is making me mad. It keeps messing up my posts.

I’m using the 8 led NEO pixel sticks.

agilliam
 
Posts: 5
Joined: Wed Oct 10, 2018 4:52 pm

Re: I messed up my Gemma M0 somehow.

by agilliam on Wed Oct 10, 2018 9:26 pm

As an update and desperate attempt to fix this, I tried deleting all files on the drive and extracting the zip file from the adafruit website. It is now back the way it was when I received it. With 1 major problem. It still isn’t working. Not the default python code or the unicorn python code. And I have renamed the files to main.py.

Nothing is working at all. I’ve double, triple and quadruple checked the connections. Only 3 wires and they are wired correctly. I have green as ground going to GND on Gemma to the GND pad on NEO pixels. I have purple wire going from D1 on Gemma to the DIN pad on the NEO Pixels. And red connected to VOUT to the 5VIN pad.

I have used double sided tape to stick them together and insulate the pads and solder joints. Using 4 pin smd style XH connectors.

Here are a few pics.
Attachments
8796E57F-BB5B-4CA6-81A0-6C2B9090602F.jpeg
8796E57F-BB5B-4CA6-81A0-6C2B9090602F.jpeg (47.48 KiB) Viewed 48 times
9BD19CA5-EEC9-423E-BD8D-42287C0507BE.jpeg
9BD19CA5-EEC9-423E-BD8D-42287C0507BE.jpeg (75.97 KiB) Viewed 48 times
BAD47FBA-7130-47FA-B427-A0AC7629480A.jpeg
BAD47FBA-7130-47FA-B427-A0AC7629480A.jpeg (55.6 KiB) Viewed 48 times

agilliam
 
Posts: 5
Joined: Wed Oct 10, 2018 4:52 pm

Re: I messed up my Gemma M0 somehow.

by agilliam on Wed Oct 10, 2018 9:44 pm

Never mind. It’s been fixed. Took a lot of research but is good now.

agilliam
 
Posts: 5
Joined: Wed Oct 10, 2018 4:52 pm

Re: I messed up my Gemma M0 somehow.

by agilliam on Wed Oct 10, 2018 10:14 pm

It only works when I program it using Arduino IDE. As soon as I put circuitpython / circuitplayground, it does nothing.

Anyone help me with that?

agilliam
 
Posts: 5
Joined: Wed Oct 10, 2018 4:52 pm

Re: I messed up my Gemma M0 somehow.

by danhalbert on Sun Oct 14, 2018 9:13 am

How did you fix it?
How are you reloading CircuitPython, what version, did you add libraries, and what's in main.py or code.py?

danhalbert
 
Posts: 1172
Joined: Tue Aug 08, 2017 12:37 pm

Please be positive and constructive with your questions and comments.