====== Cortex-R5 BSP Development ====== TI's am64xx and am24xx CPUs include Cortex-R5 cores that can be used for real-time operating systems (RTOS) and real-time applications. We provide a customized FreeRTOS BSP for the Cortex-R5 cores which implements the basic functionality and provides a simple command line interface. ===== Requirements and Installation on Windows ===== To flash, customize and build the BSP is done via the SysConfig Tool and the Code Composer Studio from TI. In addition, the SDK for the AM64xx is required. A TI account might be required to access the downloads of the tools and SDK. Code Composer Studio should be installed at last, so that the paths of the SDK and the SysConfig tool are automatically detected. ==== SDK Installation ==== The SDK is available as a Windows setup for download on the TI site:\\ [[https://www.ti.com/tool/download/MCU-PLUS-SDK-AM64X/08.02.00.31 |MCU-PLUS-SDK-AM64X]] 1. Download SDK installer from TI Website \\ 2. Run the executable to start the installation \\ 3. Follow the installer instructions to install the SDK \\ We recommend using the default path **C:\ti** for the installation of the tools ==== SysConfig Tool Installation ==== The SysConfig tool is available as a Windows setup for download on the TI site:\\ [[https://www.ti.com/tool/download/SYSCONFIG/1.11.0_2225 |SYSCONFIG]] 1. Download SysConfig installer from TI Website \\ 2. Run the executable to start the installation \\ 3. Follow the installer instructions to install the SysConfig Tool \\ ==== Code Composer Studio IDE Installation ==== The Code Composer Studio IDE (CCS) is available as a Windows setup for download on the TI site:\\ [[https://www.ti.com/tool/download/CCSTUDIO/11.1.0.00011 |Code Composer Studio]] 1. Download the CCS installer from TI Website \\ 2. Run the //ccs_setup// executable to start the installation \\ 3. Choose "Custom Installation" to save disk space and select the following components: \\ Sitara AM3x, AM4x, AM5x and AM6x MCUs \\ Sitara AM2x MCUs \\ ㅤAlternatively "Full installation" can be selected \\ 4. Select //SEGGER J-Link// Debugger \\ 5. Follow the installer instructions to install the Code Composer Studio IDE \\ ===== Import BSP-Project ===== We recommend cloning and working via git. This provides a clean way to track changes. 1. Start the CCS and select your Workspace. This path will contain the project with the BSP sources. \\ 2. Click on File > Import and select Projects from Git **BILD!** \\ 3. Select Clone URI and enter the following repository URI from our GitHub: \\ https://github.com/tq-systems/TQMaX4XxL.SW.MCU.BSP \\ **BILD!** \\ 4. Select the //main// Branch and hit //next//