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.
- To reprogram the ATSAMC21-XPRO
device, perform the following steps:
- Open the base station project in MPLAB X IDE.
- From the Production
menu, select Program Device for Production or Program Device for
Debugging.
Figure 5-6. Programming Device for Debugging – Production Tab
- To reprogram the ATA5831 device, connect the ATA5831 device to the SAMC21-XPRO board, and perform the following
steps:
- Apply USB power to the debug USB connector.
- 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).
- To program the ATA5831 device, open Microchip Studio and
perform the following (see the following figure):
- From the “Device” field drop-down list, select ATA5831.
- From the “Interface” drop-down list, select ISP.
- 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 - 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 - In the Fuses
tab, check LOW.SPIEN and LOW.EESAVE. Click
Program to set the fuses.
Figure 5-9. Fuses Selection
- Place the jumper in the disable position after completing the ATA5831 device programming (see Figure 4-1).
- To reprogram the ATA8510 remote sensor, perform the following
steps:
- Attach the ISP connector to the ISP header on the ATAB8510B remote sensor board.
- Insert the CR2032 battery or apply an external 3V power supply to the USB connector.
- Open the remote sensor project in MPLAB X IDE.
- From the Production menu, select Program Device for Production or Program Device for Debugging.
- 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