*************************************************************
*************************************************************
User guide for the "sv04" example: 
*************************************************************
*************************************************************
This is the ccs project for codec integration and test application (sv04).



*************************************************************
*************************************************************
1. Directory structure of sv04 example
*************************************************************
*************************************************************
Under <MCSDK video install diretory>\examples\sv04 directory
- source: Source files added for sv04 example besides those linked from the <MCSDK video demo install diretory>\dsp directory
- include: Include files added for sv04 example
- Repository: Custom C6678 platform package for the sv04 example
- .project/.cproject/.ccsproject: CCSv5 project files
- linker.cmd: Linker command file
- sv04.cfg: Specify modules and configuration from XDC, BIOS, and framework components
- Readme.txt: This file



*************************************************************
*************************************************************
2. Step by step procedure to build sv04 example
*************************************************************
*************************************************************
1) In CCSv5, import the project at <MCSDK Video install diretory>\examples\sv04 
2) Define path variable through Window->Preferences, then General->Workspace->Linked Resources
Name: VIDEO_CCS_ROOT
Location: <MCSDK Video install diretory>\, e.g., C:\Program Files\Texas Instruments\mcsdk_video_2_0_0_<ver>
3) Modify "Build Variables" via the project's Properties, C/C++ Build->Build variables
Change value of the build variables to point to the location of tools, e.g., 
Name: BIOS_ROOT
Value: C:\Program Files\Texas Instruments\bios_6_32_05_54
Below is the full list of the build variables and their example values.
CODEC_ROOT: C:\Program Files\Texas Instruments\Codecs
XDAIS_ROOT: C:\Program Files\Texas Instruments\xdais_7_20_00_07
PDK_ROOT: C:\Program Files\Texas Instruments\pdk_C6678_1_0_0_17
FC_ROOT: C:\Program Files\Texas Instruments\framework_components_3_22_00_05
EDMA3LLD_ROOT: C:\Program Files\Texas Instruments\edma3_lld_02_11_03_02
NWAL_ROOT: C:\Program Files\Texas Instruments\nwal_c66x_1_0_0_1
BIOS_ROOT: C:\Program Files\Texas Instruments\bios_6_32_05_54
IPC_ROOT: C:\Program Files\Texas Instruments\ipc_1_24_00_16
4) Build project. After this finishes, sv04.out and sv04.map will show at <MCSDK Video install diretory>\examples\sv04\Debug.



*************************************************************
*************************************************************
3. Run sv04 example
*************************************************************
*************************************************************
1) Copy <MCSDK Video install diretory>\examples\sv04\Debug\sv04.out to <MCSDK Video install diretory>\dsp\mkrel\sv04\flat\sv04.out. This is because the relative path used in <MCSDK Video install diretory>\dsp\siu\vct\siuVctRun.c for tftp.cfg and multiclip.cfg. <MCSDK Video install diretory>\examples\sv04\Debug\sv04.out can be directly used if siuVctRun.c is modified in a way that tftp.cfg and multiclip.cfg can be correctly located. Recompile the project if siuVctRun.c is modified.

2) Follow instructions at http://processors.wiki.ti.com/index.php/MCSDK_VIDEO_2.0_CODEC_TEST_FW_User_Guide#Test_Instructions to run the sv04 example.



