HotFix: MBD Toolbox rev2.0.0 for MPC5744P (Panther)

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

HotFix: MBD Toolbox rev2.0.0 for MPC5744P (Panther)

11,421 Views
dumitru-daniel_
NXP Employee
NXP Employee

HotFix_1: Missing lsp.h file 

 

Problem: Model compilation terminates with the following error:

SWLIBS_Defines.h:132:17: fatal error: lsp.h: No such file or directory
#include <lsp.h>

 

Root Cause: S32DS for PA version 1.1 Build id: 170203 does not contain the file in the compiler toolchain

 

Workaround: Save the file attached lsp.h in 

{S32DS for PA installation folder}S32_Power_v1.1\S32DS\e200_ewl2\EWL_C\include\pa\ folder

Original Attachment has been moved to: lsp.h.zip

Labels (1)
30 Replies

1,202 Views
markusransberge
Contributor III

HotFix_5: Correct code generation file for missing/wrong eTimer_0 priorities.

 

NXP Tracking number: AST-780

 

Problem: The line for channel 5 is missing in the generated "intc_init.c" file. This also causes that the ISR priority of eTimer_0 channel 4 gets wrongly set.

  

Root Cause: mbdtargetmainlibpnt.tlc is missing one line of code for the eTimer_0 channel 5 priority.

Workaround: Update the file attached in the following folder (make a back-up copy of the original file before you begin):

Copy & replace mbdtargetmainlibpnt.tlc file into {Toolbox install dir}\mbdtbx_MPC574xP\mbdtbx_pnt\mbdtbx_pnt\

mbdtargetmainlibpnt_diff.png

1,202 Views
dumitru-daniel_
NXP Employee
NXP Employee

HotFix_4: Add support for exporting generated code as project for S32 Design Studio for Power v1.2 .

 

NXP Tracking number: AST-300

 

RequestMDBT_MPC57xxP should enable S32DS project creation from the Simulink generated code 

  

Update Patch:  Update the files attached in the following folders (make a back-up copy of the original files before you begin):

#1: Copy & replace mbd_pnt_make_rtw.m file into {Toolbox install dir}\mbdtbx_MPC574xP\mbdtbx_pnt\mbdtbx_pnt\ folder

#2: Copy & replace mbd_pnt.tcl file into {Toolbox install dir}\mbdtbx_MPC574xP\mbdtbx_pnt\mbdtbx_pnt\ folder

#3: Copy mbd_pnt_ds.p file into {Toolbox install dir}\mbdtbx_MPC574xP\mbdtbx_pnt\mbdtbx_pnt\mscripts\utils\ folder

Open Matlab/Simulink and within the MBD_MPC574xP_Config block you should now see "Generate S32 Design Studio ProjectInfo.xml file" option:

pastedImage_5.png

Build the Simulink model to obtain the ProjectInfo.xml file needed to import the automatic generated code into S32 Design Studio for Power v1.2.

0 Kudos

1,200 Views
constantinrazva
NXP Employee
NXP Employee

HotFix_3: Add support for the latest e200 compiler that is released with S32 Design Studio for Power v1.2 .

NXP Tracking numberAST-603

 

ProblemMDBT_MPC57xxP did not work with the latest e200 compiler

 

Root Cause: Linker files were updated in the latest S32 Design Studio's release.

 

Workaround:  Update the files attached in the following folder :

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder MPC5744P_FLASH.ld file

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder MPC5744P_RAM.ld file

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder MPC5744P_RAM_BAM.ld file

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder MPC5743P_FLASH.ld file

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder MPC5743P_RAM.ld file

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder MPC5743P_RAM_BAM.ld file

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder MPC5742P_FLASH.ld file

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder MPC5742P_RAM.ld file

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder MPC5742P_RAM_BAM.ld file

{Toolbox install dir}\mbdtbx_pnt\src\s32ds_specific_files\ folder initialize_gpr.s file

The linker files were updated as described in "GNU Tools for e200 processors" release notes - "3.1 Update linker script" to migrate to version 1.2.

1,199 Views
jjacp
Contributor III

Hi constantinrazvan.chivu

Is this patch necessary for the latest version of S32, v2017R1?

Thanks!

0 Kudos

1,200 Views
constantinrazva
NXP Employee
NXP Employee

Hello jjacp‌,

Yes, you should install this patch also for version 2017R1.

Kind regards,

Razvan.

1,200 Views
jfrey
Contributor IV

Without having two separate MBDT installs is it possible to use both v1.1 and v1.2 on the same machine?

Also the NXP Tracking Number appears to be on an internal NXP server. The DNS name does not resolve.

0 Kudos

1,200 Views
dumitru-daniel_
NXP Employee
NXP Employee

Hi jfrey‌,

My recommendation is to have both MBDT install versions on your PC and to switch between them from Matlab Path (Add/Remove). We have not tested them together within a single Matlab instance and since some of the callback functions are the same - you might end up with various issues if both revisions are active in the same Matlab.

Regarding the tracking numbers - you are correct, they are not visible to the external customers (...yet). Still that is a backup for us - to be used for the next releases of MPC5744 to make sure we have not missed any patch.

Best regards,
Daniel

0 Kudos

1,201 Views
jfrey
Contributor IV

Regarding the tracking numbers - you are correct, they are not visible to the external customers (...yet).

I hear GitHub is an excellent place to store source code and do issues tracking.

0 Kudos

1,201 Views
dumitru-daniel_
NXP Employee
NXP Employee

HotFix_2: Fix license errors for DISK_SERIAL_NUM with less than 8 characters

NXP Tracking numberAST-619

 

Problem: If your HDD has a serial number with less than 8 characters, the license checking and validation will fail even if the license is correctly generated

 

Root Cause: Coding logic error

 

Workaround:  Update the file attached in the following folder 

{Toolbox install dir}\mbdtbx_pnt\mbdtbx_pnt\mscripts\matlab_ui\ folder mbd_pnt_hostid.p file

 

Customer Report: Undefined function or variable 'lic_err'.

1,201 Views
hongfeifei
Contributor I

thank you very much, help me solve this problem which undefined function or variable 'lic_err' 

0 Kudos