GEMMA M0 on Mac OS (Monterey)

Wearable electronics: boards, conductive materials, and projects from Adafruit!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
doym
 
Posts: 23
Joined: Mon Nov 25, 2013 2:10 pm

GEMMA M0 on Mac OS (Monterey)

Post by doym »

hi--I'm new to Gemma/Arduino/CircuitPython. I'm starting to play around with my Gemmo M0 on my MacBook (OS 12.0.1 Monterey). I'm trying to program it on Arduino IDE (v1.8.15), but am getting some strange behaviors.

Firstly, after I download a Gemma Sketch (including ones I copy straight from Adafruit projects--so the code should be good), I get a weird red text error in the bottom IDE window (see attached screenshot). The sketch will load up and run for the most part on the gemma, but I don't understand that error. Also, when I download the sketch, I get a pop-up on my Mac desktop stating that I've ejected the Gemma Device. I'm attaching screenshots of that as well as the Board Setup on Arduino (which looks correct).

I also noticed that the Gemma doesn't show up as a Device on my Finder sidebar at all. And I tried to follow the instructions to install circuit python, but I'm not sure the instructions are up to date with Mac OS 12.0--and scared to enter anything into HomeBrew.

Any help on the Arduino IDE errors, the Gemma being seen on my Mac as a device and installing circuit python (for absolute novices!! I don't feel comfortable changing deep settings on the Mac terminal).

Help?
Thanks!
Attachments
error in Arduino IDE when downloading sketch on Gemma
error in Arduino IDE when downloading sketch on Gemma
Screen Shot 2021-12-30 at 7.09.28 PM.png (549.13 KiB) Viewed 237 times
gemma eject pop-up
gemma eject pop-up
Screen Shot 2021-12-30 at 7.09.03 PM.png (236.99 KiB) Viewed 237 times
gemma board set up on Arduino IDE
gemma board set up on Arduino IDE
Screen Shot 2021-12-30 at 7.09.16 PM.png (228.5 KiB) Viewed 237 times

User avatar
danhalbert
 
Posts: 4655
Joined: Tue Aug 08, 2017 12:37 pm

Re: GEMMA M0 on Mac OS (Monterey)

Post by danhalbert »

GEMMABOOT is the UF2 bootloader drive. This is a fake drive for loading .uf2 files, which are not used by Arduino, but are a way of loading CircuitPython and other software distributed in UF2 form.

You can ignore those notifications about GEMMABOOT not being ejected properly. It's because when the Arduino program starts, GEMMABOOT disappears abruptly.

To load CircuitPython download the Gemma M0 UF2 file from here: https://circuitpython.org/board/gemma_m0/, double-click the reset button, and drag the uf2 file to GEMMABOOT. CIRCUITPY should start.

This is all covered in the Gemma M0 guide.

User avatar
doym
 
Posts: 23
Joined: Mon Nov 25, 2013 2:10 pm

Re: GEMMA M0 on Mac OS (Monterey)

Post by doym »

Hi — thanks!

I was trying to follow the guide to get circuitpy for Mac (and granted i’m on the newest update of the OS—Monterey). But I couldn’t get it to work. Is there any guide on how to get circuitpy installed for Mac OS 12?

Thx!

User avatar
danhalbert
 
Posts: 4655
Joined: Tue Aug 08, 2017 12:37 pm

Re: GEMMA M0 on Mac OS (Monterey)

Post by danhalbert »

You want to install CircuitPython on the Gemma M0, right? You just need to do the download, double-click to get the BOOT drive, and then drag the UF2, as I described above.

The intro guide for all this is https://learn.adafruit.com/welcome-to-circuitpython, and also see the CircuitPython pages in this guide: https://learn.adafruit.com/adafruit-gemma-m0
Normally then you want to install the Mu editor on macOS.

User avatar
doym
 
Posts: 23
Joined: Mon Nov 25, 2013 2:10 pm

Re: GEMMA M0 on Mac OS (Monterey)

Post by doym »

Ah yes—however for some reason GEMMA never shows up as a device on my Mac finder for some reason. Any ideas? Thanks for your help!

User avatar
danhalbert
 
Posts: 4655
Joined: Tue Aug 08, 2017 12:37 pm

Re: GEMMA M0 on Mac OS (Monterey)

Post by danhalbert »

Sorry, I missed your reply here. Are you still having trouble? You can get the GEMMABOOT drive to show up, right, and then drag the .uf2 downloaded from here: https://circuitpython.org/board/gemma_m0/ to GEMMABOOT. Then CIRCUITPY should show up. If it does not, see the troubleshooting tips here:
https://learn.adafruit.com/adafruit-gem ... 2978456-26

If you can connect to the REPL via Mu or another terminal program, then you can erase and reformat CIRCUITPY.

Do you have any third-party virus scanners or other utility programs running on the Mac?

Locked
Please be positive and constructive with your questions and comments.

Return to “Wearables”