0

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
viewtopic.php?f=57&t=142170&p=707151#p707151
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)
https://www.adafruit.com/product/1369
(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 :)

Aero91most
 
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

adafruit_support_mike
 
Posts: 58799
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.