Solutions to several difficult problems in the CCS debugging process[Copy link]
1. "Example_2802xBUZZER.c", line 2: fatal error: could not open source file "DSP28x_Project.h" Solution: The path set in Build Option->Compiler->Include Search Path is incorrect. It should be $(Proj_dir)\DSP2802x_common\include;$(Proj_dir)\DSP2802x_headers\include 2. undefined first referenced symbol in file --------- ---------------- _InitEPwm4Gpio C:\\CCStudio_v3.3\\MyProjects\\MyFirst\\Debug\\main.obj error: unresolved symbols remain error: errors encountered during linking; "./Debug/MyFirst.out" not built Solution: There is a problem with the basic_examples_BUZZER program, but I haven't found out where it is. 3. warning: entry-point symbol other than "_c_int00" specified: "code_start" warning: creating output section "AdcResultFile" without a SECTIONS Solution: A CMD file is missing: DSP2802x_Headers_nonBIOS.cmd 4. DI has signal output RW, no signal output is high level E, has signal output D0, no signal output is low level D1, has signal output D2, no signal output is low level D3, has signal output D4, no signal output is low level D5, has signal output D6, no signal output is low level D7, has signal output Solution: The way of assigning values to GPIO is wrong. If you assign values individually, you need to add a delay in the middle. You should use the overall assignment method. 5. CCS often crashes. Closing 360 and other useless programs does not help. Solution: Reinstall, but it does not cure the problem. Sometimes it still freezes.