AT04357 RCB256RFR2-XPRO User Guide [USER GUIDE]
TBDA-MCU-09/2013
4
1.4.1
Atmel Studio
How to connect the Extension board + Xplained PRO board assembly to Atmel Studio
1. Download and install Atmel Studio
2. Launch Atmel Studio
3. Connect an USB cable to the DEBUG USB port and the kit will be visible in Atmel Studio
1.4.2
Connect the extension UART to the EBDG COM port
This section describes how to connect to the extension board UART by using the EBDG COM port.
All Xplained PRO boards have an embedded debugger (EBDG) with a number of features, among them a
CDC/COM port which enables the user to connect to the extension board UART and using the boot-loader on
the extension board.
1. Select a Xplained Pro board supported with a "Serial bridge application", currently supported by the
SAM4L XPRO and the ATMEGA256RFR2 XPRO boards.
2. Download the "Wireless Library hex" extension using Atmel Studio Extension Manager
Atmel Studio: Tools/Extension Manager/Wireless, download and unzip in a directory of your choise
3. Connect the EDBG USB to the PC and Program the "Serial bridge application" hex file on the XPRO
board.
Atmel Studio: Tools/Device Programming, select the XPRO-EDBG as Tool and click Apply
Select "Memories" and locate the "Serial bridge application" hex file and click Program
4. The UART on EXT1 should now be connected to the EDBG COM port at 9600baud
1.5
Programming
How to program the extension
1.5.1
JTAGICE
How to program using the JTAGICE mkII and JTAGICE3.
1. Connect the JTAGICE USB to the PC
2. Connect the JTAGICE to the Extension board connector (J2) as shown on picture.
3. Go to Atmel Studio: Tools/Device Programming, and select the JTAGICE connected as Tool and click
Apply.
4. Select Device = ATxmega256A3U
5. Select "Memories" and locate the source hex or elf file and click Program
with pictures of connection to the extension board.
1.5.2
Boot loader
This section describes how to use the bootloader to program the ZigBit on the Extension board
1. Use a Xplained Pro board with a "Serial bridge application" (section 1.4.2) to connect the Extension board
UART to the Embedded debugger COM port or connect the "Extension board UART" using any other level
shifter solution you might have.