Serial Ports on Mac Mini M1

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
RickDeNatale
 
Posts: 19
Joined: Tue Sep 30, 2014 12:48 am

Serial Ports on Mac Mini M1

Post by RickDeNatale »

Does anyone have wisdom on running the Arduino IDE on one of the new Mac mini M1s?

There are two USB-C ports and two USB-A ports. one of my usb-C ports is tied up for my display. One of the USB-A ports is tied up with a hub. in the display. I need to use the usb-c/thunderbold port for the display because the Mac mini and the ASUS display don't get along well on the HDMI connection.

I'm trying to develop code for feathers communicating by RFM69. I've hooked one Feather M0 to the USB-C port using a USB-C to micro-B cable. The other is hooked up to the free USB-A port. I know I need to run multiple instances of the IDE and I know how to that with the open -n command, but first I need to have them both seen.

I can see the feather on USB-C as a port in Arduino and in System Information;
Mac System Information
Mac System Information
Screen Shot 2021-07-15 at 3.25.58 PM.png (222.4 KiB) Viewed 1671 times
I've tried moving the USB-A from the port directly on the Mini to one of the ports on the display, and to as port on the keyboard, but the Mac never seems to see it.

Here is what ls shows:

Code: Select all

ls /dev/cu*
/dev/cu.Bluetooth-Incoming-Port	/dev/cu.debug-console		/dev/cu.usbmodem1101		/dev/cu.wlan-debug
and here is the complete /dev directory

Code: Select all

/
aes_0 afsc_type5 apfs-raw-device.2.0 auditpipe auditsessions autofs autofs_control autofs_homedirmounter autofs_notrigger autofs_nowait bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 console cu.Bluetooth-Incoming-Port cu.debug-console cu.usbmodem1101 cu.wlan-debug disk0 disk0s1 disk0s2 disk0s3 disk1 disk1s1 disk1s2 disk1s3 disk1s4 disk2 disk2s1 disk2s2 disk3 disk3s1 disk3s1s1 disk3s2 disk3s3 disk3s4 disk3s5 disk3s6 disk6 disk6s1 dtrace dtracehelper fbt fd fsevents io8log io8logmt io8logtemp klog lockstat monotonic null oslog oslog_stream pf pfm profile ptmx ptyp0 ptyp1 ptyp2 ptyp3 ptyp4 ptyp5 ptyp6 ptyp7 ptyp8 ptyp9 ptypa ptypb ptypc ptypd ptype ptypf ptyq0 ptyq1 ptyq2 ptyq3 ptyq4 ptyq5 ptyq6 ptyq7 ptyq8 ptyq9 ptyqa ptyqb ptyqc ptyqd ptyqe ptyqf ptyr0 ptyr1 ptyr2 ptyr3 ptyr4 ptyr5 ptyr6 ptyr7 ptyr8 ptyr9 ptyra ptyrb ptyrc ptyrd ptyre ptyrf ptys0 ptys1 ptys2 ptys3 ptys4 ptys5 ptys6 ptys7 ptys8 ptys9 ptysa ptysb ptysc ptysd ptyse ptysf ptyt0 ptyt1 ptyt2 ptyt3 ptyt4 ptyt5 ptyt6 ptyt7 ptyt8 ptyt9 ptyta ptytb ptytc ptytd ptyte ptytf ptyu0 ptyu1 ptyu2 ptyu3 ptyu4 ptyu5 ptyu6 ptyu7 ptyu8 ptyu9 ptyua ptyub ptyuc ptyud ptyue ptyuf ptyv0 ptyv1 ptyv2 ptyv3 ptyv4 ptyv5 ptyv6 ptyv7 ptyv8 ptyv9 ptyva ptyvb ptyvc ptyvd ptyve ptyvf ptyw0 ptyw1 ptyw2 ptyw3 ptyw4 ptyw5 ptyw6 ptyw7 ptyw8 ptyw9 ptywa ptywb ptywc ptywd ptywe ptywf random rdisk0 rdisk0s1 rdisk0s2 rdisk0s3 rdisk1 rdisk1s1 rdisk1s2 rdisk1s3 rdisk1s4 rdisk2 rdisk2s1 rdisk2s2 rdisk3 rdisk3s1 rdisk3s1s1 rdisk3s2 rdisk3s3 rdisk3s4 rdisk3s5 rdisk3s6 rdisk6 rdisk6s1 stderr stdin stdout tty tty.Bluetooth-Incoming-Port tty.debug-console tty.usbmodem1101 tty.wlan-debug ttyp0 ttyp1 ttyp2 ttyp3 ttyp4 ttyp5 ttyp6 ttyp7 ttyp8 ttyp9 ttypa ttypb ttypc ttypd ttype ttypf ttyq0 ttyq1 ttyq2 ttyq3 ttyq4 ttyq5 ttyq6 ttyq7 ttyq8 ttyq9 ttyqa ttyqb ttyqc ttyqd ttyqe ttyqf ttyr0 ttyr1 ttyr2 ttyr3 ttyr4 ttyr5 ttyr6 ttyr7 ttyr8 ttyr9 ttyra ttyrb ttyrc ttyrd ttyre ttyrf ttys0 ttys000 ttys001 ttys002 ttys003 ttys004 ttys1 ttys2 ttys3 ttys4 ttys5 ttys6 ttys7 ttys8 ttys9 ttysa ttysb ttysc ttysd ttyse ttysf ttyt0 ttyt1 ttyt2 ttyt3 ttyt4 ttyt5 ttyt6 ttyt7 ttyt8 ttyt9 ttyta ttytb ttytc ttytd ttyte ttytf ttyu0 ttyu1 ttyu2 ttyu3 ttyu4 ttyu5 ttyu6 ttyu7 ttyu8 ttyu9 ttyua ttyub ttyuc ttyud ttyue ttyuf ttyv0 ttyv1 ttyv2 ttyv3 ttyv4 ttyv5 ttyv6 ttyv7 ttyv8 ttyv9 ttyva ttyvb ttyvc ttyvd ttyve ttyvf ttyw0 ttyw1 ttyw2 ttyw3 ttyw4 ttyw5 ttyw6 ttyw7 ttyw8 ttyw9 ttywa ttywb ttywc ttywd ttywe ttywf uart.debug-console uart.wlan-debug urandom zero  

Also I installed lusb via home-brew and get this:

Code: Select all

rick@Ricks-Mac-mini RobotReel % lsusb
Bus 001 Device 001: ID 239a:800b 239a Feather M0  Serial: B59F99BA50533336372E3120FF141137
Bus 002 Device 001: ID 05e3:0610 Genesys Logic, Inc. USB2.0 Hub 
Bus 002 Device 003: ID 093a:2510 Pixart Imaging, Inc. USB Optical Mouse 
Bus 002 Device 004: ID 05ac:1006 Apple Inc. Keyboard Hub  Serial: 000000000000
Bus 002 Device 007: ID 05ac:0220 Apple Inc. Apple Keyboard 
Bus 002 Device 002: ID 05e3:0610 Genesys Logic, Inc. USB2.0 Hub 
Bus 002 Device 006: ID 046d:082d Logitech Inc. HD Pro Webcam C920  Serial: 668F32EF
Bus 002 Device 008: ID 0781:5583 SanDisk Corporation SanDisk 3.2Gen1  Serial: 040141d7d07442f02a111f7b76fdf96062b5256a8def2d7856ead20632cbf57293a500000000000000000000f2b73427000a751883558107132b4843
Bus 002 Device 005: ID 05e3:0743 Genesys Logic, Inc. USB Reader  Serial: 000000000002
Bus 000 Device 000: ID 239a:800b 239a USB 3.1 Bus 
Bus 000 Device 001: ID 1d6b:XHCI
1100 Linux Foundation USB 3.1 Bus
Another minor thing is that if I unplug the feather on the usb-c port, I sometimes get a complaint notification that I didn't eject featheboot before unplugging. But the device never shows up as a device in the finder so I can''t easily eject it.

User avatar
Franklin97355
 
Posts: 23903
Joined: Mon Apr 21, 2008 2:33 pm

Re: Serial Ports on Mac Mini M1

Post by Franklin97355 »

Are your feathers both M0? It sounds like you have a bootloader trying to emulate a disk.

User avatar
RickDeNatale
 
Posts: 19
Joined: Tue Sep 30, 2014 12:48 am

Re: Serial Ports on Mac Mini M1

Post by RickDeNatale »

franklin97355 wrote:Are your feathers both M0? It sounds like you have a bootloader trying to emulate a disk.
Yes they are.

I don’t understand why it doesn’t show up in the finder though.

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

Re: Serial Ports on Mac Mini M1

Post by adafruit2 »

you can ignore the eject complaint. why it isnt showing up isnt terribly important if you're not using UF2
i think we did write up how to disable the macos complaint, but it can also just be ignored.

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

Return to “Arduino”