background image

5. 

Appendix

5.1. 

Getting Started with IAR

IAR Embedded Workbench

®

 for ARM

®

 is a proprietary high efficiency compiler not based on GCC.

Programming and debugging of Xplained Pro kits are supported in IAR

 Embedded Workbench for ARM

using the common CMSIS-DAP interface. Some initial settings have to be set up in the project to get the
programming and debugging to work.

The following steps will explain how to get your project ready for programming and debugging:

1.

Make sure you have opened the project you want to configure. Open the 

OPTIONS

 dialog for the

project.

2.

In the category 

General Options

, select the 

Target

 tab. 

Select the device for the project or, if not

listed, the core of the device.

3.

In the category 

Debugger

, select the 

Setup

 tab. 

Select 

CMSIS DAP

 as the driver.

4.

In the category 

Debugger

, select the 

Download

 tab. 

Check the check box for 

Use flash loader(s)

option.

5.

In the category 

Debugger

 > 

CMSIS DAP

, select the 

Setup

 tab. 

Select 

System (default)

 as the

reset method.

6.

In the category 

Debugger

 > 

CMSIS DAP

, select the 

JTAG/SWD

 tab. 

Select 

SWD

 as the interface

and optionally select the 

SWD speed

.

Figure 5-1. Select Target Device

Atmel SAM D11 Xplained Pro [USER GUIDE]

Atmel-42349B-SAM-D11-Xplained-Pro_User Guide-04/2016

15

Содержание SAM D11 Xplained Pro

Страница 1: ...s easy access to the features of the Atmel ATSAMD11D14A and explains how to integrate the device in a custom design The Xplained Pro MCU series evaluation kits include an on board Embedded Debugger an...

Страница 2: ...d Extension Header 11 4 1 2 Current Measurement Header 12 4 2 Peripherals 12 4 2 1 Crystal 12 4 2 2 Mechanical Buttons 12 4 2 3 LED 12 4 2 4 Touch Buttons 12 4 2 5 USB 13 4 3 Embedded Debugger Impleme...

Страница 3: ...LED One extension header Three possible power sources External power Embedded debugger USB Target USB 32kHz crystal footprint USB interface device mode only Two QTouch buttons 1 2 Kit Overview The At...

Страница 4: ...Figure 1 1 SAM D11 Xplained Pro Evaluation Kit Overview Atmel SAM D11 Xplained Pro USER GUIDE Atmel 42349B SAM D11 Xplained Pro_User Guide 04 2016 4...

Страница 5: ...a minimalistic solution with access to all I O pins of the target microcontroller Xplained Mini kits are for medium pin count devices and adds Arduino Uno compatible header footprint and a prototypin...

Страница 6: ...BOM assembly drawings 3D plots layer plots etc Hardware Users Guide in PDF format PDF version of this User Guide SAM D11 Xplained Pro on Atmel web page Atmel website link Atmel SAM D11 Xplained Pro US...

Страница 7: ...ATSAMD11D14A must match the settings given in the terminal software Info The virtual COM port in the EDBG requires the terminal software to set the data terminal ready DTR signal to enable the UART p...

Страница 8: ...g 1774020200000010 0 Minimum Voltage mV uint16_t 3000 Maximum Voltage mV uint16_t 3600 Maximum Current mA uint16_t 30 3 3 Power Sources The SAM D11 Xplained Pro kit can be powered by several power sou...

Страница 9: ...ained Pro MCU boards directly Table 3 4 Xplained Pro Standard Extension Header Pin number Name Description 1 ID Communication line to the ID chip on an extension board 2 GND Ground 3 ADC Analog to dig...

Страница 10: ...t external power to the SAM D11 Xplained Pro kit The kit will automatically detect and switch to any external power if supplied The power header can also be used as supply for external peripherals or...

Страница 11: ...n EXT1 SAM D11 pin Function Shared functionality 1 ID Communication line to ID chip on extension board 2 GND GND 3 ADC PA02 AIN 0 QTouch Button 1 4 ADC PA03 AIN 1 QTouch Button 2 5 GPIO1 PA04 GPIO 6 G...

Страница 12: ...footprint Table 4 2 External 32 768kHz Crystal Pin on SAM D11 Function PA08 XIN32 PA09 XOUT32 4 2 2 Mechanical Buttons SAM D11 Xplained Pro contains two mechanical buttons One button is the RESET butt...

Страница 13: ...e pin can detect if VBUS is present when configured as input with no internal pull If VBUS is present the level on the pin will be high If VBUS is not present the line is externally pulled low It will...

Страница 14: ...SPI SCK Clock Out Note 1 PA27 is shared between SPI SS to the EDBG and VBUS detect on target USB This is implemented so the pin can detect if VBUS is present when configured as input with no internal...

Страница 15: ...nfigure Open the OPTIONS dialog for the project 2 In the category General Options select the Target tab Select the device for the project or if not listed the core of the device 3 In the category Debu...

Страница 16: ...Figure 5 2 Select Debugger Figure 5 3 Configure Flash Loader Atmel SAM D11 Xplained Pro USER GUIDE Atmel 42349B SAM D11 Xplained Pro_User Guide 04 2016 16...

Страница 17: ...Figure 5 4 Configure Reset Figure 5 5 Configure Interface Atmel SAM D11 Xplained Pro USER GUIDE Atmel 42349B SAM D11 Xplained Pro_User Guide 04 2016 17...

Страница 18: ...ther an Atmel ICE adapter SAM ICE adapter or a 10 pin 50 mil header to squid cable When using a squid cable see the table and figures below for how to connect the SAM ICE to the Xplained Pro board Tab...

Страница 19: ...rom another input like the external power header or from the target USB Physically removing the connection between the EDBG and the debug header by removing 0 resistors where available or cutting the...

Страница 20: ...oards will also appear in the Atmel Kit s window The same information can be found on the sticker on the bottom side of the PCB Most kits will print the identifier and revision in plain text as A09 nn...

Страница 21: ...ision History Doc rev Date Comment 42349B 04 2016 Added Getting Started with IAR 42349A 01 2015 Initial document release Atmel SAM D11 Xplained Pro USER GUIDE Atmel 42349B SAM D11 Xplained Pro_User Gu...

Страница 22: ...f the goods Further the user indemnifies Atmel from all claims arising from the handling or use of the goods Due to the open construction of the product it is the user s responsibility to take any and...

Страница 23: ...BUSINESS INTERRUPTION OR LOSS OF INFORMATION ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES Atmel makes no representations o...

Страница 24: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information Microchip ATSAMD11 XPRO...

Отзывы: