Download SAM4CP16B USER GUIDE

Transcript
6.
SAM4CP16B Evaluation Kit: Getting started
The purpose of this chapter is to introduce you the Atmel | SMART SAM4CP16B device and its
functionalities.
First of all, the software is presented to create, build, program and debug your application using the
appropriate IDE tools (section 6.1).
Chapter 6.2 describes a simple PLC application that lets you check the device communication in a
point-to-point connection (PHY layer example).
Chapter 6.3 describes the PHY TX Test Console application, which lets you configure a proper setup
to perform both EMC emissions and immunity tests on SAM4CP16BMB board.
Chapter 6.4 describes the PRIME PHY Sniffer project, which, is able to monitor data traffic on the
PRIME network.
Chapter 6.5 describes the PRIME Stack and we present you the structure of a PRIME project and how
to create a final application.
Chapter 6.6 explains the setup and operations required to create a smart PLC network using the
included PRIME Service Node example and Base Node Lite binary. This network communicates by
means of PRIME (PoweR line Intelligent Metering Evolution).
Finally, chapter 6.7 introduces you the Atmel PRIME Manager tool. This tool lets you establish a serial
communication with the boards by means of Atmel Universal Serial Interface.
Note:
6.1
The software described in this manual is under the Atmel`s Evaluation License Agreement.pdf
document. You can find it in the Software folder.
Introduction to the integrated development environment
The purpose of this section is to guide new users through the initial settings of IAR Embedded
Workbench or Atmel Studio, and compile a PRIME project. The section shows setup of a PRIME
project to generate a debug target that can be loaded into the microcontroller.
Kit projects are supported by IAR 7.10.1 or AS 6.2 versions or above. From this point on, it is assumed
that a working copy of these IDE is installed in your computer. The IAR’s homepage,
http://www.iar.com, is a suitable source to download (i.e.: 30-day time-limited evaluation license). And
the Atmel’s homepage, http://www.atmel.com, is suitable for downloading the Atmel Studio 6 (free
download).
6.1.1
IAR Embedded Workbench
IAR Embedded Workbench is a high-performance C/C++ compiler assembler, linker, librarian, text
editor, project manager, and C-SPY® Debugger in an integrated development environment for
applications based on 8-, 16-, and 32-bit microcontrollers. IAR Embedded Workbench is compatible
with other ARM EABI compliant compilers and supports the SAM4C core family (example projects are
developed only for 7.10.1 versions or above).
6.1.2
Atmel Studio 6
Atmel Studio 6 is the integrated development platform (IDP) for developing and debugging Atmel ARM
Cortex-M and Atmel AVR® microcontroller (MCU) based applications. The Atmel Studio 6 IDP gives
you a seamless and easy-to-use environment to write, build and debug your applications written in
C/C++ or assembly code.
Atmel Studio 6 is free of charge and is integrated with the Atmel Software Framework (ASF) — a large
library of free source code with 1,600 ARM and AVR project examples. ASF strengthens the IDP by
providing, in the same environment, access to ready-to-use code that minimizes much of the low-level
SAM4CP16B-EK Kit User Manual [USER GUIDE]
Atmel-43054E-ATPL-SAM4CP16B-EK-Kit-User-Manual-UserGuide_03-Nov-2015
33 3
3