S32K3X4EVB-T172 / SIMULINK VERSION 2020a

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

S32K3X4EVB-T172 / SIMULINK VERSION 2020a

654 Views
antoniogomezMora1
Contributor I

Hello 

 

we have Matlab version 2020a and S32K3X4EVB-T172 board. When opening SIMULINK, T172 board doesn`t appear, but Q172 is present. Following programming options model based design:

 

antoniogomezMora1_0-1688394188745.jpeg

We are using Q172 for T172 board. I tried to download an example an always receive the same error:

Runtime error 216 at 6697A7AE

 

Should I install any update?

Should I configure something in the S32 Design Studio (or through Tresos tool)?

 

thank you.

 

 

0 Kudos
Reply
2 Replies

352 Views
georgevictor
NXP Employee
NXP Employee

Hi, @antoniogomezMora1 , 

 

The issue you are encountering may be related to the Windows path limitation. Review the following thread which addresses a similar issue.

Best regards,

Victor

0 Kudos
Reply

613 Views
georgevictor
NXP Employee
NXP Employee

Hi, @antoniogomezMora1,

I see that you are using our latest toolbox version, 1.4.0 for S32K3. This release supports the following MATLAB versions: R2021a, R2021b, R2022a, R2022a, R2023a. To ensure the proper functionality of the toolbox, please update your current MATLAB version (2020a) to a version from the ones mentioned above.

The majority of our examples delivered with the toolbox are configured for the S32K344-Q257 processor, but, as stated in the readme file of each example, they can easily be used for multiple hardware parts. The S32K3X4EVB-T172 board you use has the same processor (S32K344-Q172 Hardware Part selection) as the S32K3X4EVB-Q172 board used to validate our examples. So it is okay if you are using the Q172 selection for T172.

I see that in the attached picture you have the S32K344-Q172 Hardware Part applied, but I also see that the S32K358-Q172 is selected. Therefore, when you build an application, make sure the Hardware Part is set to S32K344-Q172 and you press the Apply and OK buttons after the selection. You receive Runtime error 216 usually when the selected processor in the model is not the same as the one on the evaluation board, and the download process will fail.

Regarding your question about Tresos I need to mention that the EB Tresos tool is needed only if you want to modify the configuration project of a model. We provide a default configuration for all the hardware parts supported in our toolbox. The default configuration project is copied next to a new model or a model that doesn’t have one beside it each time you select a different Hardware Part. This default configuration includes multiple configured components and is used by the model during the build process. In conclusion, you don’t need to modify anything in Tresos for your board, the default project will work just fine with our examples.

Please let us know if this helped you.

Cheers,

Victor

 

0 Kudos
Reply