Burn bootloader on Arduino Tian using Atmel Studio

Burning Bootloader procedure

To properly write the bootloader on your Arduino Tian, you need to use a programmer, for example the Atmel-ICE, and the tool provided by ATMEL AtmelStudio. 
Atmel ICE programmer 
Follow these steps: 
- Plug in one side of the SWD connector to SAM port on Atmel ICE programmer and an other side to SWD header on Arduino Tian. - Connect both the devices to PC via USB cables, as shown in the below picture. 
Warning: 
The board must be powered with one power supply that provides output at least 2A. 
For connecting it to your computer you may need to use a Y-Cable (USB Micro-B to Standard Male A). 
N.B: 
Do to coincide the connector red wire with the SWD Header white point on Arduino Tian . 
SAM port  
Connections between Tian  and Atmel ICE 
- Open AtmelStudio tool, you can download it from here (here); 
Atmel Studio 6 
- Go to Tools -> Device Programming or press the keys CTRL + SHIFT + P. 
Click on Device Programming  
- Select Atmel-ICE in Tool. 
- Select ATSAMD21G18A in Device. 
- Select SWD in Interface. 
- Press Apply. 
Device Programming menu 
Interface settings menu 
- Go to Memories 
Device Programming: Memories menu 
- Click Erase now and, if all has gone as it should, in the log console you will see OK. 
Erase now 
- Go to Fuses. 
- Ensure that the NVMCTRL_BOOTPROT is equal to 0x07, otherwise set this value by double clicking on the value. 
Device Programming: Fuses 
- Press Program. In the log console, OK will be showed as output if everything has run smoothly. 
- Go to Memories 
- Select the file to write Sofia_Tian_xxxxxx.hex, this file is placed into ...\arduino-1.7.10\hardware\arduino\samd\bootloaders\sofia folder. 
- Click Program , in the log console you will see OK. 
bootloader Tian

- Now you have burned the bootloader.

Try to upload a simple sketch for example the blink using the Arduino IDE.