Hi,
Earlier i was using feather atmega32u4 with lora based module. I guess that MCU doesn't have bootloader pre-installed right?
Now I am using Feather M4 express and in the documentation, it is mentioned that bootloader has to be installed first. My question is doesn't this MCU come with pre-built bootloader from the manufacturer?
Also, I checked this MCU at Microchip tech's website and it doesn't have JTAG capability, which verifies the designs and testing of PCB after manufacture. So do you some sort of customized JTAG here in the feather which carries out installing bootloader and testing the code?
Feather M4 express bootloader
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Feather M4 express bootloader
The Feather M4 comes with a pre-installed bootloader. There are instructions for updating the bootloader or installing the latest version of CircuitPython, but those use the existing bootloader.
- akki0075
- Posts: 53
- Joined: Fri Jan 17, 2020 6:51 pm
Re: Feather M4 express bootloader
Hi,
I am making my PCB design with ATSAMD51 micro controller and I believe digikey.com sells the same MCU without bootloader. So when PCB comes to my hand after manufacturing, it might be w/o bootloader. So is there any way I can install the same UF2 bootloader using instructions given in your website?
I am making my PCB design with ATSAMD51 micro controller and I believe digikey.com sells the same MCU without bootloader. So when PCB comes to my hand after manufacturing, it might be w/o bootloader. So is there any way I can install the same UF2 bootloader using instructions given in your website?
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Feather M4 express bootloader
You’ll need to use a JTAG pod:
https://www.adafruit.com/?q=jtag
Our bootloader is free to use, and you can find it here:
https://github.com/adafruit/uf2-samdx1
https://www.adafruit.com/?q=jtag
Our bootloader is free to use, and you can find it here:
https://github.com/adafruit/uf2-samdx1
- akki0075
- Posts: 53
- Joined: Fri Jan 17, 2020 6:51 pm
Re: Feather M4 express bootloader
Great Thanks!
One quick question though!
I saw the microUSB circuit on the schematic. As per my understanding, firstly, D+ and D- are going to the micro-controller and I believe those connections are for flashing the code into the chip right? Secondly, what is the purpose of those differential pair test pads connected to the microUSB?
One quick question though!
I saw the microUSB circuit on the schematic. As per my understanding, firstly, D+ and D- are going to the micro-controller and I believe those connections are for flashing the code into the chip right? Secondly, what is the purpose of those differential pair test pads connected to the microUSB?
- danhalbert
- Posts: 4654
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Feather M4 express bootloader
D+ and D- are the ordinary data lines for USB data.
- akki0075
- Posts: 53
- Joined: Fri Jan 17, 2020 6:51 pm
Re: Feather M4 express bootloader
So you mean when this MCU is connected to the computer through USB port and I am flashing the code through Adruino IDE. The code is basically being flashed to the M4 through these D+ and D- pins connected to M4 right?
- danhalbert
- Posts: 4654
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Feather M4 express bootloader
Right, but those pins are used for -all- USB data, whether it's flashing, serial, USB drive, HID, etc.
- akki0075
- Posts: 53
- Joined: Fri Jan 17, 2020 6:51 pm
Re: Feather M4 express bootloader
Perfect, but why you have provided the test pads for those pins. Whats the benefit of it?
- danhalbert
- Posts: 4654
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Feather M4 express bootloader
You might, for instance, be mounting the board inside a box, and want to route the signals from the board to a panel-mounted USB jacks. They are not test pads so much as convenient access pointsakki0075 wrote:Perfect, but why you have provided the test pads for those pins. Whats the benefit of it?
- westfw
- Posts: 2008
- Joined: Fri Apr 27, 2007 1:01 pm
Re: Feather M4 express bootloader
Also, presumably: testing? I don't know what Adafruit does for testing of a Feather M4 after they're made, but dropping it into a test fixture, burning the bootloader, and checking whether USB works seems like a good start!why you have provided the test pads for those pins. Whats the benefit of it?
- akki0075
- Posts: 53
- Joined: Fri Jan 17, 2020 6:51 pm
Re: Feather M4 express bootloader
Got it!.
Also, I was looking at the p-type MOSFET you are using in Power and filtering, can you somehow give an info. like which exactly you are using and its manufacturer?
Also, I was looking at the p-type MOSFET you are using in Power and filtering, can you somehow give an info. like which exactly you are using and its manufacturer?
- danhalbert
- Posts: 4654
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Feather M4 express bootloader
Schematic (https://learn.adafruit.com/adafruit-fea ... /downloads) says the MOSFET is DMG341 (which is an imprecise part number), but I think after looking it up we might be using a DMG2305UX now (from Diodes Incorporated). But I am not completely sure.
- akki0075
- Posts: 53
- Joined: Fri Jan 17, 2020 6:51 pm
Re: Feather M4 express bootloader
So after looking at this mosfet, drain to source voltage is 20V? This means we can even use the battery which gives more than 3.3V to the mosfet right?
- danhalbert
- Posts: 4654
- Joined: Tue Aug 08, 2017 12:37 pm
Re: Feather M4 express bootloader
The board is meant for use with a 4.2V LiPo battery, and has a charger for that kind of battery.
Please be positive and constructive with your questions and comments.