NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
Creating a SYS/BIOS project in CCSv4
Follow these steps to use Code Composer Studio (CCS) to create an application that can use SYS/BIOS. CCS v4.2.3 was used for the screen captures in this procedure, but the procedure is quite similar in CCS v4.x through CCS v5.0.
- Open CCS and choose File > New > CCS Project from the menu bar.
- In the New CCS Project dialog, type a Project Name. For example, to begin creating a project using "hello world" example code provided with SYS/BIOS, you can type "hello". It is recommended that you use the default project location so that CCS can find your projects easily. Then, click Next.
- Select your platform type in the Project Type field. For example, you might select "C6000". Then, click Next.
- Click Next on the "Additional Project Settings" page. (You may want to use referenced projects later, if you decide to create multiple SYS/BIOS projects that share a common configuration file.)
- In the Device Variant row of the "Project Settings" page, select a filter in the first field. This shortens the list of device variants in the second field. Then, select the actual device you are using. For example, you might select "Generic devices" in the filter field and "Generic C64x+ Device" in the second field. Depending on your device, you might also need to adjust the Device Endianness and Runtime Support Library settings.
- Click Next.
- Important: Don't click Finish at this point if you want to create a project that can use SYS/BIOS.
- On the "Project Templates" page, expand the list of SYS/BIOS templates and choose one. A description of the selected template is shown in the dialog.
- To get started with SYS/BIOS, you can choose one of the Generic Examples, such as the Log Example or Task Mutex Example. To create your own application project, you might choose the Minimal or Typical example depending on how memory-limited your target is. (If you have other software that uses SYS/BIOS and XDCtools, such as IPC, you can choose a template for that component.)
- Click Next.
- On the "RTSC Configuration Settings" page, make sure the versions of XDCtools, SYS/BIOS, and any other components you want to use are selected. By default, the most recent versions are selected.
- The Target setting is based on device settings you made on earlier pages, and should not need to be changed.
- Click the drop-down arrow next to the Platform field. CCS scans the available packages for available platforms. Click on the list and choose the platform you want to use.
- The Build-profile field determines which libraries the application will link with. We recommend that you use the "release" setting even when you are creating and debugging an application. (In SYS/BIOS versions prior to 6.32, the recommended Build-profile was "whole_program".
- Click Finish to create a new project and add it to the C/C++ Projects list.