Atmel ATSAM3S-EK2 Hoja De Datos
56
Atmel AVR2055
8348D-AVR-06/12
1. Assemble the RCB128RFA1 and RCB breakout boards
(RCB_BB) together
2. Connect an RS232 interface cable to the J1 extender on the
RCB_BB and to the COM1 port on the PC
b. For ATAVR128RFA1-EK1:
1. Assemble the STK600 board and ATmega128RFA1 top card, as
described in Section
2. Connect the PC’s COM1 port to the RS232 SPARE port of the
board. RS232 SPARE pins should be connected to the MCU
pins, as specified in
Table 10-5. Host UART and MCU pin connections.
UART pin on host device
ATmega128RFA1 MCU pin
RXD
PD3
TXD
PD2
GND
D_GND
2. Install and run the Bootloader PC tool from the command line or use the GUI.
Specify the target image file in
.srec format and the COM port, and launch the
firmware upload (see
3. Perform a hardware reset on the board by using the reset button, if requested
4. The Bootloader PC tool indicates the operation progress. Once the upload is
successfully completed, the board will restart automatically. If an upload fails, the
Bootloader PC tool will indicate the reason. In rare cases, the booting process
can fail due to communication errors between the board and the PC. If this
happens, attempt booting again. If booting fails, the program recently written to
the board will be corrupted, but the board can be reprogrammed again as the
embedded bootloader should remain intact
WARNING
Using JTAG to program the microcontroller will erase the embedded
bootloader, making the loading of application images with Serial
Bootloader impossible until the embedded bootloader firmware is
reprogrammed to the device.
10.4 Running reference applications
As described in Section
devices indicate currently performed actions via
states and corresponding LED indications.
Table 10-6. Common LED indications for embedded reference applications on
Table 10-6. Common LED indications for embedded reference applications on
megaRF-STK600 and RCB128FRA1 boards.
Device
megaRF-STK600/RCB128RFA1
Unmarked/D2
Unmarked/D3
Unmarked/D4
Searching for network
Blinking
Joined to network
On
Received indication
Blinks once
Sent command or attribute request
Blinks once