5.3.3 Reprogramming of the Devices

The user can reprogram all devices in the kit using the original programming files. For more details, refer to the ATA8510 Evaluation Kit (ATA8510-EK1) (ATA8510-EK1 Tool Package.zip) and download the latest software from the Software section.

  1. To reprogram the ATSAMC21-XPRO device, perform the following steps:
    1. Open the base station project in MPLAB X IDE.
    2. From the Production menu, select Program Device for Production or Program Device for Debugging.
      Figure 5-6. Programming Device for Debugging – Production Tab
  2. To reprogram the ATA5831 device, connect the ATA5831 device to the SAMC21-XPRO board, and perform the following steps:
    1. Apply USB power to the debug USB connector.
    2. Connect the Microchip ICE debugger tool to the ISP header located near the edge of the board and place the jumper on the enable position of the enable/disable programming header (see Figure 4-1).
    3. To program the ATA5831 device, open Microchip Studio and perform the following (see the following figure):
      1. From the “Device” field drop-down list, select ATA5831.
      2. From the “Interface” drop-down list, select ISP.
      3. In the Interface settings tab, set the “ISP Clock” value as 64 kHz.
        Note: The ISP clock value must be ≤64 kHz.
        Figure 5-7. Device Programming and Interface Settings
      4. In the Memories tab, under the “EEPROM (1 KB)” area, browse and select Base_Station_ATA5831_EEPROM_434MHz.eep. Click Program to write the EEPROM.
        Figure 5-8. Selecting File
      5. In the Fuses tab, check LOW.SPIEN and LOW.EESAVE. Click Program to set the fuses.
        Figure 5-9. Fuses Selection
    4. Place the jumper in the disable position after completing the ATA5831 device programming (see Figure 4-1).
  3. To reprogram the ATA8510 remote sensor, perform the following steps:
    1. Attach the ISP connector to the ISP header on the ATAB8510B remote sensor board.
    2. Insert the CR2032 battery or apply an external 3V power supply to the USB connector.
    3. Open the remote sensor project in MPLAB X IDE.
    4. From the Production menu, select Program Device for Production or Program Device for Debugging.
    5. The user can press either of the switches, SW1 or SW2, for programming the ATAB8510B remote sensor.
    Figure 5-10. Re-programming the ATA8510 Device of the ATAB8510B Remote Sensor Board