This is an old revision of the document!
Click here to return to the Using Sigma Studio page
Before a complete design can be evaluated, it must be linked, compiled, and downloaded to the hardware. To perform all these steps in a single operation, use the Link Compile Download command described below.
The link operation analyzes the schematic's signal flow (blocks and wires), checks for any in design errors, generates the program flow, and sets algorithm sampling rates and DSP associations. To link a project, press the Link Project toolbar button, select Action - Link Project from the main menu, or press Ctrl+I.
When linking is complete, the Link Window opens, displaying the project's algorithm and node list information.
Any errors encountered during the link operation are shown in the Errors / Output section of the Link Window. You cannot compile a project until all link errors are resolved. Note that all schematic block's pins must be connected or terminated or you will receive link errors.
The linker generates a net list file, net_list.cir2, which contains the same information displayed in the Link Window's Node List pane.
Following the link step, compilation is performed. Compile generates the DSP program code and parameter data from the graphical schematic design. To compile a project, press the Link Compile Connect toolbar button. This will first perform the link step and then compile the project. The link window will be displayed if there are link errors.
If compilation is successful, the schematic status bar turns green and “100% Ready: Compiled” is displayed in the application status bar.
Upon project compilation, several files are generated:
These files are written into the project file's directory (*.dspproj), or the active directory if the project has not been saved. The files are placed in an automatically generated sub-folder or folders named with the IC name followed by the project file name, for example IC 1_Design 1.
Awareness of these files, both their format and their contents, will prove useful. Also, it is helpful to archive and version these files during system design. SigmaStudio can minimize development time by avoiding the need to program in assembly code. Typically once the graphical SigmaStudio design is complete, these generated SigmaDSP code files must be integrated with an external microcontroller. See System Implementation for more information.
Once a project is compiled, the program and parameter data can be downloaded to the evaluation hardware for testing. To download your project, press the Link Compile Download toolbar button, select Action - Link Compile Download from the main menu, or press F7. This perform the link step, compile the project, and send your design code from the schematic to the DSP hardware.
If download is successful, the schematic status bar below the workspace will turn green and “100% Active: Downloaded” is displayed in the application status bar. The system will be responsive to any real-time changes made to controls (sliders, knobs, etc.) in the schematic workspace.
Schematic Status Bar:
The schematic status bar and application status bars display the state of the schematic design as well as indicating USB communication status. There are five status states: