
MT-D21E
User Guide
Fuse and Lock Settings
Fuse and Lock Settings
With SAM-BA (CDC) Bootloader
Both the bootloader and the blink sketch were preinstalled by using the Arduino IDE. Neither the
region lock bits or the security bit is set. The fuses are left at default settings.
With Mass Storage Bootloader
The Mass Storage Bootloader was preinstalled with the following commands (ATSAMD21E17A
shown):
atprogram t atmelice i SWD d atsamd21e17a cl 500khz program c verify f
c:\msd_bootloader_128_flash.hex
atprogram t atmelice i SWD d atsamd21e17a cl 500khz write fs o 0x00804000 values f9
Neither the region lock bits or the security bit is set. The three BOOTPROT fuse bits (2:0) are set to
0x01 (16KB). The blink program (compiled with an offset of 0x00004000) was then installed using the
Mass Storage Bootloader.
Without Bootloader
The Blink program was preinstalled with the following commands (ATSAMD21E17A shown):
atprogram t atmelice i SWD d atsamd21e17a cl 500khz program c verify f
c:\MT_D21E_Blink_128_no_offset_flash.hex
Neither the region lock bits or the security bit is set. The fuses are left at default settings.
Blink Demo
Blink Demo
With SAM-BA (CDC) Bootloader
The blink sketch comes preinstalled using the Arduino IDE.
With MSD Bootloader or Without Bootloader
A demo program comes preinstalled. It simply blinks the LED at 1Hz using an internal clock source.
The hex files can be found on the MTD21E product page at
. The blink
demo was compiled using the Atmel Standalone Toolchain for Linux. It makes use of Atmel Software
Framework (ASF) so it is rather large for a blink program. I can send the source upon request. I will
post source if I ever recompile a simpler version that does not depend on ASF.
July 11, 2016
32