6.2 Programming the ATA5831 on the ATA5831-XPRO Board

Perform the following steps to program the ATA5831 on the ATA5831-XPRO board:
  1. Insert the ATA5831-XPRO board in the EXT1 connector on the ATSAMC21-XPRO board.
  2. 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.
  3. Connect the programmer (for example, Atmel-ICE or JTAGICE3) to the ISP header located near the edge of the board.
  4. 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:

  1. In Atmel Studio 7, navigate to Tools > Device Programming.
  2. Select the Tool, Device and Interface, as shown in the following figure, then click Apply.
    Figure 6-9. ATA5831 Device Selection
  3. Ensure that the ISP frequency is less than 100 kHz. Click Set.
    Figure 6-10. ATA5831 ISP Clock Frequency
  4. Click the Read button to ensure that the signature matches the selected device.
    Figure 6-11. ATA5831 Signature Verification
  5. 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
  6. Select the Memories tab, then click the Erase now button.
    Figure 6-13. ATA5831 Memory Settings
  7. Browse to locate the ATA5831_eeprom.eep file for the EEPROM memory image.
  8. Click the Program button, then wait for completion.
  9. 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.