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.

#error NO CHIP DEFINED



Hi,

I am trying to start a program from begin and I am finding an error in csl_chiphal.h like this.

fatal error: #error NO CHIP DEFINED (use -dCHIP_XXXX where XXXX is chip number, i.e 6201)

I am using DM6437 DSP and CCS v3.3. 

I try do define this in project buid options -dCHIP_DM6437, but did not work.

I see in csl_chiphal.h that do not have any configuration for DM6437.

Could someone tell what I have to do.

  • The newer devices including DM6437 no longer have support by the chip support library (CSL), thus there is no CHIP_xxx definition for the DM6437. The CSL has effectively been replaced by the peripheral support package (PSP) which provides DSP/BIOS drivers and is included in the DVSDK software package that comes with the EVM board.

     The closest thing remaining to the old CSL is the register level CSL (CSLR) that can be found within the PSP in C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\soc\dm6437\dsp\inc. Note that this is no longer a 'library' but rather just a set of header files that provide definitions and easier access to the device's peripherals, the functional layer that was the old CSL is no longer present. In general I would suggest avoiding the CSLR and going straight for the PSP drivers within C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\drivers as they are the easier route and are better supported.

  • Thank You very much.

    It is working now.

  • Hi Bernie,

    Your reply was too old but now I have also same problem with Marcio. Just I did not understand how it was solved? How can I use C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\drivers? Should I add this path to the include options or what should I do to ignore this csl_chiphal.h file?

    I look forward to your reply, thanks in advance.

    Duygu

  • Duygu,
    You are following up the very old thread.
    To address you problem, could you please create new post for your issue with mentioning on what you are building etc.,