4.16. FreeRTOS

4.16.1. Setting up and running EcMasterDemo Prerequisites, basic settings:

For Xilinx Zynq UltraScale+ (ZCU104) and Xilinx Zynq-7000 (ZC702 Evaluation Kit)

Install Xilinx SDK 2018.2 How to create the demo applications


  1. Create ENI file for EtherCAT configuration.

    xxd.exe is capable of converting ENI files to a C file as array, e.g.

    xxd.exe -i eni.xml ENI.c

    Replace ENI.c file with generated one.

  2. Create a BSP project

    Based on the delivered hardware project, replace the settings file with the one from the package:

    ../<BSP name>/<core name>/libsrc/freertos10_xilinx_v1_1/src/FreeRTOSConfig.h

    For the new BSP project, just use the same BSP name and core as in the package. How to run the EC-Master demo applications


Via USB debugger

Load the application with Debug Configuration ‣ Xilinix C/C++ application (System Debugger) to the chosen core.

Via SD card

By creating a BOOT.bin file, e.g.:

bootgen -w on -image ../EcMasterDemo_ZCU104_cortexa53.bif -arch zynqmp -o BOOT.bin

Maybe adjust the boot setting switches on the board