Cannot perform a processor-in-the-loop (PIL) execution
6 views (last 30 days)
Show older comments
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 Comments
Parin Shah
on 14 Oct 2021
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.
Answers (2)
Tom Harwood
on 27 Nov 2019
Hello Michael,
I'd recommend you contact our Technical Support department: https://www.mathworks.com/support/contact_us.html
0 Comments
See Also
Categories
Find more on Hardware-in-the-Loop Simulation with Simulink Real-Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!