Техническая Спецификация для Atmel ATSAM3S-EK2
Atmel AVR2055
47
8348D-AVR-06/12
1. Assemble the STK600 board and ATXmega routing and socket
2. Connect the PC COM1 port to the RS232 SPARE port on the board.
RS232 SPARE pins should be connected to the MCU pins, as
specified in
b. For REB-CBB:
3. Attach the radio extender board to the REB-CBB and connect a
power cable to the PWR port on the REB-CBB.
4. Connect the RS-232 interface cable to the USARTD0 port on the
REB-CBB and to the COM1 port on the PC.
Table 9-5. Host UART and MCU pin connections.
UART pin on host device
ATxmega256A3/D3 MCU pin
RXD
PD2
TXD
PD3
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. Reset the board using the reset button, if requested.
4. The Bootloader PC tool indicates the programming progress. Once an 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
happened, attempt booting again or try using the conventional serial port instead
of USB. If booting fails, the program recently written to the board will be
corrupted, but the board can be reprogrammed again as the embedded
bootloader remains 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.
9.4 Running reference applications
As described in Section
and corresponding LED indication.
Table 9-6. LED indication for embedded reference applications on XMEGA-STK600.
Table 9-6. LED indication for embedded reference applications on XMEGA-STK600.
Device state
XMEGA-STK600
LED2
LED1
LED0
Searching for network
Blinks
Joined to network
On
Received indication
Blinks once
Sent command or attribute request
Blink once
9.5 Reserved hardware resources
Table 9-7. Hardware resources reserved by the stack on ATxmega256A3/D3.
Resource
Description
Processor main clock
16MHz from internal 32MHz RC oscillator