Hi -
My Metro M4 Express does not create a modem in /dev on my MacBook Pro mid-2012, running Mac OS X Catalina 10.15.7. Consequently, I can not open the Arduino Serial Monitor.
The only cu devices in the MacBook /dev are cu.Bluetooth-Incoming-Port and cu.iPhone-WirelessiAPv2
The Metro M4 shows up properly in the Arduino IDE as "Adafruit Metro M4 (SAMD 51)"
Double clicking the Metro M4 Express reset button mounts a boot drive on the
Mac desktop. The INFO_UF2.txt file contains:
UF2 Bootloader v3.14.0 SFHWRO
Model: Metro M4 Express
Board-ID: SAMD51J19A-Metro-v0
I installed the FTDI USB Serial Extension 1_5_0 on the MacBook Pro, but that did not help.
Could I have a defective Metro M4 Express?
Thanks,
Jim Freeman
Metro M4 express USB modem does not appear in dev
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- jamesfreeman
- Posts: 25
- Joined: Sun May 15, 2011 3:17 pm
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Metro M4 express USB modem does not appear in dev
OK, you have the latest bootloader. The Metro M4 doesn't use an FTDI chip, it has native USB so you don't need the extension.
It seems to be working as you can get the boot drive and it shows up in Arduino... so USB communication is fine.
Can you load a sketch onto it? What does Arduino have in the port menu?
Dave
It seems to be working as you can get the boot drive and it shows up in Arduino... so USB communication is fine.
Can you load a sketch onto it? What does Arduino have in the port menu?
Dave
- jamesfreeman
- Posts: 25
- Joined: Sun May 15, 2011 3:17 pm
Re: Metro M4 express USB modem does not appear in dev
Hi Dave -
Yes, no problem loading or running a sketch.
The Arduino IDE port menu only offers cu.Bluetooth-Incoming-Port or cu.iPhone-WirelessiAPv2
Thanks for letting mr know that the FTDI driver is not required.
What would you suggest I do next for debugging?
Thanks,
Jim
Yes, no problem loading or running a sketch.
The Arduino IDE port menu only offers cu.Bluetooth-Incoming-Port or cu.iPhone-WirelessiAPv2
Thanks for letting mr know that the FTDI driver is not required.
What would you suggest I do next for debugging?
Thanks,
Jim
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Metro M4 express USB modem does not appear in dev
So what do you have set as port in order to upload sketches?
If sketches will load I'm not sure why there's a problem.
Dave
If sketches will load I'm not sure why there's a problem.
Dave
- jamesfreeman
- Posts: 25
- Joined: Sun May 15, 2011 3:17 pm
Re: Metro M4 express USB modem does not appear in dev
Hi Dave -
I'm sorry - Sketches aren't loading.
The only ports are /dev/cu.Bluetooth-Incoming-Port and /dev/cu.iPhone-WirelessAPv2
The error messages are:
Arduino: 1.8.19 (Mac OS X), Board: "Adafruit Metro M4 (SAMD51), Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off"
Sketch uses 11076 bytes (2%) of program storage space. Maximum is 507904 bytes.
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
Thanks,
Jim
I'm sorry - Sketches aren't loading.
The only ports are /dev/cu.Bluetooth-Incoming-Port and /dev/cu.iPhone-WirelessAPv2
The error messages are:
Arduino: 1.8.19 (Mac OS X), Board: "Adafruit Metro M4 (SAMD51), Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off"
Sketch uses 11076 bytes (2%) of program storage space. Maximum is 507904 bytes.
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
Thanks,
Jim
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Metro M4 express USB modem does not appear in dev
OK, that's more consistent with the rest of what you're seeing.
Are you using a known good USB data cable? Not a power/charge cable.
Dave
Are you using a known good USB data cable? Not a power/charge cable.
Dave
- jamesfreeman
- Posts: 25
- Joined: Sun May 15, 2011 3:17 pm
Re: Metro M4 express USB modem does not appear in dev
Yes, I've tried every micro USB cable in the house.
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Metro M4 express USB modem does not appear in dev
Right, you get the boot drive, so that cable is good.
Do you get an appropriate port in dev when you have the boot drive?
Dave
Do you get an appropriate port in dev when you have the boot drive?
Dave
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Metro M4 express USB modem does not appear in dev
Did you try resetting or double-resetting as suggested in the message?Arduino: 1.8.19 (Mac OS X), Board: "Adafruit Metro M4 (SAMD51), Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off"
Sketch uses 11076 bytes (2%) of program storage space. Maximum is 507904 bytes.
Couldn't find a Board on the selected port. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.
Dave
- jamesfreeman
- Posts: 25
- Joined: Sun May 15, 2011 3:17 pm
Re: Metro M4 express USB modem does not appear in dev
Yes, after a few tries I can get the boot drive to mount, so we know that the reset button is working and the USB cable is working. But then I lose the modem device soon after.
It appears that the Metro M4 Express is sometimes capable of making a modem connection, but soon loses it.
Is it possible that I have a defective board?
Could I send it back to you to be tested?
On my last try I got the following errors:
Arduino: 1.8.19 (Mac OS X), Board: "Adafruit Metro M4 (SAMD51), Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off"
Sketch uses 11232 bytes (2%) of program storage space. Maximum is 507904 bytes.
Device : ATSAMD51x19
Version : v1.1 [Arduino:XYZ] Jan 15 2022 11:54:47
Address : 0x0
Pages : 1024
Page Size : 512 bytes
Total Size : 512KB
Planes : 1
Lock Regions : 32
Locked : none
Security : false
BOD : false
BOR : true
Write 11488 bytes to flash (23 pages)
[==============================] 100% (23/23 pages)
Done in 0.163 seconds
Verify 11488 bytes of flash
[==============================] 100% (23/23 pages)
Verify successful
Done in 0.279 seconds
processing.app.SerialException: Error opening serial port '/dev/cu.usbmodem14201'.
at processing.app.Serial.<init>(Serial.java:152)
at processing.app.Serial.<init>(Serial.java:82)
at processing.app.SerialMonitor$2.<init>(SerialMonitor.java:132)
at processing.app.SerialMonitor.open(SerialMonitor.java:132)
at processing.app.AbstractMonitor.resume(AbstractMonitor.java:132)
at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2126)
at processing.app.Editor.access$1300(Editor.java:116)
at processing.app.Editor$UploadHandler.run(Editor.java:2095)
at java.lang.Thread.run(Thread.java:748)
Caused by: jssc.SerialPortException: Port name - /dev/cu.usbmodem14201; Method name - openPort(); Exception type - Port not found.
at jssc.SerialPort.openPort(SerialPort.java:167)
at processing.app.Serial.<init>(Serial.java:141)
... 8 more
Error opening serial port '/dev/cu.usbmodem14201'.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
It appears that the Metro M4 Express is sometimes capable of making a modem connection, but soon loses it.
Is it possible that I have a defective board?
Could I send it back to you to be tested?
On my last try I got the following errors:
Arduino: 1.8.19 (Mac OS X), Board: "Adafruit Metro M4 (SAMD51), Enabled, 120 MHz (standard), Small (-Os) (standard), 50 MHz (standard), Arduino, Off"
Sketch uses 11232 bytes (2%) of program storage space. Maximum is 507904 bytes.
Device : ATSAMD51x19
Version : v1.1 [Arduino:XYZ] Jan 15 2022 11:54:47
Address : 0x0
Pages : 1024
Page Size : 512 bytes
Total Size : 512KB
Planes : 1
Lock Regions : 32
Locked : none
Security : false
BOD : false
BOR : true
Write 11488 bytes to flash (23 pages)
[==============================] 100% (23/23 pages)
Done in 0.163 seconds
Verify 11488 bytes of flash
[==============================] 100% (23/23 pages)
Verify successful
Done in 0.279 seconds
processing.app.SerialException: Error opening serial port '/dev/cu.usbmodem14201'.
at processing.app.Serial.<init>(Serial.java:152)
at processing.app.Serial.<init>(Serial.java:82)
at processing.app.SerialMonitor$2.<init>(SerialMonitor.java:132)
at processing.app.SerialMonitor.open(SerialMonitor.java:132)
at processing.app.AbstractMonitor.resume(AbstractMonitor.java:132)
at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2126)
at processing.app.Editor.access$1300(Editor.java:116)
at processing.app.Editor$UploadHandler.run(Editor.java:2095)
at java.lang.Thread.run(Thread.java:748)
Caused by: jssc.SerialPortException: Port name - /dev/cu.usbmodem14201; Method name - openPort(); Exception type - Port not found.
at jssc.SerialPort.openPort(SerialPort.java:167)
at processing.app.Serial.<init>(Serial.java:141)
... 8 more
Error opening serial port '/dev/cu.usbmodem14201'.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Metro M4 express USB modem does not appear in dev
Huh. So it's uploading and verifying, but then it can't find the port.
Is everything to do with Arduino up to date?
Dave
Is everything to do with Arduino up to date?
Dave
- jamesfreeman
- Posts: 25
- Joined: Sun May 15, 2011 3:17 pm
Re: Metro M4 express USB modem does not appear in dev
Yes, thanks.
Arduino IDE 1.8.19, with all updates applied.
I use the IDE and the Mac constantly for Ardunio UNO and Arduino Mega projects. No glitches of any sort.
I really appreciate your prompt responses on all of this...
Jim
Arduino IDE 1.8.19, with all updates applied.
I use the IDE and the Mac constantly for Ardunio UNO and Arduino Mega projects. No glitches of any sort.
I really appreciate your prompt responses on all of this...
Jim
- dastels
- Posts: 15817
- Joined: Tue Oct 20, 2015 3:22 pm
Re: Metro M4 express USB modem does not appear in dev
I'm going to get some more eyes on this.
Dave
Dave
- jamesfreeman
- Posts: 25
- Joined: Sun May 15, 2011 3:17 pm
Re: Metro M4 express USB modem does not appear in dev
Thanks - I'm very impressed with the service.
I'll be glad to send the board back to you at my expense...
I'll be glad to send the board back to you at my expense...
- jamesfreeman
- Posts: 25
- Joined: Sun May 15, 2011 3:17 pm
Re: Metro M4 express USB modem does not appear in dev
Hi - Following up... Is there any progress on this?
Thanks,
Jim
Thanks,
Jim
Please be positive and constructive with your questions and comments.