This section is a guide to verifying the tool and project
configuration setup by compiling the empty project and writing it to the
ATtiny817.
Todo: Verify the tool and project configuration setup done in the previous
sections.
- Click the Start Without Debugging
button located in the Debug menu, as shown in the figure below. This will
compile the project and write it to the specified target MCU using the
configured tool.
Figure 4. Start Without
Debugging
- When Atmel Studio 7 builds the project
(automatically done when pressing Start Without Debugging), several
generated output files will show up in the Solution Explorer window.
The following output files are generated:
- EEP file: EEPROM content
written to the device.
- ELF file: Contains
everything written to the device, including program, EEPROM, and
fuses.
- HEX file: Flash content
written to the device.
- LSS file: Disassembled
ELF file.
- MAP file: Linker info,
what did the linker do, decisions about where to put things.
- SREC file: Same as HEX
but in Motorola format.
Info: If
there is new firmware available for the selected tool, the
Firmware Upgrade
dialog will appear, as depicted in
Figure 5. Click the
Upgrade button to start the
firmware upgrade.
Figure 5. Firmware Upgrade
Dialog
Depending on the state of the connected tool and the actual firmware upgrade,
the upgrade may fail on the first attempt. This is normal and can be resolved by
disconnecting and reconnecting the kit before clicking
Upgrade again. After
the upgrade has completed, the dialog should say "EDBG Firmware Successfully
Upgraded".
Close the dialog box and make a new attempt at programming the kit
by clicking the
Start Without Debugging button again.
Result: By
compiling the empty project and writing it to the ATtiny817 the following has been
verified:
- The project is configured for
the correct MCU
- The correct tool has been
selected
- The tool's firmware is up-to-date
Under View > Available
Tools you are able to see a list of available or recently used Tools. Here
you can specifically ask Atmel Studio 7 to upgrade the firmware for a
tool.
Figure 6. Atmel Studio 7 Available
Tools (on view menu)