SigmaStudio for SHARC DemoUc Application SigmaStudio Schematic File Generation:
- Import the DemoUc applications Cross Core Embedded Studio (CCES) project with corresponding CCES version mentioned in the release note or the later version.
- Clean and compile the Project in Debug/Release build mode.
- Open the SigmaStudio (SS) schematic which needs to be added with DemoUc application.
- Select the SHARC core DXE’s in the SigmaStudio schematic which is recently built in CCES.
- Just do “clean link compile download”.
- Export the SigmaStudio schematic files using “Export System Files”.
- Copy the “exportCodeParam.exe” to the folder where the SS schematic files are exported. The executable file available in “C:\Analog Devices\SoftwareModules\SigmaStudioForSHARC-SH-Rel4.7.0\Target\utilities\exportCodeParam” folder.
- Run the schematic source file generation command in windows command line from where the exported files present.
Command for schematic file generation to SHARC0:
exportCodeParam.exe “SWC” “Volume_Mute_Block_SC5xx” “IC_1” “SC5xx”
Command for schematic file generation to SHARC1:
exportCodeParam.exe “SWC” “Volume_Mute_Block_SC5xx” “IC_2” “SC5xx”
Please note that the schematic exported file name and the file name mentioned in the above command should match for generating schematic source files.
For SigmaStudio schematic source file generation please refer section “A. Utility for formatting Exported data from SigmaStudio” in “AE_42_SS4G_QuickStartGuide.pdf” available in SigmaStudio for SHARC installation folder “C:\Analog Devices\SoftwareModules\SigmaStudioForSHARC-SH-Rel4.7.0\Docs”.
- Rename the generated files to match with the files which already included in the default DemUc application. Copy and replace the generated source files into DemoUc application folder “C:\Analog Devices\SoftwareModules\SigmaStudioForSHARC-SH-Rel4.7.0\Target\Examples\DemoUc\ADSP-SC58x\Source”.
- Repeat the steps 2 to 9 once again, which is required to match the memory allocation done with the newly generated schematic source.
Please note, the repeating source file generation should be followed every time if there is a change in target application or SigmaStudio schematic application. - Now refer to section “7.1.1 DemoUc application for ADSP-SC5xx” in “AE_42_SS4G_QuickStartGuide.pdf” available in SigmaStudio for SHARC installation folder “C:\Analog Devices\SoftwareModules\SigmaStudioForSHARC-SH-Rel4.7.0\Docs” to run the DemoUc application.
- For running the DemoUc application with customized schematic, please refer to section “7.2 Running the DemoUc application with a custom schematic” in “AE_42_SS4G_QuickStartGuide.pdf” available in SigmaStudio for SHARC installation folder “C:\Analog Devices\SoftwareModules\SigmaStudioForSHARC-SH-Rel4.7.0\Docs”.
Note: The framework memory allocation may vary depends on CCES version what is used(If not same as the one mentioned in release notes), so the framework memory needs to be adjusted for running the application. The “adi_ss_arm_fw_Create()” function, the below line for “sizeof(tSSARMFWInfo)” will gives the size of memory needed for running the application.
The framework memory size can be updated in “adi_ss_fw_config.h” file under “C:\Analog Devices\SoftwareModules\SigmaStudioForSHARC-SH-Rel4.7.0\Target\Examples\Framework\Include” folder with “ADI_SS_CONTROL_FW_ARM_MEMORY” macro.