Analog Devices is pleased to announce a port of FreeRTOS for the ADuCM302x processor family using Keil MDK.
This port has been official developed by Analog Devices and will continue to be supported.
The following software is required:
- FreeRTOS 9.0.0
- Analog Devices FreeRTOS zip from analog.com version 1.1.0 or later
- Keil MDK for ARM processors version 5.21a
- ADuCM302x BSP for Keil, version 1.0.4 or later
The following hardware is required:
- ADuCM3029 or ADuCM3027 EZ-Kit board
- J-Link connector
- Micro USB cable
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:
The ADuCM302x BSP for Keil can be downloaded from:
Installing the Software
1. Unzip the FreeRTOS zip
2. Unzip the Analog Devices FreeRTOS zip on top of the FreeRTOS zip
3. Unzip the ADuCM302x BSP zip
Importing the Demo
1. Launch the Keil MDK IDE
2. Select the Open Project option from the Project menu
3. In the file tree window browse the FreeRTOSv9.0.0\FreeRTOS\Demo\CORTEX_M3_ADuCM302x_KEIL folder in the FreeRTOS product installation and select the RTOSDemo.uvprojx file
4. Click the Open button to import the project
Building the Demo
1. From the Project menu select the Build Target/Rebuild All Target Files option
Running the Demo
To view I/O output from printf statements in the Keil IDE you will need to connect the EZ-Kit to the host PC and run a serial console application
1. Connect the J-Link emulator to DEBUG P4 port of EZ-Kit and the host PC
2. Connect the USB to UART port on the EZ-Kit to the host PC using the USB cable
3. Launch your serial console application and connect to the appropriate serial port, with a buad rate of 57600
3. Within the Keil IDE, from the Flash menu select the Download sub-menu and then select the Start/Stop Debug Session option
4. Click the Run button to start the application
The Keil MDK based application differs from the CrossCore Embedded Studio and IAR Workbench applications as it is unable to output and text to the console within the MDK IDE. The output of the application is transmitted via UART to the serial console.
When the application runs it will blink three LEDs on the EZ-Kit, 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 on the console.