Cannot perform a processor-in-the-loop (PIL) execution

6 次查看(过去 30 天)
I have a problem with perform PIL simulation for target Aurix Tricore. I follow the example below:
I changed rtiostream for serial interface and also changed settings for Aurix Tricore in files: Launcher.m, TargetApplicationFramework.m, ConnectivityConfig.m.
The problem is with this line of code:
codegen -config config -args {zeros(2,1)} kalman01 -test test01_ui
Then comes this error: Unrecognized option '-test'. Use help codegen for more information on using this command. Error using codegen
When I little bit change the codegen command, this error is displayed:
--
Cannot perform a processor-in-the-loop (PIL) execution for "test01_ui".
The configuration parameters for this function do not support the following connectivity configurations: Texas Instruments Code Composer Studio (IDE), Texas Instruments Code Composer Studio (TCP/IP), Texas Instruments Code Composer Studio (Serial), F28335 PIL Example, My PIL Example
To fix this error, update the configuration parameters or create a supported connectivity configuration. See Code Verification Through Software-in-the-Loop and Processor-in-the-Loop Execution.
Use help codegen for more information on using this command.
--
I remove from path all sl_customization.m files or other files that customze configuration for Texas Instruments and other boards and use only one for Aurix Tricore but in this error is still mentioned also Texas Instruments with others.
I tested serial communication with Aurix Tricore board and it works well so I think my connectivity configuration should be correct, but I did not find any solution to perform PIL simulation. I also tried an example for Simulink but the problem was same.
I tried it on Matlab r2015b with MinGW compiler or Microsoft Visual Studio 2015.
Could you please help me with that ? Thank you very much in advance for any help.
  3 个评论
Michael Chromiak
Michael Chromiak 2021-1-16
Hello Frederic, thank you for your interest. I found the solutions and I am able to perform SIL and PIL simulation on Matlab with the Aurix TriCore. However, the problem was far more complex than the error I described and in the end I used a different solution, which brought the best possible results and thanks to a very simple parameter change it is possible to perform SIL / PIL on any Aurix platform and not just TriCore.
Parin Shah
Parin Shah 2021-10-14
Hi Michael,
Can you please share how you performed PIL with your controller? I am planning to do PIL with TC29XT controller from Aurix. I could not find any available packages for this controller which would be compatible with MathWorks.
My main concern is to read/write values from/to this controller and have a test coverage results at the end of PIL.

请先登录,再进行评论。

回答(2 个)

Tom Harwood
Tom Harwood 2019-11-27
Hello Michael,
I'd recommend you contact our Technical Support department: https://www.mathworks.com/support/contact_us.html

Michael Chromiak
Michael Chromiak 2019-11-30
Hello Tom, I am tried to send my request to Technical Support but when I submit my message for them I am redirecting to this web: https://servicerequest.mathworks.com/mysr/cp_case_new_forwardemail_notification?de=support@humusoft.cz&cc=us
with this content:
---
URL No Longer Exists
You have attempted to reach a URL that no longer exists on salesforce.com.
You may have reached this page after clicking on a direct link into the application. This direct link might be:
• A bookmark to a particular page, such as a report or view
• A link to a particular page in the Custom Links section of your Home Tab, or a Custom Link
• A link to a particular page in your email templates
If you reached this page through a bookmark, you are probably trying to access something that has moved. Please update your bookmark.
If you reached this page through any of the other direct links listed above, please notify your administrator to update the link.
Thank you again for your patience and assistance. And thanks for using salesforce.com!
---

类别

Help CenterFile Exchange 中查找有关 Hardware-in-the-Loop Simulation with Simulink Real-Time 的更多信息

产品


版本

R2015b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by