The documentation of FREERTOS-SDK for AM62D
contains steps to setup the software and tools needed to load and run bare-metal and FreeRTOS™ binaries on the AM62D
EVM. Listed below is the summary of the steps. For more details, refer to the
FREERTOS-SDK documentation.
- Download and install FREERTOS-SDK.
- Download and install all required software and tools:
- SysConfig
- GCC AARCH64 Compiler
- C7000-CGT Compiler Toolchain
- Python3
- OpenSSL
- Mono Runtime
- Code Composer Studio™ (CCS)
- TI CLANG Compiler Toolchain
- Build the SDK with make -sj4 all
- EVM Setup:
- Setup up EVM to UART boot mode.
- Connect EVM to PC using the UART micro USB port.
- Use Unilflash to flash the initialization binaries. For running C7x kernels from libraries such as FFTLIB, MATHLIB, DSPLIB, and VXLIB, use SBL null.
- Load .out binaries to EVM using CCS (this method is used to run bare-metal kernels on C7x DSP):
- Set up XDS110 target configuration for AM62D. This step is executed for the first time only.
- Change EVM to OSPI NOR boot mode.
- Connect EVM to PC using the JTAG micro USB port.
- Launch the XDS110 configuration created in previous step.
- Connect to the C7XSS_0.
- Load the .out binary file to C7x.
- Run.
- For the freeRTOS example as in the Dhrystone, the .appimage file is flashed to the device.