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.

Compiler/TMS320C6455: strange problem

Part Number: TMS320C6455

Tool/software: TI C/C++ Compiler

Hi

DSP: C6455

CCS: 5.3 (3.3)

Board: 

OS: Win7 for 5.3, XP for 3.3

When I declared a global variable in my program, the program hanged when DSP want to connect ethernet!!!!. (DSP connect to ethernet and program worked correctly before I declared a global variable)

After debugging I find out that when I set the optimization level of a program file to " O3 " the problem happened.

The file that I changed the optimization level was my parser faile(DSP parsed the received data from ethernet).

When I set the optimization level to Non or O2 the all the things works correctly, I mean I declared a global variable and DSP connect to ethernet and there is not any problem.

Why did this problem happen? Please guide me

BR

  • Hi,

    We're looking into this.

    Best Regards,
    Yordan
  • Dariush,

    From your post, it is unclear what the root cause of your issue is : This could be compiler related or a combination of source and compilation. Can you describe how does the global variable influence your code operation or related to ethernet ? Please indicate compiler version and what version of CSL/LLD or software package that you are using from TI. 

    given the scenerio described is there any specific reason you want to proceed with the -O3 option ? IS there a major difference in performance of some code with -O3 and -O2 that you would lose to use this as a work around.

    Regards,

    Rahul