SIL Testing Issue with NXP S32K3xx Hardware Board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SIL Testing Issue with NXP S32K3xx Hardware Board

1,746 Views
db_1008
Contributor I

Hi,

We are encountering an issue while attempting to create a SIL test harness for our 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.

We have attached an image of configuration parameter of our model and the error message for your reference.

We kindly request your assistance in resolving this issue. Any guidance or suggestions would be greatly appreciated. 

Thank you for your time and support.

0 Kudos
Reply
9 Replies

1,590 Views
Irina_Costachescu
NXP Employee
NXP Employee

Hello @db_1008 

For trying to investigate the issue you have encountered, I have performed the following steps:

1. Opened the s32k3xx_sil_target_s32ct.slx file, delivered with the toolbox inside the following folder - {toolbox_installation_path}/S32K3_Examples/sil/s32k3xx_simple_s32ct

2. Right clicked the Simulink model canvas and chose Test Harness - Create for Model. In the opened Create Test Harness tab I have completed the Advanced Properties tab with the same settings as the ones you attached inside the SIL_Harness_Creation.png

Irina_Costachescu_0-1736767326886.png

Irina_Costachescu_6-1736767549055.png

3. When opening the harness model, and inspecting its properties, I am noticing that the model is created being set for the NXP S32K3xx.

Irina_Costachescu_1-1736767368195.png

4. Added inputs and outputs inside the harness for performing a SIL simulation

Irina_Costachescu_2-1736767418528.png

5. Set the Code Interface as Model Reference for the SIL block inside the harness model

Irina_Costachescu_3-1736767464792.png

6. From the SIL/PIL tab, I am able to successfully run an Automated Verification

Irina_Costachescu_4-1736767507783.png

Irina_Costachescu_5-1736767527871.png

 

Could you please let us know if this is the use case that you are trying to achieve, and check if these steps also work on your setup?

In case you are still encountering issues, could you also please help us with more details so that we could troubleshoot the problem? It would help us to know:

1. Is the model for which you are creating a harness already configured for an S32K3 hardware board?
2. What version of MBDT for S32K3 and MATLAB are you using?

Thank you,

Irina

 

 

0 Kudos
Reply

1,468 Views
Abhijeet-Starkenn
Contributor II

Hello @Irina_Costachescu 

We are following the same above mentioned steps. but getting an error while creating test harness. please find attachment image of the error as well as the model zip file.

Hardware Board SettingHardware Board SettingError MassageError Massage

the model for which we are creating a harness already configured for an S32K3 hardware board.

The version are :

Matlab Version = R2023b
NXP Toolbox version = Model-Based Design Toolbox for S32K3xx Series Version 1.5.0

Tags (1)
0 Kudos
Reply

1,459 Views
Abhijeet-Starkenn
Contributor II

Hello @Irina_Costachescu 

The attachment file 

Tags (1)
0 Kudos
Reply

886 Views
Abhijeet-Starkenn
Contributor II
Any help on this?
0 Kudos
Reply

814 Views
Irina_Costachescu
NXP Employee
NXP Employee

Hello @Abhijeet-Starkenn 

I have taken a look and tried to create test harnesses for the model attached, and by following the steps mentioned in the previous reply, I was not able to reproduce this error.

However, I have managed to reproduce it by trying to create a Test Harness for the Subsystem placed in your model, instead of creating it for the model itself.

While we furtherly investigate the possibility of creating Test Harnesses for subsystems inside a model, would it be a suitable approach for you to create the Test Harness for the model itself?

Could you please provide more details on the use case that you are trying to achieve so that we could provide more tailored guidance?

For following this proposed workaround (create the Harness for the model), right click on the model canvas and choose Test Harness - Create for Model, as it is described in the Step 2 of the previous reply I have added to this thread.

Irina_Costachescu_0-1739798853575.png

Please let us know your thoughts on this,

Irina

 

0 Kudos
Reply

685 Views
Abhijeet-Starkenn
Contributor II

 Hi @Irina_Costachescu 

Could you please proceed with setting

Test Harness -> Create for subsystem -> Advanced properties -> 

Verification Mode: Software-in-loop -> Ok.

After this steps, on my system i am getting error "Harness creation Aborted" with error "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'."Screenshot 2025-02-24 172625.png

0 Kudos
Reply

441 Views
Abhijeet-Starkenn
Contributor II
Hi @Irina_Costachescu any Update on this.
0 Kudos
Reply

422 Views
Irina_Costachescu
NXP Employee
NXP Employee

Hi @Abhijeet-Starkenn 

As mentioned in my previous reply:

I have managed to create a Test Harness by right clicking on the model canvas and choosing Test Harness - Create for Model, instead of Create for Subsystem.

Could you please provide more details on the use case that you are trying to achieve so that we could provide more tailored guidance?

Do you need specifically to create harnesses for subsystems, or is this proposed approach (creating the harness for the model itself) helping you in your use case?

Thank you,

Irina

0 Kudos
Reply

1,720 Views
db_1008
Contributor I

Any help on this?

0 Kudos
Reply