circuitpython: Unable to revive my Metro M4 Express

Running the basics/gen_stack_overflow.py test using #893 has crashed my board so hard that Iā€™m unable to revive it.

I have the latest bootloader from https://github.com/adafruit/uf2-samdx1/releases/tag/v2.0.0-adafruit.5 INFO_UF2.TXT:

UF2 Bootloader v2.0.0-adafruit.5 SFHWRO
Model: Metro M4 Express
Board-ID: SAMD51J19A-Metro-v0

I have used the Metro M4 Express (QSPI) flash erase from https://learn.adafruit.com/adafruit-metro-m4-express-featuring-atsamd51?view=all#old-way-for-the-circuit-playground-express-feather-m0-express-and-metro-m0-express

This is what the Raspberry Pi has to say about the usb device that shows up after erase:

pi@cp:~ $ dmesg
[764346.658642] usb 1-1.4: new full-speed USB device number 72 using dwc_otg
[764346.799653] usb 1-1.4: New USB device found, idVendor=239a, idProduct=8020
[764346.799668] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[764346.799678] usb 1-1.4: Product: Adafruit Metro M4
[764346.799686] usb 1-1.4: Manufacturer: Adafruit LLC
[764346.802011] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device

Next I enter the bootloader again and copy in: adafruit-circuitpython-metro_m4_express-3.0.0-beta.0.uf2

This is what the Raspberry Pi has to say:

pi@cp:~ $ dmesg
[764507.689306] usb 1-1.4: new full-speed USB device number 73 using dwc_otg
[764507.789314] usb 1-1.4: device descriptor read/64, error -32
[764508.009319] usb 1-1.4: device descriptor read/64, error -32
[764508.229309] usb 1-1.4: new full-speed USB device number 74 using dwc_otg
[764508.329306] usb 1-1.4: device descriptor read/64, error -32
[764508.549312] usb 1-1.4: device descriptor read/64, error -32
[764508.669408] usb 1-1-port4: attempt power cycle
[764509.329312] usb 1-1.4: new full-speed USB device number 75 using dwc_otg
[764509.769321] usb 1-1.4: device not accepting address 75, error -32
[764509.869322] usb 1-1.4: new full-speed USB device number 76 using dwc_otg
[764510.309333] usb 1-1.4: device not accepting address 76, error -32
[764510.309446] usb 1-1-port4: unable to enumerate USB device

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 28 (1 by maintainers)

Most upvoted comments

@sommersoft AFAICT we got the same values. I tried your? Atmel Studio guide yesterday so I already had it installed. Really nice with these Adafruit guides, saves me from having to chase down all the details šŸ˜ƒ

AC_BIAS0 = 0x00
ADC0_BIASCOMP = 0x00
ADC0_BIASREFBUF = 0x00
ADC0_BIASR2R = 0x00
ADC1_BIASCOMP = 0x00
ADC1_BIASREFBUF = 0x00
ADC1_BIASR2R = 0x00
USB_TRANSN = 0x00
USB_TRANSP = 0x00
USB_TRIM = 0x00
ROOM_TEMP_VAL_INT = 0x00
ROOM_TEMP_VAL_DEC = 0x00
HOT_TEMP_VAL_INT = 0x00
HOT_TEMP_VAL_DEC = 0x00
ROOM_INT1V_VAL = 0x00
HOT_INT1V_VAL = 0x00
ROOM_ADC_VAL_PTAT = 0x00
HOT_ADC_VAL_PTAT = 0x00
ROOM_ADC_VAL_CTAT = 0x00
HOT_ADC_VAL_CTAT = 0x00
BOD33_DIS = [X]
BOD33USERLEVEL = 0x1C
BOD33_ACTION = 0x01
BOD33_HYST = 0x02
BOD12_DIS = [ ]
BOD12USERLEVEL = 0x0D
BOD12_ACTION = 0x01
BOD12_HYST = [X]
NVMCTRL_BOOTPROT = 0x0D
NVMCTRL_SEESBLK = 0x00
NVMCTRL_SEEPSZ = 0x00
RAMECC_ECCDIS = [X]
WDT_ENABLE = [ ]
WDT_ALWAYSON = [ ]
WDT_PER = 0x0B
WDT_WINDOW = 0x0B
WDT_EWOFFSET = 0x0B
WDT_WEN = [ ]
NVMCTRL_REGION_LOCKS = 0xFFFFFFFF

SW0_WORD_0 = 0x00 (unknown)
SW0_WORD_1 = 0x00 (unknown)
TEMP_LOG_WORD_0 = 0x00 (unknown)
TEMP_LOG_WORD_1 = 0x00 (unknown)
TEMP_LOG_WORD_2 = 0x00 (unknown)
USER_WORD_0 = 0xF69A9239 (valid)
USER_WORD_1 = 0xAEECFF80 (valid)
USER_WORD_2 = 0xFFFFFFFF (valid)