Black Lives Matter - Action and Equality. ... Adafruit is open and shipping.
0

Trinket M0/Arduino IDE - disable the 1200 baud Reboot/progra
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Trinket M0/Arduino IDE - disable the 1200 baud Reboot/progra

by OriginP on Thu Jun 04, 2020 6:53 am

Hello,
I am using the Trinket M0 with the Arduino IDE.

I would like to disable any reset/programming capability through the USB port (1200 baud reboot), while still maintaining the capability to use the USB port in client mode.

Basically, I would like to prevent the code from being written over through the USB by others, but still allow the USB to be used as a client.

Any thoughts?

Thank you,

Eric

OriginP
 
Posts: 3
Joined: Thu Jun 04, 2020 6:50 am

Re: Trinket M0/Arduino IDE - disable the 1200 baud Reboot/pr

by adafruit_support_bill on Thu Jun 04, 2020 7:31 am

You would need to either write yourself a custom bootloader, or just burn your program directly into flash:

https://learn.adafruit.com/bootloader-b ... -3029737-3

adafruit_support_bill
 
Posts: 78251
Joined: Sat Feb 07, 2009 10:11 am

Re: Trinket M0/Arduino IDE - disable the 1200 baud Reboot/pr

by OriginP on Fri Jun 05, 2020 7:34 am

Thank you so much for your quick reply, I will order the J-link and get started! Eric

OriginP
 
Posts: 3
Joined: Thu Jun 04, 2020 6:50 am

Please be positive and constructive with your questions and comments.