SIL Testing Issue with NXP S32K3xx Hardware Board

9 vues (au cours des 30 derniers jours)
Abhijeet Kate
Abhijeet Kate le 23 Déc 2024
Hello,
I have encountering an issue while attempting to create a SIL test harness for a model using the NXP S32K3xx hardware board. The error message "Error: The model is configured to create a SIL block, which is not supported for the selected hardware board. To resolve this, search for 'Create block' in the Configuration Parameters dialog box and set it to 'None' or 'PIL'" persists, even though the 'Create block' setting is already set to 'None'.
Model and Hardware Configuration Details:
  • Hardware Board: NXP S32K3xx
Steps Taken to Troubleshoot:
  1. Verified 'Create Block' Setting: Double-checked the 'Configuration Parameters' dialog box to ensure that the 'Create block' setting is indeed set to 'None'.
Tried this but still getting the same error.
i have attached an image of configuration parameter of our model and the error message for reference.
  1 commentaire
Sumukh
Sumukh le 24 Déc 2024
Modifié(e) : Sumukh le 24 Déc 2024
Can you please provide the complete model being used here?
You can refer to the following points to try to identify the issue:

Connectez-vous pour commenter.

Réponses (1)

Kautuk Raj
Kautuk Raj le 31 Déc 2024
I can recognize that you are facing an issue with creating a SIL test harness for the NXP S32K3xx hardware board.
When creating a traditional SIL subsystem type harness, you follow the steps below:
  1. Open any model, for example, "test.slx".
  2. Right-click the subsystem to create a Test Harness.
  3. Select the Verification Mode to "Software-in-the-Loop (SIL)" and press OK. Simulink Test sets the "CreateSILPILBlock" parameter to "SIL" and calls slbuild on the subsystem.
The modern approach for SIL/PIL testing of atomic subsystems (where code can be configured to be reusable/nonreusable) is to create a harness in Normal mode, generate top model code, and switch the Simulation mode using either the SIL/PIL manager or Simulink Test Manager.
For more details, you can refer to the following MathWorks documentation: https://www.mathworks.com/help/releases/R2023b/ecoder/ug/unit-test-subsystem-code-with-silpil-manager.html

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by