Hi,
I have few questions:
1) The generated code is complaint to MIRSA standard?
2) The generated code is any ISO complaint?
3) can it be used is safety critical applications?
Any more information/documentation for MBDT generated code certification will be helpful.
Regards,
Ali
Hello alimeraj,
Unfortunately the MBDT MPC5744P toolbox is older and does not generate MISRA C / ISO compliant code - it is not suited for safety critical applications.
Kind regards,
Razvan.
Hi Razvan,
thanks for coming back to my query.
My next question do you have a different MBDT for a different MCU that is compliant to the standards I mentioned above?
Regards,
Ali
Hi alimeraj,
Please allow me a few comments which i think will answer your main 3 questions:
1) The generated code is complaint to MIRSA standard?
We need to differentiate between 3 layers of generated code:
MISRA C setup:
ISO/IEC Certification Kit: IEC Certification Kit - MATLAB & Simulink
2) The generated code is any ISO complaint?
We - Model Based Design Team - do not provide a qualification kit for such purpose. Our main intentions are easy prototyping and to open up the NXP HW into the world of MathWorks products. Then using their offerings and additional toolboxes ISO 26262 Support in MATLAB and Simulink - Automotive Industry Standards - MATLAB & Simulink to allow users to pursue various options.
3) can it be used is safety critical applications?
Typically, when we talk about safety critical application we think about running application using lockstep systems. NXP offers such microprocessors and the most common ones are the MPC families. Is that what you mean by safety ?
Best regards,
Daniel
Hi Daniel,
Thanks for the swift reply.
1) you mentioned that you guys working on switching MPC families to SDK PA drivers as well. so shall I expect a new version of Toolbox for MPC5744P with SDK PA drivers?
2) My question was regarding the use of toolbox to develop control algorithms for safety critical systems.
we are already using MPC5744P in our various products. the reason I am more interested in toolbox is that we want to develop some code for a very specific observer application in which we cant use our AUTOSAR based BSW.
Regards,
Ali
Hi Ali,
The MPC57xx 2019.R1 release is scheduled for February 18th, 2019
This release plans to support:
All peripheral initialization code will be based on SDK drivers.
2) My question was regarding the use of toolbox to develop control algorithms for safety critical systems.
we are already using MPC5744P in our various products. the reason I am more interested in toolbox is that we want to develop some code for a very specific observer application in which we cant use our AUTOSAR based BSW.
If the control algorithm is using only standard Simulink blocks, then the code generated for that subsystem/atomic/reusable function will be compliant with various standards that MathWorks is supporting.
If you implement the control algorithm using the NXP AMMCLIB blocks then the code generated for that subsystem/atomic/reusable function will not be compliant with various standards except if you analyze it first by yourself. The AMMCLIB is MISRA-C 2004 compliant with exceptions.
If you build the entire application in Simulink (observer + drivers) then it will not be compliant with any standards.
Hope this helps!
Daniel
Hi Daniel,
Thank you very much for all the information.
Regards,
Ali