Translate

Saturday, June 12, 2021

Arduino IDE settings for : Trinket M0

The Adafruit Trinket M0 is a small microcontroller from Adafruit, successor of the Adafruit Trinket (3V and 5V) and it can be programmed using Arduino IDE.

Arduino settings

Be sure to have these settings :
  • in preference add the additional manager board addition :
    https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
  • From the board manager, look for the SAMD boards, from there look for the Trinket M0
    (if not in the list download the SAMD boards package)
  • After rebooting Arduino IDE, select the ACTM USB port
  • No programmer should be selected

Usage

When pressing the Reset button on the Trinket it should be recognized by the system, popping up a new USB device.
Select it (Port section).
Upload the code then.
After that "in theory" should be possible to upload the code anytime.
However in some case is possible the upload is not working.

In that case is possible to press the reset button TWICE. 
This will force the Trinket M0 in bootloader mode, thus a new USB device will be created.

Resources

Check the Adafruit tutorial for more info

No comments:

Post a Comment