To build and load the project, complete the following steps:
- Right-click on the project name,
click the Properties command, move to pre-defined symbols to change
GUI_SCI_EN to GUI_SCI_N to disable the SCI function for the
GUI as shown in Figure 3-19.
Note: The SCI function can be enabled again to allow GUI control through
SCI, as described in
Section 3.2.
- Open the sys_settings.h file, set DMC_BUILDLEVEL to DMC_LEVEL_1.
- If another build option was built
previously, right click on the project name and click on Clean Project,
and then click on Build Project. Watch the tools run in the build window.
The project builds successfully.
- In the Project Explorer
make sure the correct target configuration file is set as Active as shown in
Figure 3-20.
- Turn on the AC or DC power supply
to apply 30 VAC or 40 VDC to J5, to create the +15 V and 3.3 V for the
controller and gate driver. Click on the Debug button
or
click Run → Debug. The build level 1 code can be compiled and
loaded on the C2000 device. Notice the CCS Debug icon in the upper right-hand
corner, indicating that the user is now in the Debug Perspective view.
The program can be stopped at the start of main().