This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Another problem using Release mode for flashing

Other Parts Discussed in Thread: TMS320C6720

As I mentioned in the other post, The codes cannot successfully burned into the flash using Debug mode as the last one of the four output channels doesn't work correctly (it works correctly when running in the SRAM). So I want to try the Release Mode.

The chip is C6727, I set C672x XDS510 USB(cpu:TMS320C6720 for current processor tpye) in the CCS Setup. 
In Build option for Release mode, I chose C67x+(mv67p) for target version from the pull down list.
In preprocessor option, I add CHIP_6727 in the Pre-Define Symbol(-d).

But after compling, it indicates:

D:\Soft\CCS 3.1\C6000\cgtools_ 530\bin\cl6x" -o3 -fr"D:/Codes/ flashBurn/ Release" -i"D:/Lyrtech/ PADK/dsp/ api" -d"CHIP_6727" -mv67p -@"../../../ ../Codes/ flashBurn/ Release.lkf" "PADK_FLASH. c"
"D:/Soft/CCS 3.1/C6000/csl/ include/csl_ chiphal.h" ,
line 262: fatal error: #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e. 6201)
1 fatal error detected in the compilation of "PADK_FLASH. c".

I have checked csl_chiphal.h file, and no definition for C6727 is defined, so I wonder whether the header file must be modified by myself or there is updated version available.

Thanks very much!

  • The C6727 device is supported by its own CSL separate from the one that comes with CCS v3.3. You will need to download it from here.

    Once you have extracted everything you will need to add the CSL library csl_C6727.lib into your project and add an include path pointing to the directory containing the CSL header files (\csl_C672x_03_00_09_00\dsp\inc). Once you rebuild you should have gotten rid of the build error.