National Instruments NI LabVIEW DJ Equipment User Manual


 
Embedded Module for Blackfin Processors 18 ni.com
Creating the ADSP-BF537 Build Specification
Build specifications tell the LabVIEW C Code Generator how to generate
the C code and build the Blackfin VI into a Blackfin application. You can
create the build specification when you create a project or wait until you are
ready to build the Blackfin VI into a Blackfin application.
You can have multiple build specifications for the same target. For example,
you might want one build specification that generates debugging
information and another build specification that does not generate this extra
information.
Complete the following steps to create a build specification.
1. Right-click Build Specifications under the ADSP-BF537 target and
select New»VDK Application from the shortcut menu.
2. LabVIEW prompts you to save the project. Click the Save button when
prompted and save the project as
Blackfin Tutorial. The Build
Specification Properties dialog box opens.
3. (Optional) LabVIEW might prompt you to configure the target. Click
the Yes button and refer to the Building, Downloading, and Running a
Blackfin Application section for information about configuring the
target.
4. Select Debug in the Build Configuration section of the General
tab. The debug build configuration does not apply any compiler
optimizations, which makes the embedded application larger. Use the
debug build configuration when you want C source-level debugging.
5. Select an option in the Debug Mode section. You can debug a Blackfin
application in the following ways:
Instrumented debugging using a serial port—Single-stepping
and probes are faster than non-instrumented debugging, but using
a serial port requires the COM port on the Blackfin target to be
connected to the host PC, is intrusive on real-time performance,
and uses a larger amount of memory on the Blackfin target. The
LabVIEW C Code Generator adds a communication layer to the
generated C code for synchronization and data transfer. You must
remove the checkmark from the Redirect stdout to serial port
checkbox on the Advanced tab before you can select the serial
port debug option.
Instrumented debugging using a TCP port—Single-stepping
and probes are faster than non-instrumented debugging, but using
a TCP port requires that the Blackfin target is connected to an
Ethernet port, is intrusive on real-time performance, and uses a
larger amount of memory on the Blackfin target. The LabVIEW C
Code Generator adds a communication layer to the generated