๐Ÿ“ฃ๐Ÿ“ช ๐Ÿšš Adafruit will not be shipping USPS orders Monday January 20, 2020 ๐Ÿ—“. Expedited USPS orders placed after 11am ET ๐Ÿ•š Friday January 17 will go out Tuesday January 21 ๐Ÿ“ฃ๐Ÿ“ช๐Ÿšš

Making my own "trinket"
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Making my own "trinket"

by Aero91most on Tue Jan 15, 2019 11:38 am

Hello, I am going to practice PCB making by merging a Trinket M0 and the lipoly backpack addon.
The thing I have not clear is, after I design my PCB and make build and mount components, I have to burn the bootloader.

This is, use the bootloader in Adafruit's Github (or if I make my own), using a J-link?

I am reading from these learnings:

https://learn.adafruit.com/proper-step- ... others-5-6
https://learn.adafruit.com/adafruit-tri ... er-details
https://learn.adafruit.com/compiling-m0 ... bootloader
https://github.com/adafruit/uf2-samdx1/ ... -README.md

and I guess these are the hardware/software I need:

https://github.com/adafruit/uf2-samdx1/ ... adafruit.9
(the one that is for trinketM0)
(and look for the pinout and/or adapters for connecting this).

I think that I have all the info I need, but I feel like I forget something.. maybe is simply that I am not confident enough.

The result I want is to be able to program my pcb in the arduino IDE.

Thank you for any help :)

Posts: 13
Joined: Fri Nov 11, 2016 11:29 am

Re: Making my own "trinket"

by adafruit_support_mike on Wed Jan 16, 2019 12:08 am

If you're making your own board, the microcontroller you use won't have a bootloader at all.

The only way to program a blank SAMD21 is with a JTAG pod like the J-Link. The bootloader linked from this page will be the best place to start:

https://learn.adafruit.com/proper-step- ... others-5-6

Posts: 60177
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.