Hide thumbs Also See for ZWIR4512:

Advertisement

Contents
1
Introduction ....................................................................................................................................................... 2
2
Initial Preparation ............................................................................................................................................. 3
3
Creating a New Project .................................................................................................................................... 5
4
The "Getting Started" Example....................................................................................................................... 10
5
Related Documents ........................................................................................................................................ 11
6
Glossary ......................................................................................................................................................... 11
7
Document Revision History ............................................................................................................................ 12
List of Figures
ZWIR4512 Development Kit ............................................................................................................... 2
License Manager ................................................................................................................................ 3
New Project Window-Select a New Project Template ..................................................................... 5
Project Explorer .................................................................................................................................. 7
Project Explorer after Compiling ......................................................................................................... 8
CrossStudio™ in Debugging Mode .................................................................................................... 9
COM Port Settings ............................................................................................................................ 10
© 2016 Integrated Device Technology, Inc.
ZWIR4512 Application Note -
Development Kit Getting Started Guide
1
April 15, 2016

Advertisement

Table of Contents
loading

Summary of Contents for IDT ZWIR4512

  • Page 1: Table Of Contents

    Related Documents ............................11 Glossary ................................. 11 Document Revision History ..........................12 List of Figures Figure 1.1 ZWIR4512 Development Kit ....................... 2 Figure 2.1 License Manager ..........................3 Figure 3.1 New Project Window—Select a New Project Template ..............5 Figure 3.2 New Project Window - Select Files to Add to the Project ..............
  • Page 2: Introduction

    This document is a step-by-step manual that describes how to install all required software and demonstrates creating a simple first project with the ZWIR4512 Development Kit (see Figure 1.1). The integrated development environment (IDE) CrossStudio™* for ARM®* from Rowley Associates is used. CrossStudio™ is available for Microsoft®...
  • Page 3: Initial Preparation

    ZWIR4512 Application Note - Development Kit Getting Started Guide Initial Preparation During the following steps, the development environment will be installed with all packages. These steps are only done once to set up CrossStudio™. 1. Install CrossStudio™ for ARM from the DVD by activating the following executable: install\CrossStudio\arm_crossworks_2_3_5_win_x86_setup.exe...
  • Page 4 CrossStudio™ and the microcontroller JTAG interface. The second one is connected to the microcontroller UART interface. * Access to on-line ZWIR45xx software downloads requires a free customer login account. See section 7. After login, click on “ZWIR4512 API RCS” under the “Software” heading.
  • Page 5: Creating A New Project

    ZWIR4512 Application Note - Development Kit Getting Started Guide Creating a New Project After the successful initial preparation, a first simple application can demonstrate the development process with CrossStudio™. 1. Start CrossStudio™.  2. In the menu bar, select File New Project.
  • Page 6: Figure 3.2 New Project Window - Select Files To Add To The Project

    ZWIR4512 Application Note - Development Kit Getting Started Guide 4. Select files to add to the project. Figure 3.2 a. Select all files as shown in b. Ensure that the libraries libZWIR45xx-IKEv2.a and libZWIR45xx-IPSec.a are NOT selected. Note: If the libraries libZWIR45xx-IKEv2.a and/or libZWIR45xx-IPSec.a are selected, communication over IPv6 is not possible without configuring the security module.
  • Page 7: Figure 3.3 Project Explorer

    A first example is the “getting started”. The code can be found on the DVD under src/Examples/GettingStarted/src/gettingStarted.c. It is also included in the IDT software zip file available for download* on the ZWIR4512 product web page: www.IDT.com/ZWIR4512. To use this example, the “getting started” c-code (from the gettingStarted.c) must be copied into the current project main.c (Figure 3.3)
  • Page 8: Figure 3.4 Project Explorer After Compiling

    ZWIR4512 Application Note - Development Kit Getting Started Guide 7. Compile the program: Right click on the project in the Project Explorer and then click on Build on the resulting drop-down menu. Figure 3.4 shows the “Project Explorer” after the program has been compiled for this example.
  • Page 9: Figure 3.5 Crossstudio™ In Debugging Mode

    ZWIR4512 Application Note - Development Kit Getting Started Guide 9. Start debugging:  a. On the main menu bar, click Debug Go (or press F5). b. Wait until the application was loaded successfully at the microcontroller. Note: if uploading errors occur, try the uploading again.
  • Page 10: The "Getting Started" Example

    ZWIR4512 Application Note - Development Kit Getting Started Guide The “Getting Started” Example The “getting started” example provides a basic introduction to the ZWIR4512-I-Development Kit. This program can be found on the DVD under src\examples\gettingstarted. For this example, at least two devices must be pre-programmed with the “getting started”...
  • Page 11: Related Documents

    ZWIR4512 Application Note - Development Kit Getting Started Guide If any other “getting started” device is powered, the terminal should print out the received blink packets as Received blink from fe80:0000:0000:0000:0211:7d00:002f:0003: 5232 To test the data transfer function, connect a second device and open a second terminal. Now it is possible to enter a message (e.g., “hello world”...
  • Page 12: Document Revision History

    IDT's products are not intended for use in applications involving extreme environmental conditions or in life support systems or similar devices where the failure or malfunction of an IDT product can be reasonably expected to significantly affect the health or safety of users. Anyone using an IDT product in such a manner does so at their own risk, absent an express, written agreement by IDT.

Table of Contents