Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

Cannot upload from Arduino IDE to Metro M4 Express using a L
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Cannot upload from Arduino IDE to Metro M4 Express using a L

by bryannorman on Sun Feb 14, 2021 9:18 am

It is not possible to upload from the Arduino IDE running on a Linux Mint PC to the M4 Express board. The port is reported as follows: crw-rw---- 1 root dialout 166, 0 Feb 14 12:41 /dev/ttyACM0 from the OS. However it consistently fails to connect on upload. I have tried pressing reset in all sorts of ways but no luck! I have updated the bootloader, and tried to disable Circuit Python. I have no interest in Python I just want to run the Adafruit code for the BNO086 IMU (Hillcrest).
Is it possible to install a simpler bootloader that does not bring up the METROM4BOOT file manager window? If not the board is of no use to me and I will need to purchase another one that does not have these problems. I am convinced that the problem is that the port connection is lost during an upload because at that point I get: ls -l /dev/ttyACM0
ls: cannot access '/dev/ttyACM0': No such file or directory.

I have tried using Arduino running under Wine, but the com ports do not work at all then !
Help!

bryannorman
 
Posts: 10
Joined: Sun Feb 14, 2021 8:54 am

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by blnkjns on Mon Feb 15, 2021 4:48 am

bryannorman wrote:I have tried pressing reset in all sorts of ways but no luck!


One of them ways was double-tap?

blnkjns
 
Posts: 624
Joined: Fri Oct 02, 2020 3:33 am

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by adafruit_support_carter on Mon Feb 15, 2021 3:16 pm

It could be a couple of things.

Check and make sure what ever user account you are running Arduino with is included in the dialout group:
https://learn.adafruit.com/welcome-to-c ... -3027345-8

You may also need to remove modemmanager. Info on same page above.

Then, double press reset to get into bootloader. Verify the correct comm port in Arduino IDE. And try uploading again.

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by bryannorman on Fri Feb 19, 2021 6:40 am

Hi
I have checked that my user account is a member of the dialout group, and I had already removed modemmanager, and I have checked that it is not installed. I have even tried running Arduino as root, but then there seems to be no access to ttyACM0 and the programmer is tried. I have tried double clicking reset in all sorts of ways, furthermore this has the effect sometimes of completely crashing the PC, with no recovery possible except cycling the power! I have successfully loaded the BNO085 code to an old Chinese ESP8266 - but it does not run, which is why I am trying a complete Adafruit solution that is advertised as working.

So I am stuck.

Maybe someone could confirm that the set up here: https://learn.adafruit.com/adafruit-9-d ... 85/arduino does work when Arduino is run under Linux, and specifically Linux Mint 19 Cinnamon 3.8.9?

I ask again is it possible to install a simpler bootloader as on the original Metro M4 (non express)?

bryannorman
 
Posts: 10
Joined: Sun Feb 14, 2021 8:54 am

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by adafruit_support_carter on Fri Feb 19, 2021 11:30 am

I ask again is it possible to install a simpler bootloader as on the original Metro M4 (non express)?

If you have such a bootloader, and some form of programming hardware, then you can load the bootloader with a process like this:
https://learn.adafruit.com/how-to-progr ... ootloaders

A lot of of us are using Arduino on linux without any issues. It should not be an issue.

there seems to be no access to ttyACM0

Is this a permissions issue? Or the /dev entry does not even exists?

It might help to have a terminal window open and running a watch on the kernel messages:
Code: Select all | TOGGLE FULL SIZE
dmesg -w

and see what is happening when the board is plugged in via USB. It should show the connecting and setting up of the /dev entry. It's really weird that you originally see it:
The port is reported as follows: crw-rw---- 1 root dialout

but then it disappears:
ls: cannot access '/dev/ttyACM0': No such file or directory.

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by 42volts on Fri Feb 19, 2021 2:36 pm

bryannorman wrote:this has the effect sometimes of completely crashing the PC, with no recovery possible except cycling the power!


Sounds like there is something seriously wrong there, which is probably something you should address before worrying about programming a microcontroller as it is very likely the reason you are having a hard time.

42volts
 
Posts: 103
Joined: Sat Jan 19, 2019 11:20 am

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by bryannorman on Mon Feb 22, 2021 9:20 am

I am still stuck on this.
I have now updated Linux Mint to 19.3, re-installed the Arduino IDE 1.8.13 using Software Manager, re-checked that modemmanager is not installed, powered the Metro M4 Express with a PSU, and even created a file (but apparently udev is now deprecated):
Code: Select all | TOGGLE FULL SIZE
#!/bin/sh
sudo sh -c 'cat > /etc/udev/rules.d/49-stm32.rules' <<EOF
# 239a:0021 - STM32F4 Dsicovery in USB Serial Mode (CN5)
ATTRS{idVendor}=="239a", ATTRS{idProduct}=="0021",
ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="239a", ATTRS{idProduct}=="0021",
ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="239a", ATTRS{idProduct}=="0021",
MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="239a", ATTRS{idProduct}=="0021",
MODE:="0666"
# 239a:df11 - STM32F4 Discovery in DFU mode (CN5)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="239a", ATTRS{idProduct}=="df11",
MODE:="0666"
EOF

Code: Select all | TOGGLE FULL SIZE

However the problem persists - here is the output from dmesg after trying to upload the blink sketch and double clicking reset:

[size=85][ 1239.278519] usb 3-6: new full-speed USB device number 2 using xhci_hcd
[ 1239.428765] usb 3-6: New USB device found, idVendor=239a, idProduct=0021
[ 1239.428771] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1239.428773] usb 3-6: Product: Metro M4 Express
[ 1239.428776] usb 3-6: Manufacturer: Adafruit Industries
[ 1239.428778] usb 3-6: SerialNumber: 7E5578535339463533202020FF021046
[ 1239.433138] hid-generic 0003:239A:0021.0002: hiddev0,hidraw1: USB HID v1.00 Device [Adafruit Industries Metro M4 Express] on usb-0000:00:14.0-6/input3
[ 1239.453728] cdc_acm 3-6:1.0: ttyACM0: USB ACM device
[ 1239.454013] usbcore: registered new interface driver cdc_acm
[ 1239.454014] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1239.457672] usb-storage 3-6:1.2: USB Mass Storage device detected
[ 1239.458899] scsi host5: usb-storage 3-6:1.2
[ 1239.459018] usbcore: registered new interface driver usb-storage
[ 1239.462150] usbcore: registered new interface driver uas
[ 1240.475114] scsi 5:0:0:0: Direct-Access     Metro M4  Express         1.00 PQ: 0 ANSI: 2
[ 1240.475541] sd 5:0:0:0: Attached scsi generic sg2 type 0
[ 1240.475766] sd 5:0:0:0: [sdb] 16000 512-byte logical blocks: (8.19 MB/7.81 MiB)
[ 1240.475918] sd 5:0:0:0: [sdb] Write Protect is off
[ 1240.475920] sd 5:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[ 1240.476065] sd 5:0:0:0: [sdb] No Caching mode page found
[ 1240.476068] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1240.482755]  sdb:
[ 1240.483826] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 1271.915512] usb 3-6: USB disconnect, device number 2
[ 1271.953838] FAT-fs (sdb): unable to read boot sector to mark fs as dirty
[ 1275.637705] usb 3-6: new full-speed USB device number 3 using xhci_hcd
[ 1275.787784] usb 3-6: New USB device found, idVendor=239a, idProduct=0021
[ 1275.787789] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1275.787791] usb 3-6: Product: Metro M4 Express
[ 1275.787794] usb 3-6: Manufacturer: Adafruit Industries
[ 1275.787796] usb 3-6: SerialNumber: 7E5578535339463533202020FF021046
[ 1275.788782] cdc_acm 3-6:1.0: ttyACM0: USB ACM device
[ 1275.789320] usb-storage 3-6:1.2: USB Mass Storage device detected
[ 1275.790647] scsi host5: usb-storage 3-6:1.2
[ 1275.792193] hid-generic 0003:239A:0021.0003: hiddev0,hidraw1: USB HID v1.00 Device [Adafruit Industries Metro M4 Express] on usb-0000:00:14.0-6/input3
[ 1297.989707] usb 3-6: reset full-speed USB device number 3 using xhci_hcd
[ 1298.139338] cdc_acm 3-6:1.0: ttyACM0: USB ACM device
[ 1584.453381] usb 3-6: USB disconnect, device number 3
[ 1592.240894] cdc_acm 3-6:1.0: failed to set dtr/rts
[ 1592.536847] usb 3-6: new full-speed USB device number 4 using xhci_hcd
[ 1592.686392] usb 3-6: New USB device found, idVendor=239a, idProduct=0021
[ 1592.686397] usb 3-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1592.686401] usb 3-6: Product: Metro M4 Express
[ 1592.686404] usb 3-6: Manufacturer: Adafruit Industries
[ 1592.686406] usb 3-6: SerialNumber: 7E5578535339463533202020FF021046
[ 1592.687156] cdc_acm 3-6:1.0: ttyACM0: USB ACM device
[ 1592.689817] usb-storage 3-6:1.2: USB Mass Storage device detected
[ 1592.690744] scsi host5: usb-storage 3-6:1.2
[ 1592.692506] hid-generic 0003:239A:0021.0004: hiddev0,hidraw1: USB HID v1.00 Device [Adafruit Industries Metro M4 Express] on usb-0000:00:14.0-6/input3
[ 1593.713358] scsi 5:0:0:0: Direct-Access     Metro M4  Express         1.00 PQ: 0 ANSI: 2
[ 1593.713760] sd 5:0:0:0: Attached scsi generic sg2 type 0
[ 1593.713938] sd 5:0:0:0: [sdb] 16000 512-byte logical blocks: (8.19 MB/7.81 MiB)
[ 1593.714096] sd 5:0:0:0: [sdb] Write Protect is off
[ 1593.714098] sd 5:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[ 1593.714247] sd 5:0:0:0: [sdb] No Caching mode page found
[ 1593.714252] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1593.720928]  sdb:
[ 1593.721923] sd 5:0:0:0: [sdb] Attached SCSI removable disk
[ 1749.931592] cdc_acm 3-6:1.0: failed to set dtr/rts
[ 1755.051528] cdc_acm 3-6:1.0: failed to set dtr/rts
[ 1798.057883] cdc_acm 3-6:1.0: failed to set dtr/rts
[ 1798.186112] usb 3-6: reset full-speed USB device number 4 using xhci_hcd
[ 1813.801326] usb 3-6: device descriptor read/64, error -110
[ 1829.416901] usb 3-6: device descriptor read/64, error -110
[ 1829.652798] usb 3-6: reset full-speed USB device number 4 using xhci_hcd
[ 1845.032225] usb 3-6: device descriptor read/64, error -110
[ 1860.647752] usb 3-6: device descriptor read/64, error -110
[ 1860.883692] usb 3-6: reset full-speed USB device number 4 using xhci_hcd
[ 1865.895546] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1871.271359] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1871.479287] usb 3-6: device not accepting address 4, error -62
[ 1871.607373] usb 3-6: reset full-speed USB device number 4 using xhci_hcd
[ 1876.647136] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1882.023055] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1882.230913] usb 3-6: device not accepting address 4, error -62
[ 1882.231138] usb 3-6: USB disconnect, device number 4
[ 1882.386818] usb 3-6: new full-speed USB device number 5 using xhci_hcd
[ 1897.766355] usb 3-6: device descriptor read/64, error -110
[ 1913.381816] usb 3-6: device descriptor read/64, error -110
[ 1913.617794] usb 3-6: new full-speed USB device number 6 using xhci_hcd
[ 1928.997388] usb 3-6: device descriptor read/64, error -110
[ 1944.612697] usb 3-6: device descriptor read/64, error -110
[ 1944.720740] usb usb3-port6: attempt power cycle
[ 1945.372646] usb 3-6: new full-speed USB device number 7 using xhci_hcd
[ 1950.628732] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1956.004286] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1956.212265] usb 3-6: device not accepting address 7, error -62
[ 1956.340244] usb 3-6: new full-speed USB device number 8 using xhci_hcd
[ 1961.380115] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1966.755946] xhci_hcd 0000:00:14.0: Timeout while waiting for setup device command
[ 1966.963891] usb 3-6: device not accepting address 8, error -62
[ 1966.964012] usb usb3-port6: unable to enumerate USB device
[ 1966.995955] FAT-fs (sdb): unable to read boot sector to mark fs as dirty
[ 1967.171794] usb 3-6: new full-speed USB device number 9 using xhci_hcd
[ 1982.755401] usb 3-6: device descriptor read/64, error -110
[ 1998.370872] usb 3-6: device descriptor read/64, error -110
[ 1998.606726] usb 3-6: new full-speed USB device number 10 using xhci_hcd
[/size]

in another terminal window: ~$ ls -l /dev/ttyACM0 crw-rw-rw- 1 root dialout 166, 0 Feb 22 12:59 /dev/ttyACM0

Arduino message:
Arduino: 1.8.13 (Linux), Board: "Adafruit Circuit Playground Express"


Compiling libraries...
Compiling core...
Using previously compiled file: /tmp/arduino_build_249805/core/variant.cpp.o
Using precompiled core: /tmp/arduino_cache_47261/core/core_arduino_samd_adafruit_circuitplayground_m0_9211b9da6fde0907fe4ce29f244e548b.a
Linking everything together...
/home/bryan/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -L/tmp/arduino_build_249805 -Os -Wl,--gc-sections -save-temps -T/home/bryan/.arduino15/packages/arduino/hardware/samd/1.8.11/variants/circuitplay/linker_scripts/gcc/flash_with_bootloader.ld -Wl,-Map,/tmp/arduino_build_249805/sketch_feb13b.ino.map --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o /tmp/arduino_build_249805/sketch_feb13b.ino.elf /tmp/arduino_build_249805/sketch/sketch_feb13b.ino.cpp.o /tmp/arduino_build_249805/core/variant.cpp.o -Wl,--start-group -L/home/bryan/.arduino15/packages/arduino/tools/CMSIS/4.5.0/CMSIS/Lib/GCC/ -larm_cortexM0l_math -lm /tmp/arduino_build_249805/../arduino_cache_47261/core/core_arduino_samd_adafruit_circuitplayground_m0_9211b9da6fde0907fe4ce29f244e548b.a -Wl,--end-group
/home/bryan/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-objcopy -O binary /tmp/arduino_build_249805/sketch_feb13b.ino.elf /tmp/arduino_build_249805/sketch_feb13b.ino.bin
/home/bryan/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-objcopy -O ihex -R .eeprom /tmp/arduino_build_249805/sketch_feb13b.ino.elf /tmp/arduino_build_249805/sketch_feb13b.ino.hex
/home/bryan/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-size -A /tmp/arduino_build_249805/sketch_feb13b.ino.elf
Sketch uses 11124 bytes (4%) of program storage space. Maximum is 262144 bytes.
Global variables use 1992 bytes (6%) of dynamic memory, leaving 30776 bytes for local variables. Maximum is 32768 bytes.
No device found on ttyACM0
An error occurred while uploading the sketch

###################

I repeat that I can upload to other Arduino supported boards, it's just the M4 express with the Python support that is a persistent problem!

It is very weird that I get these cdc_acm 3-6:1.0: failed to set dtr/rts reports! Tht should be impossible with no modemmanager! I have tried turning off Network Manager but that has no effect either.

All I need is an Adafruit board capable of running the BNO085 SH-2 Hillcrest’s turnkey sensor hub software, and to be able to use the Arduino IDE running under Linux Mint. That should not be such an unsurmountable problem should it?

bryannorman
 
Posts: 10
Joined: Sun Feb 14, 2021 8:54 am

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by adafruit_support_carter on Mon Feb 22, 2021 11:01 am

Arduino: 1.8.13 (Linux), Board: "Adafruit Circuit Playground Express"

Make sure and set the Arduino IDE to the correct board. Based on the dmesg output, you do have a Metro M4 Express. The Circuit Playground Express is a different board.

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by bryannorman on Mon Feb 22, 2021 4:44 pm

[/size]Thanks but I cannot see the Metro Express as you can see from the screenshot. I have carefully followed the instructions and added the additional URL https://adafruit.github.io/arduino-boar ... index.json and selected the SAMD boards as instructed.


Also I have tried using the Arduino IDE on a MAC OS X Yosemite 10.10.5 with no success either, errors:

Code: Select all | TOGGLE FULL SIZE
Arduino: 1.8.13 (Mac OS X), Board: "Adafruit Circuit Playground"

Sketch uses 3868 bytes (13%) of program storage space. Maximum is 28672 bytes.
Global variables use 149 bytes of dynamic memory.

avrdude: butterfly_recv(): programmer is not responding
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
Found programmer: Id = ""; type =
Software Version = . ; Hardware Version = .
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: buffered memory access not supported. Maybe it isn't
a butterfly/AVR109 but a AVR910 device?
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.

avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: leave prog mode
avrdude: ser_send(): write error: Device not configured
avrdude: ser_recv(): read error: Device not configured
avrdude: butterfly_recv(): programmer is not responding
avrdude: error: programmer did not respond to command: exit bootloader
avrdude: ser_close(): can't reset attributes for device: Device not configured
the selected serial port avrdude: ser_close(): can't reset attributes for device: Device not configured
does not exist or your board is not connected
Code: Select all | TOGGLE FULL SIZE


I cannot find the exact board.
Attachments
20210222_200919screenshot.jpg
20210222_200919screenshot.jpg (102.75 KiB) Viewed 237 times

bryannorman
 
Posts: 10
Joined: Sun Feb 14, 2021 8:54 am

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by adafruit_support_carter on Mon Feb 22, 2021 5:18 pm

That looks like the boards list for the Arduino SAMD package. Make sure to also install the Adafruit SAMD package:
https://learn.adafruit.com/adafruit-met ... rduino-ide

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by bryannorman on Tue Feb 23, 2021 3:57 pm

OK that was the problem! I was confused by having to search for the additional library that I thought was just for the latest definitions! Maybe the instructions could be a tad more straightforward...

The only remaining problem is that the Metro M4 Express won't power up over the USB connection anymore (not a cable issue), I have to use the power jack!

Thanks for the help

bryannorman
 
Posts: 10
Joined: Sun Feb 14, 2021 8:54 am

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by bryannorman on Wed Feb 24, 2021 9:48 am

Update: my USB 3 ports no longer supply 5V, whether this is a result of using The Metro M4 Express I don't know! I have been trying to find the power draw but I can't see that anywhere right now?

I have a kluge using a USB splitter and a rewired 5v mains adapter now.

bryannorman
 
Posts: 10
Joined: Sun Feb 14, 2021 8:54 am

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by bryannorman on Thu Mar 25, 2021 3:31 pm

Hi - back again I'm afraid!

I am now trying to resume work using the Metro M4 Express, but now I'm back with the same old problem - uploading fails with the message " No device found on COM......." . I have tried all the usual pressing reset stuff. This is curious because the BNO08x code is running on the Metro from my previous upload, then there has been a while away from that because I thought it was sorted. Now I want to work on the Arduino code. It is now so serious when trying to upload that it completely freezes the PC (Linux Mint) and I have to re-boot it!

I have now installed the Arduino IDE on a Windows 10 machine - but the problem persists, but at least it does not crash the PC!
I have checked that:
1) The URL is loaded in Preferences (only one URL now available I see).
2) My board is a Metro M4 Express, but this does not exactly match the boards available, with both Adafruit SAMD and Arduino SAMD libraries installed. I have tried: Metro M4 (SAMD51) or Metro pyBadge M4 Express (SAMD51) or Metro pyGamer M4 Express (SAMD51). They all fail to upload. I can use the Serial Monitor which runs fine and is actually running the BNO08x code and outputting data on COM3 or COM 4, but then this port fails to be found when uploading.

This is VERY frustrating since I cannot see where I may be going wrong and it has been working....

bryannorman
 
Posts: 10
Joined: Sun Feb 14, 2021 8:54 am

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by adafruit_support_carter on Thu Mar 25, 2021 4:45 pm

Metro M4 (SAMD51)

This is the correct choice.

Try double pressing the reset button to put the board into bootloader mode before uploading the new sketch. The currently running sketch may be preventing the software from automatically resetting/uploading.

adafruit_support_carter
 
Posts: 20355
Joined: Tue Nov 29, 2016 2:45 pm

Re: Cannot upload from Arduino IDE to Metro M4 Express using

by bryannorman on Fri Mar 26, 2021 6:00 am

Thanks for confirming that "Adafruit Meto M4 (SAMD51)" is in fact the correct choice for my Metro M4 Express. I have tried your suggestion and that seems to be the technique to be used, you need to change COM ports too, and then reinstate to "COMn (Adafruit Meto M4 (SAMD51))" in order to use the Serial Monitor.

Hopefully this will be stable now and I can continue with the method!

I have to say that the compilation times when running under Windows 10 seem to be much longer that when I use Linux Mint on a similar PC. Maybe it's because the Arduino IDE uses the native g++ whereas Windows has to emulate this?

Thanks again....

bryannorman
 
Posts: 10
Joined: Sun Feb 14, 2021 8:54 am

Please be positive and constructive with your questions and comments.