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 in TMS320F28335

Other Parts Discussed in Thread: TMS320F28335, CCSTUDIO

Hi

I am trying to run an example program for PWM signal generation in TMS320F28335

I included all header files and other supporting files but when i am building following error occurring:

[DSP2833x_CpuTimers.c] "C:\CCStudio_v3.3MCU\C2000\cgtools\bin\cl2000" -g -pdsw225 -fr"C:/DSP2833x/Labs/Debug" -i"C:/tidcs/C28/dsp2833x/v131/DSP2833x_headers/include" -i"C: tidcs/C28/dsp2833x/v131/DSP2833x_common/include" -d"_DEBUG" -d"LARGE_MODEL" -ml -mt -v28 --float_support=fpu32 -@"../../../../../../DSP2833x/Labs/Debug.lkf" "DSP2833x_CpuTimers.c"


"DSP2833x_CpuTimers.c", line 21: fatal error: could not open source file "DSP2833x_Examples.h"
1 fatal error detected in the compilation of "DSP2833x_CpuTimers.c".
Compilation terminated.

>> Compilation failure

please reply me to clear this error.

thanking for your future reply.


Regards,

V.Sandeep

Research Scholar,

IIT Delhi

INDIA.

  • Hi,

    I guess you included all the header files exept the DSP2833x_Examples.h. After including this file too, the error should be a gonner

    Regards

    Andreas

  • Hi

    Thanks for your reply.

    the header file problem is solved.

    but now i am getting another error.

    while loading program file.out

    "Data verification failed at address 0x8000.

    please verify target memory and memory map"

    please reply on this issue.

    thanks for your future reply.

     

    Regards,

    V.Sandeep

    Research Scholar

    IIT Delhi

    INDIA.


     

     

  • Hi,

    Select the large memory model in the compiler options, this should solve the issue

    Best regards

    Andreas

  • Hello,

    My experience was exactly the same as the description above. I am trying to solve the similar problem using your advice.

    Well, I find that the option you mentioned has already been selected, but the error

    Data Verification failed at address 0x8000.

    Please verify target memory and memory map.

    is still there.

    The problem is driving me mad.

    I am looking forward for your help.

  • Assuming the device in unlocked; you need to read the CSM Password locations at 0x33FFF8-0x33FFFF to unlock L0(org 0x8000) SRAM before you can load to it.  There should be a GEL function to do this as well on an unlocked device.

    This is documented in the system control guide under the Code Security Module as well; for future reference or if you password protect the device the method changes slightly.

     

    Best,
    Matthew