6.2 Programming the ATA5831 on the ATA5831-XPRO
Board
Perform the following steps to program the ATA5831 on the ATA5831-XPRO board:
Insert the ATA5831-XPRO board in
the EXT1 connector on the ATSAMC21-XPRO board.
Connect the micro-USB plug to the
USB connector on the ATSAMC21-XPRO board, then connect the other end of the USB
cable to an open USB port on the PC.
Connect the programmer (for
example, Atmel-ICE or JTAGICE3) to the ISP header located near the edge of the
board.
Place a jumper on the Enable
position of the Enable | Disable Programming header, the two pins closest to the
EXT connector, as shown in the following figure.
Figure 6-8. Jumper Placement on the
ATA5831-XPRO Board for EEPROM Programming
Note: For better clarity, the ATSAMC21-XPRO
board is not shown.
The following steps use an Atmel-ICE programmer and the ISP interface for
programming:
In Atmel Studio 7, navigate to
Tools > Device Programming.
Select the Tool, Device and
Interface, as shown in the following figure, then click Apply.Figure 6-9. ATA5831 Device
Selection
Ensure that the ISP frequency is less
than 100 kHz. Click Set.Figure 6-10. ATA5831 ISP Clock
Frequency
Click the Read button to
ensure that the signature matches the selected device.Figure 6-11. ATA5831 Signature
Verification
Select the Fuses tab and
verify that the proper fuse settings exist. If not, change them to match the
following figure, then click the Program button.Figure 6-12. ATA5831 Fuse
Settings
Select the Memories tab, then
click the Erase now button.Figure 6-13. ATA5831 Memory
Settings
Browse to locate the ATA5831_eeprom.eep file for the EEPROM memory
image.
Click the Program button, then
wait for completion.
Place the jumper on the Disable
position of the Enable | Disable Programming header, the two pins closest to the
ANT2 connector.Figure 6-14. Jumper Placement on the
ATA5831-XPRO Board to Disable Programming Mode
Note: For better clarity, the ATSAMC21-XPRO
board is not shown.