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.

DEBUG is stable but RELEASE is unstable for my algorithm

 

Hi,

 

My target is C6747, with the development of CCS3.3.82.13, code generation tools v6.1.11 , Bios 5.33.06 and PSP driver (pspdrivers_01_30_00_05). 

 

When compiling with Release option the algorithm is not stable, when compiling with Debug option the algorithm runs well.

 

According to above description I did some test. I switched between Release <-> Debug directory of the psp gpio by only changed the directory name (located in: C:\Program Files\Texas Instruments\pspdrivers_01_30_00_05\packages\ti\pspiom\gpio\lib\C6747) . this operation solved the problem for the Release option and caused the problem for the Debug option.

 

What are the differences between gpio lib in the release and debug directory (\pspdrivers_01_30_00_05\packages\ti\pspiom\gpio\lib\C6747) ? 

Is it possible that my PSP version is not correct?

 

Where are the locations of the PSP download site?

 

Best regards,

Yaniv 

 

 

 

  • Hi Yaniv,

     

    If you look into the gpio.pjt file, placed in: pspdrivers_01_30_00_05\packages\ti\pspiom\gpio\build\C6747

    The Release profile is built with compiler options -o2 (Optimized - with higher level of optimization than in debug profile). The Debug profile is basically used for debugging purposes.

    yaniv alon said:
    When compiling with Release option the algorithm is not stable, when compiling with Debug option the algorithm runs well

    - This is observed in your custom application or the BIOSPSP provided sample application?. 

    It is preferable if you use BIOS PSP version 01.30.01 which is a GA release. You can download it from hereAlso refer the top level User guides and the Release notes of the BIOSPSP package before using it.

    Hope this helps..

     

    Thanks & regards,

    Raghavendra 




  • Hi Raghavendra,

     

    Thank you for the quick response.

    This problem occured in my custom application.

    I will try the new PSP version and let you know.

     

    Thanks,

    Yaniv