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.

MISRA 2012

Hi CCS folks,

Is the MISRA checker likely to be updated to use MISRA 2012 in upcoming releases of CCS?

(It may already have been in v6 I guess, still using v5 on this machine)

Thanks

  • Toby Mole said:
    (It may already have been in v6 I guess, still using v5 on this machine)

    Looking a a CCSv6 installation the MISRA checkers in the TI ARM (v5.1.7), MSP430 (v4.4.3) and C2000 (v6.2.7) compilers are still for MISRA-C:2004. [The MISRA checker is built-in to the compilers rather than CCS itself]

    Looking at the Wiki I can't see any mention of a roadmap for supporting MISRA 2012.

  • Hi chester,

    I found the compiler roadmap (http://processors.wiki.ti.com/images/a/af/C2000_Compiler_Roadmap.pdf), doesn't seem to mention it in it's range to end 2016H1.

    Unless the following covers it?

    Materials to assist qualifying the TI 
    compiler for use in a safety application

    Can this be submitted as a feature request?

  • Toby Mole said:
    Is the MISRA checker likely to be updated to use MISRA 2012 in upcoming releases of CCS?

    Our plans for MISRA 2012 support are still under discussion.  We don't have anything we can announce at this time.

    Thanks and regards,

    -George

  • Hi, George-san,

    My customer has the same question.
    Do you have a plan for MISRA2012 support?

    Device is C2000.

    Regards,
    Shinji Ueda

  • There is nothing to announce at this time.

    -George

  • Hey George


    Are there any news about MISRA 2012?


    Regards

  • There are some third party static analysis tools with MISRA-2012 C/C++ support that are eclipse plug-ins that the vendors claim to work with CCS. LDRArules at ldra.com/en/ldrarules is one or Goanna (now part of Synopsis) at redlizards.com. Hope that helps, Tom
  • Thank you for the fast reply.


    Regards

  • Hello All,
    Currently, we have installed Code composer studio V 7.1.0 development tool. Even this tool didn't have the MISRA C 2012 rule.
    As mentioned the above feedback on April 14, 2016. Is this LDRA MISRA C 2012 rules plug in will be available freely available to download or trial period?
    Could you please give your valuable feedback on the same ?

    Regards,
    S.Saravanakumar
  • Hi,  if you are interested in the LDRArules tools, LDRA offers a free trial directly from their website.  If you go to ldra.com/en/ldrarules there is a link in the upper left corner to register for a free trial.  - Tom

  • Hi,

    Thank you for the quick reply.

    As mentioned, I will download the MISRA 2012 rule packages from LDRA website.

    But, In Code composer Studio V.7.1.0, there is no additional plugin available for MISRA C 2012 rules.

    Is my understanding correct?

    Even if I copy the MISRA C 2012 rule, in txt format in the C:\ti\ccsv7\tools\compiler\ti-cgt-arm_16.9.1.LTS\misra.txt path, this will not work.correct?

    Regards,

    S.Saravanakumar

  • Saravanakumar S93 said:

    But, In Code composer Studio V.7.1.0, there is no additional plugin available for MISRA C 2012 rules.

    Is my understanding correct?

    Yes.  TI does not directly supply any solution for conforming to MISRA C 2012.  Solutions are available from other vendors, including LDRA.

    Saravanakumar S93 said:
    Even if I copy the MISRA C 2012 rule, in txt format in the C:\ti\ccsv7\tools\compiler\ti-cgt-arm_16.9.1.LTS\misra.txt path, this will not work.correct?

    I'm not sure what you are getting at.  That text file is intended to be directly read by customers.  It is not formatted for use by any other software.

    Thanks and regards,

    -George