Getting Started with ADSP-CM41x Mixed-Signal Control Processors

Document created by John_M Employee on Feb 16, 2016Last modified by PrasanthR on Dec 22, 2017
Version 13Show Document
  • View in full screen mode

Where can I find the information about ADSP-CM41xF? 

http://www.analog.com/cm4xx.html 

http://www.analog.com/CM419FEZKIT

 

What do I need in order to evaluate the ADSP-CM41xF Processors?

  1. Hardware: ADSP-CM419F Evaluation Hardware
  2. Development Tools : IAR Embedded Workbench for ARM (EWARM) v 7.60.1 OR Keil MDK Version 5.

  3. Segger J-Link Software: Version 6.14c
  4. Board Support Package: Version 1.3.0

     

Hardware

This section explains about the ADSP-CM419F Evaluation Board Evaluation Hardware.

 

1.    The ADSP-CM419F Evaluation Hardware provides a low cost hardware solution for users to evaluate the Analog Devices ADSP-CM41xF         microcontroller family, and includes the J-LINK LITE ARM emulator from Segger, and necessary cables for bring up. Currently we provide         ADSP-CM419F EZ-KIT in order to assist in evaluating the entire ADSP-CM41xF family. ADSP-CM419F  can be considered as a superset           product having all the features, please visit datasheet for other package options.

 

2.    The ADSP-CM419F Board Design Database contains all of the electronic information required for the design, layout, fabrication and                    assembly of the ADSP-CM419F EZ-KIT boards.

 

3.     Two expansion connectors are available for connecting probing boards that extend the system’s evaluation capabilities:

    • The Analog 120-Pin Probing Board (Part# ADZS-120ANA-SAM) which provides a point for probing any signal of the 120-pin expansion interface connector.
    • The PWM 180-Pin Probing Board (Part# ADZS-180PWM-SAM) provides probing points for any signal of the 180-pin expansion interface connector.

Development Tools Bring Up: IAR Embedded Workbench for ARM (EWARM) 7.60.1 & Board Support Package 1.3.0

This section explains how to bring up the ADSP-CM419F Evaluation Board with IAR EWARM 7.60.1 and BSP 1.3.0. Follow the order of installation steps explained below in the given order.

 

1.     Download and install limited version of IAR EWARM from this FTP link: (IAR Installation Link) . Since this is a limited version, please         go through this link (IAR EWARM Limited Edition restrictions) for more information on what is supported. Contact IAR Systems                            support team in case of any questions on the tool installation and licenses. IAR Systems maybe approached for purchase of full license.             The default installation directory is "C:\Program Files (x86)\IAR Systems\"  

 

2.     Download and install ADSP-CM41x Board Support Package for IAR - (Rev. 1.3.0) from this link: (ADSP-CM41x Board Support                       Package for  IAR ). The ADSP-CM41x Board Support Package for IAR package is free to download, and does not need a separate                     license to be installed  in EWARM. Release Notes of the BSP can be found here (Release Notes): Installing this software package                       automatically:    

 

                    a. Adds ADSP-CM41x IAR configuration files into the IAR Embedded Workbench folder (C:\Program Files (x86)\IAR                                                Systems\Embedded Workbench 7.2\arm\config). The IAR configuration files consist of files for linking, flash loading and                        debugging. 

 

                    b. Adds startup code, device drivers (source code and libraries), examples and documentation into the Analog Devices installation                         folder. "C:\Analog Devices\ADSP-CM41x-Rel1.3.0"

 

       Refer to BSP User Guide for more details. The User Guide and other documentation can be found here: "C:\Analog Devices\ADSP-                    CM41x-Rel1.3.0\ADSP-CM41x-EZ-KIT\doc"

 

3.    Download and install J-Link Software - Version 6.14c from Segger website (Segger J-Link Software packages)

     

4.    Bringing up the evaluation board with tools: This section assumes that above steps of IAR and BSP installations are completed.

 

         1) Bring up the Evaluation board with development tools as decribed below. Use Figures 2&3 in the ADSP-CM41x Board Support                      Package User's Guide as reference. 

         2) Connect the EZ-KIT board to a personal computer (PC) running IAR Embedded WorkBench, using a JLink/J-Trace emulator:
               a. Plug one side of the USB cable into the USB connector of the emulator. Plug the other side into a USB port of the PC running IAR                        Embedded WorkBench.
               b. Attach the emulator to the header connector, P1 or P2 , on the EZ-KIT board.
         3)  Attach the provided cord and appropriate plug to the 5V power adapter:
               a. Plug the jack-end of the power adapter into the power connector P19 on the EZ-KIT board.
               b. Plug the other side of the power adapter into a power outlet. The power LED ( LED1 ) is lit green when power is applied to the                   board. 

         4) By default, a "Power On Self Test code" would be booted from flash and LEDs 2 and 3 would be blinking.

         5) Examples for various peripherals can be found here "C:\Analog Devices\ADSP-CM41x-Rel1.3.0\ADSP-CM41x-EZ-KIT\Examples"

             To open an example (for example Button_LED_callback) first open AR Embedded Workbench, and go to FIle -> Open ->                                      Workspace -> "C:\Analog Devices\ADSP-CM41x-Rel1.3.0\ADSP-CM41x-EZ-KIT\Examples\gpio\Button_LED_callback\M4\iar" 

             Open Button_LED_GPIO.eww. Then to build and run the code, click on "Download and Debug" button in IAR Embedded                                        Workbench. Refer to readme files on how to run the examples.

 

5.    Training Videos: In addition to the documentation provided with the IAR EWARM tools and ADSP-CM41x Board Software Package User's         Guide, IAR provide Video Tutorials, Articles, Datasheets, etc, including a two-part IAR Embedded Workbench Overview providing an                   overview and some of the important features of the IAR EWARM IDE, as well as demonstrating a download and debug session:

 

         IAR Embedded Workbench Overview Part 1http://www.youtube.com/watch?v=wcjy2vXN0Xg

         IAR Embedded Workbench Overview Part 2

 

Development Tools Bring Up: Keil MDK Version 5.18 & Board Support Package 1.3.0

This section explains how to bring up the ADSP-CM419F Evaluation Board with Keil MDK Version 5.18 and BSP 1.3.0. Follow the order of installation steps explained below in the given order.

 

1.     Download and install limited version of Keil MDK Version 5 : (Keil Installation Link) . Contact Keil support team in case of                                any questions on the tool installation and licenses. The default installation directory is "C:\Keil_v5\ARM\Pack\AnalogDevices"  

 

2.     Download and install ADSP-CM41x Board Support Package for Keil- (Rev. 1.3.0) from this link: (ADSP-CM41x Board Support                        Package    for  Keil ). The ADSP-CM41x Board Support Package for Keil package is free to download, and does not need a separate                  license to be installed  in EWARM. Release Notes of the BSP can be found here (Release Notes): Installing this software package                        automatically adds configuration files, startup code, device drivers, header files and examples to various directories, inside the parent                directory "C:\Keil_v5\ARM\Pack\AnalogDevices\CM4xx_DFP\1.3.0"

 

         Refer to BSP User Guide for more details. The User Guide and other documentation can be found here:                                                         "C:\Keil_v5\ARM\Pack\AnalogDevices\CM4xx_DFP\1.3.0\Documents"

 

3.    Download and install J-Link Software - Version 6.14c from Segger website (Segger J-Link Software packages)

     

4.    Bringing up the evaluation board with tools: This section assumes that above steps of IAR and BSP installations are completed.

 

         1) Bring up the Evaluation board with development tools as decribed below. Use Figures 2&3 in the ADSP-CM41x Board Support                      Package User's Guide as reference. 

         2) Connect the EZ-KIT board to a personal computer (PC) running IAR Embedded WorkBench, using a JLink/J-Trace emulator:
               a. Plug one side of the USB cable into the USB connector of the emulator. Plug the other side into a USB port of the PC running IAR                        Embedded WorkBench.
               b. Attach the emulator to the header connector, P1 or P2 , on the EZ-KIT board.
         3)  Attach the provided cord and appropriate plug to the 5V power adapter:
               a. Plug the jack-end of the power adapter into the power connector P19 on the EZ-KIT board.
               b. Plug the other side of the power adapter into a power outlet. The power LED ( LED1 ) is lit green when power is applied to the                   board. 

         4) By default, a "Power On Self Test code" would be booted from flash and LEDs 2 and 3 would be blinking.

         5) Examples can be found here (refer to readme files on how to run them)

              C:\Keil_v5\ARM\Pack\AnalogDevices\CM4xx_DFP\1.3.0\Boards\AnalogDevices\ADSP-CM419x-EZ-BOARD". 

 

             To open an example (for example Button_LED_callback) first open Keil MDK, and go to -> Project -> Open Project -> 

              C:\Keil_v5\ARM\Pack\AnalogDevices\CM4xx_DFP\1.3.0\Boards\AnalogDevices\ADSP-CM419x-EZ-BOARD\gpio\Button_LED_callback\M4

              \Button_LED_callback.uvprojx

 

              Then to build the code, click on Build Target button. Then, after successful build, click on "Start/Stop Debug Session" to run the code                 on  target.

 

 

 

How do I contact technical support?

 

  • Questions about the ADSP-CM41xF processor architecture, peripherals, programming, applications and hardware design, can be posted to the ADSP-CM4XX Processors community
  • Questions specific to evaluation hardware, should be posted to the Hardware Tools community.
  • Email support is also available for these topics, here.
  • Questions about IAR Embedded Workbench for ARM should be directed here: Technical support - IAR
  • Questions about the Keil Microcontroller Development Kit should be directed here: Keil Product Support

Attachments

    Outcomes