Installing a Programmer
The IDE enables you to start your preferred programming software from within the development environment . This enables you to compile and then program your microcontroller with just a few mouse clicks (or keyboard strokes, if you prefer). The first thing you need to do is tell the IDE which programmer you are using. Select View...Options from the main menu bar, then select the Programmer tab. Next, select the Add New Programmer button. This will open the install new programmer wizard.
Select the programmer you want the IDE to use, then choose the Next button. The IDE will now search your computer until it locates the required executable. If your programmer is not in the list, you will need to create a custom programmer entry. Your programmer is now ready for use. When you press the Compile and Program button on the main toolbar, you program is compiled and the programmer software started. The *.hex filename and target device is automatically set in the programming software (if this feature is supported), ready for you to program your microcontroller.
You can select a different programmer, or install another programmer, by pressing the small down arrow, located to the right of the compile and program button, as shown below

