Microcontroller ATSAMD21G not being detected as Feather M0

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
saadahmad007
 
Posts: 2
Joined: Thu Sep 22, 2022 1:38 pm

Microcontroller ATSAMD21G not being detected as Feather M0

Post by saadahmad007 »

Hello,

I am able to successfully flash an ATSAMD21G16B-MZ microcontroller with the following bootloader hex file from Adafruit's website:

https://learn.adafruit.com/system/asset ... 1458155274

I have followed all the instructions to burn the chip as a Feather M0 using Microchip studio as given in this link:

https://learn.adafruit.com/proper-step- ... bootloader

The issue is that after flashing the microcontroller with the bootloader, and later connecting it to a USB port on my PC with Arduino IDE running, the microcontroller is not detected at all in the Ports section of Arduino IDE. Further troubleshooting it I found that the external oscillator xtal attached to this microcontroller which is of 32.7KHz is not outputting anything, which maybe affecting USB communication.

I would like to know if a difference in internal flash size is causing this problem as the microcontroller I am using has 64KB of internal flash while the microcontroller ATSMD21G18A that Adafruit mentions in the website link I shared above has 256KB flash.

If this is the problem, can I receive the source code for the bootloader hex file for Feather M0 so I can change the flash size in the code if that is the root of the problem?

I have attached the board schematic for the microcontroller and the RFM95 LoRa module if that helps.
Attachments
Board Schematic.pdf
(555.17 KiB) Downloaded 8 times

User avatar
saadahmad007
 
Posts: 2
Joined: Thu Sep 22, 2022 1:38 pm

Re: Microcontroller ATSAMD21G not being detected as Feather M0

Post by saadahmad007 »

It has been 20 days without receiving a single reply. If my question is unclear in anyway please suggest what information needs to be further provided or clarified to get an answer. I see almost all other questions posted after me have been replied to, looking forward to a response at least please.

User avatar
adafruit_support_carter
 
Posts: 29056
Joined: Tue Nov 29, 2016 2:45 pm

Re: Microcontroller ATSAMD21G not being detected as Feather M0

Post by adafruit_support_carter »

There's another, slightly more detailed, guide here:
https://learn.adafruit.com/how-to-progr ... s/overview
that might provide more info.

The source code for the UF2 bootloader used on the SAMD processors is here:
https://github.com/adafruit/uf2-samdx1

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

Return to “Microcontrollers”