Next revision | Previous revision |
resources:eval:user-guides:rapidnet-ip:sw [28 Nov 2018 05:23] – created Sreeharsha Srinivas | resources:eval:user-guides:rapidnet-ip:sw [28 Nov 2018 07:30] (current) – [Import RapidNet IP Example Project] Sreeharsha Srinivas |
---|
This document lists the software prerequisites for RapidNet IP. | ====== Prerequisites for RapidNet IP ====== |
Before installing RapidNet IP software, do install these | This document lists the steps required for successful installation of development environment, software packs and RapidNet IP source installer. |
* IAR (8.22.2 version preferred) | |
* ADuCM3029 ARM CMSIS PACK | |
* ADuCM3029 DFP 3.2.0 | |
| |
| ===== IAR EWARM - Installation ===== |
====== EV-COG-AD3029LZ with IAR Embedded Workbench for ARM ====== | |
| |
First, install mBed windows serial driver from [[https://developer.mbed.org/handbook/Windows-serial-configuration|https://developer.mbed.org/handbook/Windows-serial-configuration]] | |
| |
===== IDE Setup ===== | |
- Install IAR Embedded Workbench for ARM | - Install IAR Embedded Workbench for ARM |
* Please visit https://www.iar.com/ to download IAR Embedded Workbench for ARM (version 8.20.1 or above) | * Please visit https://www.iar.com/ to download IAR Embedded Workbench for ARM (version 8.22.2 preferred) |
- License Installation | - License Installation |
* Make sure valid license is installed for the corresponding version. | * Make sure valid license is installed for the corresponding version. |
| |
| |
| ===== Software Packs and Driver - Installation===== |
| - Following packs for ADuCM3029 can be downloaded directly from ARM website using IAR tool. |
===== Software Packs and Driver Setup===== | * ARM CMSIS Pack |
- Download the following packs for EV-COG-AD3029LZ | * ADuCM302x_DFP (3.2.0) - Device Family Pack for ADuCM302x |
* [[https://keilpack.azureedge.net/pack/ARM.CMSIS.5.2.0.pack | ARM CMSIS Pack]] | * EV-COG-AD3029LZ_BSP - Board Support Pack for EV-COG-AD3029LZ |
* [[http://download.analog.com/tools/EZBoards/CM302x/Releases/AnalogDevices.ADuCM302x_DFP.3.1.0.pack | DFP - Device Family Pack for ADuCM302x]] | |
* [[http://download.analog.com/tools/EZBoards/COG_AD3029/Releases/AnalogDevices.EV-COG-AD3029LZ_BSP.3.1.0.pack | BSP - Board Support Pack for EV-COG-AD3029LZ]] | |
- Start IAR Embedded Workbench for ARM. | - Start IAR Embedded Workbench for ARM. |
- Go to Project-> CMSIS-Pack-> Pack Installer. {{ :resources:eval:user-guides:ev-cog-ad4050lz:quickstart_guide:iar:cmsis_pack_install_1.png?nolink&750 |}} | - Go to Project-> CMSIS-Pack-> Pack Installer. {{ :resources:eval:user-guides:ev-cog-ad4050lz:quickstart_guide:iar:cmsis_pack_install_1.png?nolink&750 |}} |
- In **'CMSIS Pack Manager'** window, click 'Install local pack file'. {{ :resources:eval:user-guides:ev-cog-ad4050lz:quickstart_guide:iar:cmsis_pack_install_2.png?nolink&700 |}} | - In **'CMSIS Pack Manager'** window, click 'Search for updates'. {{ :resources:eval:user-guides:rapidnet-ip:2.png?nolink&600 |}} |
- In 'Pack file to install' window navigate to the downloaded pack (as already done in step 1 of this section), select all the packs to install and click Open. {{ :resources:eval:user-guides:ev-cog-ad3029lz:tools:iar-aducm3029-cmsis-packs-snapshot2.png?nolink |}} | - After search is complete, expand 'ARM' and 'CMSIS' under ARM. Right click on the latest version and select install from drop down options. |
| - After successful installation of ARM CMSIS pack, expand 'AnalaogDevices', then expand 'ADuCM302x_DFP'. Right click on **'3.2.0'** and click install drop down options. |
| - After successful installation of ADuCM302x_DFP, expand 'AnalaogDevices', then expand EV-COG-AD3029LZ_BSP'. Right click on **'3.1.0'** and click install drop down options. |
| - Restart IAR after successful installation of all the packs. |
| |
===== Running an Example Project ===== | |
- Power the MCU Cog using a USB (micro-B) Cable. You should see a red LED and a yellow LED turn on by default. {{ :resources:eval:user-guides:ev-cog-ad4050lz:img_20171030_180904.jpg?nolink&200 |}} | ===== RapidNet IP Source Installer - Download and Installation===== |
- In IAR IDE, go to Project-> Create New Project... {{ :resources:eval:user-guides:ev-cog-ad4050lz:quickstart_guide:iar:create_new_project_1.png?nolink |}} | Below steps will guide how to download the RapidNet IP Source Installer. |
- In **'Create New Project'** window, Select **'CMSIS Pack Example'** and click 'OK'. {{ :resources:eval:user-guides:ev-cog-ad4050lz:quickstart_guide:iar:example_run_1.png?nolink |}} | - Click www.analog.com/SRF to go to Analog devices software request form, to request the source installer. |
- Expand Analog Devices, select **ADuCM3029** and click 'Next'. {{ :resources:eval:user-guides:ev-cog-ad3029lz:tools:iar-aducm3029-cmsis-example-mcu-select1.png?nolink&700 |}} | - Fill required details. |
- Select **button_press** example and click 'Finish'.{{ :resources:eval:user-guides:ev-cog-ad3029lz:tools:iar-aducm3029-cmsis-example-buttonpress1.png?nolink&700 |}} | - Under 'Target Hardware', select 'Ultra Low Power Microcontroller' |
- Save the project to the desired location. | - Under 'Software requested' section, check 'RapidNet IP'. |
| - Click 'SUBMIT' button available at the bottom of the page. |
| - An e-mail notification with a download link will be sent. |
| |
| |
| ==== Import RapidNet IP Example Project ==== |
| - Power the using a USB (micro-B) Cable. You should see a red LED and a yellow LED turn on by default. |
| - Start IAR Embedded Workbench for ARM. |
| - Go to File-> Open Workspace... |
| - Navigate to the RapidNet IP installation directory in Open Workspace. By default it will be installed at C:\Analog Devices\RapidNet-IP-Rel1.1.0. |
| - In 'Open Workspace' window go to Mote->application->esl->IAR. |
| - Select 'esl_lib.eww' and click open. |
| - Once the workspace is open, make sure 'esl_app' is select in the 'Workspace' tab (left side). If not, select it from the bottom of the 'Workspace' tab. {{ :resources:eval:user-guides:rapidnet-ip:3.png?nolink&200 |}} |
| - Right click on 'esl_app - Debug' on Workspace Tab and select 'Options...'. |
| - Go to Debugger->Setup and under 'Driver' drop down menu select 'CMSIS DAP'.{{ :resources:eval:user-guides:rapidnet-ip:4.png?nolink&600 |}} |
- Click on 'Debug and Download' icon {{:resources:eval:user-guides:ev-cog-ad4050lz:quickstart_guide:iar:debug_debug_button.png?nolink|}}on the menu bar. This will compile, build and download the project on EV-COG-AD3029LZ using CMSIS-DAP. | - Click on 'Debug and Download' icon {{:resources:eval:user-guides:ev-cog-ad4050lz:quickstart_guide:iar:debug_debug_button.png?nolink|}}on the menu bar. This will compile, build and download the project on EV-COG-AD3029LZ using CMSIS-DAP. |
- Click on 'Run' icon {{:resources:eval:user-guides:ev-cog-ad4050lz:quickstart_guide:iar:run_button.png?nolink|}} to start the debug session. | |
- Now press BTN1 or BTN2 on EV-COG-AD3029LZ and inspect corresponding LED | ===== mBed windows serial driver - Installation ===== |
| Install mBed windows serial driver from [[https://developer.mbed.org/handbook/Windows-serial-configuration|https://developer.mbed.org/handbook/Windows-serial-configuration]] |
| |
You are all set! | You are all set! |
| |
| |
**[[resources:eval:user-guides:ev-cog-ad3029lz:quickstart|Back]]** | [[resources:eval:user-guides:rapidnet-ip|Back]] |
| |
| |