0

Analog Devices ADuCM4x5x (Cortex M4F) using CrossCore Embedded Studio (GCC)

Analog Devices is pleased to announce a port of FreeRTOS for the ADuCM4x5x processor family using the CrossCore Development Tools (GCC).

This port has been official developed by Analog Devices and will continue to be supported.

Requirements

The following software is required:

  • FreeRTOS 9.0.0
  • Analog Devices FreeRTOS zip from analog.com version 1.1.0 or later
  • CrossCore Embedded Studio version 2.5.0 or later
  • Analog Devices ADuCM4x50 Device family pack file version 1.0.0 or later

Hardware Requirements

The following hardware is required:

  • ADuCM4050 EZ-Kit board
  • ICE1000 or ICE2000 emulator
  • Micro USB cable, and emulator cable as provided with the EZ-Kit

Setting up the Example

Full instructions for installing, building and running the example can be found in the Analog Devices User Guide, which is located in the Docs directory of the Analog Devices FreeRTOS zip.

The Analog Devices FreeRTOS zip is a compressed package that should be extracted on top of version 9.0.0 of the FreeRTOS product.
The Analog Devices FreeRTOS zip can be downloaded from the following page on analog.com:

http://www.analog.com/en/design-center/processors-and-dsp/evaluation-and-development-software/freertos.html#dsp-relatedsoftware

The Analog Devices ADuCM4x50 family pack file can be downloaded from the following page on analog.com:

http://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/ADZS-U4050LF-EZKIT.html#eb-relatedsoftware

Installing the Software

1. Unzip the FreeRTOS zip
2. Unzip the Analog Devices FreeRTOS zip on top of the FreeRTOS zip
3. Launch CrossCore Embedded Studio
i. Select the CMSIS Pack Manager from the Open Perspective menu
ii. Browse and select the ADuCM405x family pack file to install it

Importing the Demo

1. Start CrossCore Embedded Studio
2. Import the FreeRTOS example into CrossCore Embedded Studio:
3. Select the File menu and then select the Import option from the menu
When the Import project window appears:
  a. Click on the General folder, then click on the Existing Projects into Workspace entry, and click Next
  b. Click the Select root directory radio button and then click the Browse button
  c. Browse the root folder where you previously installed the FreeRTOS product and then browse down into the FreeRTOSv9.0.0\FreeRTOS\Demo\CORTEX_M4_ADuCM4x50_CCES folder
  d. Click Finish to close the file browser dialog
  A single project should appear in the projects pane of the Import window
4. Check the entry in the projects pane and click Import

Building the Demo

1. Within CrossCore Embedded Studio, in the Project Explorer right click on the RTOSDemo_CCES project and select the Build Project option from the menu

Running the Demo

1. Connect the ICE1000 or ICE2000 emulator to DEBUG P5 port of EZ-Kit and the host PC
2. Start CrossCore Embedded Studio
3. In the Project Explorer right click on the RTOSDemo_CCES project and select the Debug As option from the menu
4. From the popup menu select Debug Configurations option to create a new debug configuration that matches your emulator and target board
5. Click the Debug button to close the Debug Configuration window
6. Click the Run/Resume button to start running your application

 

Output from the application should be visible within the Console window in the CrossCore Embedded Studio IDE. You should see three LEDs on the EZ-Kit begin to flash. The test is ok for <num> round(s) will be printed constantly and Test Passed which means the test is successful will be printed after 25 rounds in the console.

0 comments

Please sign in to leave a comment.