0

Unable to copy Circuit Python UF2 onto Metro M4 Express
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Unable to copy Circuit Python UF2 onto Metro M4 Express

by NovaRobotics on Thu May 20, 2021 9:07 pm

I've been unable to load circuit python onto my metro m4 express. When I try to drag a uf2 file onto the boot drive the file copy hangs at 0% before giving me a usb error. I am primarily using windows 10 to copy the uf2 files however I also tried Mac OS which failed in the same manner.

A few additional details:

-I do not have any of the anti-virus software that is known to cause problems running on my pc.
-Other adafruit boards ( the trinket m0 and nrf52 ) did not have any trouble loading uf2 files from my pc.
-I am currently trying to load hello blink from Arduino onto my metro to see if that will work.

NovaRobotics
 
Posts: 14
Joined: Mon May 21, 2018 6:56 pm

Re: Unable to copy Circuit Python UF2 onto Metro M4 Express

by NovaRobotics on Thu May 20, 2021 11:41 pm

I've tried flashing the board a couple times with the arduino blink sketch but haven't had any luck with that either. After turning verbose output on I found I'm getting the following message.

Set binary mode
version()=v1.1 [Arduino:XYZ] Apr 8 2018 13:59:27
Connected at 921600 baud
readWord(addr=0)=0x2000d6a0
readWord(addr=0xe000ed00)=0x410fc241
readWord(addr=0x4)=0x58d
readWord(addr=0x41002018)=0x60060005
write(addr=0x20004000,size=0x34)
writeWord(addr=0x20004030,value=0x80)
writeWord(addr=0x20004020,value=0x20008000)
version()=v1.1 [Arduino:XYZ] Apr 8 2018 13:59:27
readByte(addr=0x804000)=0x39
readByte(addr=0x804001)=0x92
readByte(addr=0x804008)=0xff
readByte(addr=0x804009)=0xff
readByte(addr=0x80400a)=0xff
readByte(addr=0x80400b)=0xff
Device : ATSAMD51x19
Version : v1.1 [Arduino:XYZ] Apr 8 2018 13:59:27
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 17000 bytes to flash (34 pages)

[ ] 0% (0/34 pages)
write(addr=0x20004034,size=0x1000)
Flash command failed
writeWord(addr=0x41004014,value=0x4000)
readByte(addr=0x41004012)=0x11
readByte(addr=0x41004013)=0x7
writeWord(addr=0x41004004,value=0xa501)
readByte(addr=0x41004012)=0x11
readByte(addr=0x41004013)=0x7
readByte(addr=0x41004010)=0xd
readByte(addr=0x41004011)=0
writeByte(addr=0x41004010,value=0xce)
writeByte(addr=0x41004011,value=0)
An error occurred while uploading the sketch

If I understand the error message, seems like something is preventing any file / data from being loaded onto the board.

NovaRobotics
 
Posts: 14
Joined: Mon May 21, 2018 6:56 pm

Please be positive and constructive with your questions and comments.