Wiki

This version (05 Dec 2018 13:55) was approved by Pranit Jadhav.The Previously approved version (08 Feb 2018 16:10) is available.Diff

EV-COG-AD3029LZ with IAR Embedded Workbench for ARM

First, install mBed windows serial driver from https://developer.mbed.org/handbook/Windows-serial-configuration

IDE Setup

  1. 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)
  2. License Installation
    • Make sure valid license is installed for the corresponding version.

Software Packs and Driver Setup

  1. Start IAR Embedded Workbench for ARM.
  2. Go to Project→ CMSIS-Pack→ Pack Installer.
  3. In 'CMSIS Pack Manager' window, Click Search for updates.
  4. Expand Analog Devices, then expand ADuCM302x_DFP. Right click on the latest version (for ex. 3.2.0) and click install.
  5. After successful installation of ADuCM302x_DFP, repeat step 4 for EV-COG-AD3029LZ_BSP.
  6. After successful installation of EV-COG-AD3029LZ_BSP, expand ARM → CMSIS and install the latest version (for ex. 5.4.0 ) available for ARM CMSIS Pack.

Running an Example Project

  1. Power the MCU Cog using a USB (micro-B) Cable. You should see a red LED and a yellow LED turn on by default.
  2. In IAR IDE, go to Project→ Create New Project…
  3. In 'Create New Project' window, Select 'CMSIS Pack Example' and click 'OK'.
  4. Expand Analog Devices, select ADuCM3029 and click 'Next'.
  5. Select button_press example and click 'Finish'.
  6. Save the project to the desired location.
  7. Click on 'Debug and Download' icon on the menu bar. This will compile, build and download the project on EV-COG-AD3029LZ using CMSIS-DAP.
  8. Click on 'Run' icon to start the debug session.
  9. Now press BTN1 or BTN2 on EV-COG-AD3029LZ and inspect corresponding LED

You are all set!

Back

resources/eval/user-guides/ev-cog-ad3029lz/tools/iar_guide.txt · Last modified: 05 Dec 2018 13:54 by Pranit Jadhav