
MT-D21E
User Guide
any reason, the erase procedure will likely fail.
3.
The board is reset. The bootloader (which always runs first) detects the blank flah row, so
bootloader operation resumes.
4.
Opening and closing the port at a baud rate other than 1200bps will not erase or reset the
SAMD.
Bootloader Firmware Installation
Bootloader Installation Using the Arduino IDE
1.
If you do not already have the MattairTech SAMD core installed, see SAMD Core Installation
above.
2.
Plug an Atmel ICE into USB, then connect it to the powered SAMD board. A green LED should
light on the Atmel ICE.
3.
Click Tools>Programmer>Atmel ICE.
4.
Click Tools>Board>MattairTech MTD21E (or MTD11).
5.
Click Tools>Burn Bootloader. Ignore any messages about not supporting shutdown or reset.
6.
Continue with driver installation above.
Bootloader Installation Using Another Tool (ie: Atmel Studio, openocd)
1.
https://www.mattairtech.com/software/arduino/SAMBA
bootloaderszeromattairtech.zip
2.
Unzip to any directory. Be sure that a bootloader is available for your particular chip.
3.
Follow the procedures for your upload tool to upload the firmware.
●
Perform a chip erase first. Be sure no BOOTPROT bits are set.
●
Install the binary file to 0x00000000 of the FLASH.
●
You can optionally set the BOOTPROT bits to 8KB (or 4KB for the MTD11). The
Arduino installation method does not set these.
●
You can optionally set the EEPROM bits or anything else. The Arduino installation
method uses factory defaults.
4.
Continue with driver installation above.
July 11, 2016
27