[S12Z-toolbox 1.4] PIL-example model linking error

cancel
Showing results for 
Search instead for 
Did you mean: 

[S12Z-toolbox 1.4] PIL-example model linking error

Jump to solution
694 Views
nofake_drstrang
Contributor III

Dear MBD-team,

I tried the example model : \Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil

and got the linking error:  ERROR L1106: Object _vectab not found

I think, the model was not tested by your team with matlab 2020a/b. Because the model was last saved in 2015a.

 I use matlab 2020b.

Please help me!

Many thanks in advance!

Below it is the complete matlab report:

=== Simulation (Elapsed: 5:32 min) ===
### Starting serial model reference code generation build
A copy of the original file "sim_pil_target_s12zvm.mdl" has been created because it was last saved in an earlier version of Simulink. To recover the original version, rename the file "sim_pil_target_s12zvm.mdl.r2015a" as "sim_pil_target_s12zvm.mdl".

You can turn this feature off using the Simulink Preferences. Click here if you don't want to see this message again.
### Starting build procedure for: sim_pil_target_s12zvm
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm
### Invoking Target Language Compiler on sim_pil_target_s12zvm.rtw
### Using System Target File: D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tlc
Converting 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tlc' to UTF-8
### Loading TLC function libraries
### Initial pass through model to cache user defined code
.
### Caching model source code
### Writing header file sim_pil_target_s12zvm_types.h
### Writing header file sim_pil_target_s12zvm.h
### Writing header file rtwtypes.h
### Writing source file sim_pil_target_s12zvm.c
.
### Writing header file sim_pil_target_s12zvm_private.h
### Writing header file mc9s12zvm.h
### Writing header file tim_param.h
### Writing source file mbd_hw_init.c
### Writing header file clk_init.h
.
### Writing header file vector.h
### Writing header file isr_lvl.h
### Writing source file isr_lvl.c
### TLC code generation complete.
### Evaluating PostCodeGenCommand specified in the model
.
### Processing Template Makefile: D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf
Warning:Warning: The following preprocessor macros
MODEL_HAS_DYNAMICALLY_LOADED_SFCNS
are specified in the component's build information (RTW.BuildInfo) but the specified template makefile
D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf
does not contain the token |>DEFINES_OTHER<|.
Warning:Warning: Found legacy make variables |>START_MDLREFINC_EXPAND_INCLUDES<|, |>END_MDLREFINC_EXPAND_INCLUDES<|, |>MODELREF_INC_PATH<| in the template makefile D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf. The variables are no longer required. You can remove the variables.
Warning:Warning: Found legacy make variables |>S_FUNCTIONS<|, |>S_FUNCTIONS_OBJ<| in the template makefile D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf. The variables are no longer required. You can remove the variables.
Warning:Warning: Found legacy make variables |>SHARED_BIN_DIR<|, |>SHARED_LIB<|, |>SHARED_SRC<|, |>SHARED_SRC_DIR<| in the template makefile D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf. The variables are no longer required. You can remove the variables.
### Created makefile D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\sim_pil_target_s12zvm.mk
### Building sim_pil_target_s12zvm_rtwlib: .\sim_pil_target_s12zvm.bat

D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm>set MATLAB=D:\programs\matlab_2020b

D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm>"D:\programs\matlab_2020b\bin\win64\gmake" -f sim_pil_target_s12zvm.mk COPY_MDLREF_INCLUDES=0 GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 CW_TARGET_DEFAULT_LCF=1 CW_TARGET_USER_LCF="mc9s12zvml128_FLASH.prm" CS_TARGET_DEFAULT_LCF=1 CS_TARGET_USER_LCF="mc9s12zvm32_FLASH.lkf" PIL_DOWNLOAD=1 RBL_DOWNLOAD=0 OPTS="-DTID01EQ=0"
Cleaning...
RELATIVE_PATH_TO_ANCHOR is ..\..\..
==== Removing object files from build directory ====
Compiler details : "C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o SetupFiles -I. -I.. -I../instrumented -I..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0
Assembler details : "C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -CMacAngBrackOn -ViewHidden
Product: sim_pil_target_s12zvm_rtwlib.lib
Build product type: library
Building file isr_lvl.o...
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o isr_lvl.o -I. -I.. -I../instrumented -I..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 isr_lvl.c
Building file mbd_hw_init.o...
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o mbd_hw_init.o -I. -I.. -I../instrumented -I..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 mbd_hw_init.c
Building file mc9s12zvml128.o...
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o mc9s12zvml128.o -I. -I.. -I../instrumented -I..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 mc9s12zvml128.c
Building file pmf_s12z_library.o...
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o pmf_s12z_library.o -I. -I.. -I../instrumented -I..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 pmf_s12z_library.c
Building file rtiostream_serial.o...
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o rtiostream_serial.o -I. -I.. -I../instrumented -I..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 rtiostream_serial.c
Building file sim_pil_target_s12zvm.o...
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o sim_pil_target_s12zvm.o -I. -I.. -I../instrumented -I..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 sim_pil_target_s12zvm.c
Building file starts12z.o...
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o starts12z.o -I. -I.. -I../instrumented -I..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 starts12z.c
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/libmaker" -Cmd( isr_lvl.o mbd_hw_init.o mc9s12zvml128.o pmf_s12z_library.o rtiostream_serial.o sim_pil_target_s12zvm.o starts12z.o = sim_pil_target_s12zvm_rtwlib.lib )
- D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\isr_lvl.o
- D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\mbd_hw_init.o
- D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\mc9s12zvml128.o
- D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pmf_s12z_library.o
- D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\rtiostream_serial.o
- D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\sim_pil_target_s12zvm.o
- D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\starts12z.o
- D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\sim_pil_target_s12zvm_rtwlib.lib
Listing of 'sim_pil_target_s12zvm_rtwlib.lib' is written to 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\sim_pil_target_s12zvm_rtwlib.lst'
### Created sim_pil_target_s12zvm_rtwlib.lib
### Created library: sim_pil_target_s12zvm_rtwlib.lib
Building target all
*** Created executable: sim_pil_target_s12zvm_rtwlib.lib
### Successful completion of build procedure for: sim_pil_target_s12zvm
Code generation targets built:

Model Action Rebuild Reason
=========================================================================
sim_pil_target_s12zvm Rebuilt sim_pil_target_s12zvm.c does not exist.

1 of 1 models built (0 models already up to date)
Build duration: 0h 3m 6.015s
### Connectivity configuration for referenced model "sim_pil_target_s12zvm": NXP S12ZVM (Serial) ###
### Preparing to start PIL simulation ...
Building with 'MinGW64 Compiler (C)'.
Warning:Warning: You are using an unsupported version of MinGW Compiler. To install the supported version of MinGW compiler, see: Install MinGW-w64 Compiler.
For a list of currently supported compilers visit https://www.mathworks.com/support/compilers.
MEX completed successfully.
.
### Processing Template Makefile: D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf
### Created makefile D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\sim_pil_target_s12zvm.mk
### Building sim_pil_target_s12zvm: .\sim_pil_target_s12zvm.bat

D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil>set MATLAB=D:\programs\matlab_2020b

D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil>"D:\programs\matlab_2020b\bin\win64\gmake" -f sim_pil_target_s12zvm.mk COPY_MDLREF_INCLUDES=0 GENERATE_ERT_S_FUNCTION=0 INCLUDE_MDL_TERMINATE_FCN=1 COMBINE_OUTPUT_UPDATE_FCNS=1 MULTI_INSTANCE_CODE=0 INTEGER_CODE=0 CW_TARGET_DEFAULT_LCF=1 CW_TARGET_USER_LCF="mc9s12zvml128_FLASH.prm" CS_TARGET_DEFAULT_LCF=1 CS_TARGET_USER_LCF="mc9s12zvm32_FLASH.lkf" PIL_DOWNLOAD=1 RBL_DOWNLOAD=0 OPTS="-DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T"
Cleaning...
RELATIVE_PATH_TO_ANCHOR is ..\..\..\..
==== Removing object files from build directory ====
Compiler details : "C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o SetupFiles -I. -I.. -I../instrumented -I..\..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -ID:\programs\MATLAB~1\toolbox\rtw\targets\pil\c -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil -ID:\programs\MATLAB~1\extern\include\coder\connectivity\XILTgtAppSvc -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T
Assembler details : "C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -CMacAngBrackOn -ViewHidden
Product: sim_pil_target_s12zvm.elf
Build product type: executable
### "|>EXPAND_DIR_NAME<|\xil_interface_lib.c"o
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o xil_interface_lib.o -I. -I.. -I../instrumented -I..\..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -ID:\programs\MATLAB~1\toolbox\rtw\targets\pil\c -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil -ID:\programs\MATLAB~1\extern\include\coder\connectivity\XILTgtAppSvc -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T D:\programs\MATLAB~1\toolbox\rtw\targets\pil\c\xil_interface_lib.c
### "|>EXPAND_DIR_NAME<|\xil_data_stream.c"o
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o xil_data_stream.o -I. -I.. -I../instrumented -I..\..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -ID:\programs\MATLAB~1\toolbox\rtw\targets\pil\c -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil -ID:\programs\MATLAB~1\extern\include\coder\connectivity\XILTgtAppSvc -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T D:\programs\MATLAB~1\toolbox\rtw\targets\pil\c\xil_data_stream.c
### "|>EXPAND_DIR_NAME<|\xil_services.c"o
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o xil_services.o -I. -I.. -I../instrumented -I..\..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -ID:\programs\MATLAB~1\toolbox\rtw\targets\pil\c -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil -ID:\programs\MATLAB~1\extern\include\coder\connectivity\XILTgtAppSvc -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T D:\programs\MATLAB~1\toolbox\rtw\targets\pil\c\xil_services.c
Building file xil_interface.o...
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o xil_interface.o -I. -I.. -I../instrumented -I..\..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -ID:\programs\MATLAB~1\toolbox\rtw\targets\pil\c -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil -ID:\programs\MATLAB~1\extern\include\coder\connectivity\XILTgtAppSvc -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T xil_interface.c
### "|>EXPAND_DIR_NAME<|\xilcomms_rtiostream.c"o
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o xilcomms_rtiostream.o -I. -I.. -I../instrumented -I..\..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -ID:\programs\MATLAB~1\toolbox\rtw\targets\pil\c -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil -ID:\programs\MATLAB~1\extern\include\coder\connectivity\XILTgtAppSvc -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T D:\programs\MATLAB~1\toolbox\rtw\targets\pil\c\xilcomms_rtiostream.c
### "|>EXPAND_DIR_NAME<|\xil_rtiostream.c"o
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o xil_rtiostream.o -I. -I.. -I../instrumented -I..\..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -ID:\programs\MATLAB~1\toolbox\rtw\targets\pil\c -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil -ID:\programs\MATLAB~1\extern\include\coder\connectivity\XILTgtAppSvc -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T D:\programs\MATLAB~1\toolbox\rtw\targets\pil\c\xil_rtiostream.c
### "|>EXPAND_DIR_NAME<|\rtiostream_utils.c"o
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o rtiostream_utils.o -I. -I.. -I../instrumented -I..\..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -ID:\programs\MATLAB~1\toolbox\rtw\targets\pil\c -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil -ID:\programs\MATLAB~1\extern\include\coder\connectivity\XILTgtAppSvc -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T D:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils\rtiostream_utils.c
### "|>EXPAND_DIR_NAME<|\pil_main.c"o
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/mwccs12lisa" -c -model small -bfield_lsbit_first -bfield_reduce_type -opt level=0 -Cpp_Exceptions off -char unsigned -msgstyle parseable -sym full -nostdinc -nosyspath -w possible -w extended -w extracomma -w emptydecl -w structclass -ansi off -ipa function -inline smart,auto,bottomup -bool off -wchar_t off -RTTI off -llong_size=8 -double_size 8 -lang c99 -gccext on -o pil_main.o -I. -I.. -I../instrumented -I..\..\..\.. -I"D:\programs\matlab_2020b\simulink\include" -I"D:\programs\matlab_2020b\extern\include" -I"D:\programs\matlab_2020b\rtw\c\src" -I"D:\programs\matlab_2020b\rtw\c\libsrc" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\common" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\tcpip" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\serial" -I"D:\programs\matlab_2020b\rtw\c\src\ext_mode\custom" -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm -ID:\programs\MATLAB~1\extern\include -ID:\programs\MATLAB~1\simulink\include -ID:\programs\MATLAB~1\rtw\c\src -ID:\programs\MATLAB~1\rtw\c\src\ext_mode\common -ID:\programs\MATLAB~1\rtw\c\ert -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\_sharedutils -ID:\programs\MATLAB~1\toolbox\rtw\targets\pil\c -ID:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil -ID:\programs\MATLAB~1\extern\include\coder\connectivity\XILTgtAppSvc -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src\utils -ID:\programs\MATLAB~1\toolbox\coder\rtiostream\src -I"C:/Freescale/Codewarrior_11\MCU\S12lisa_Support\s12lisac\include" -I..\..\..\slprj\mcd_s12zvm\_sharedutils -DTID01EQ=0 -DCODER_ASSUMPTIONS_ENABLED=0 -DRTIOSTREAM_RX_BUFFER_BYTE_SIZE=128 -DRTIOSTREAM_TX_BUFFER_BYTE_SIZE=128 -DMEM_UNIT_BYTES=1 -DMemUnit_T=uint8_T D:\programs\MATLAB~1\toolbox\rtw\targets\pil\c\pil_main.c
### Creating executable: sim_pil_target_s12zvm.elf
"C:/Freescale/Codewarrior_11/MCU/S12lisa_Tools/Build_Tools/linker" -osim_pil_target_s12zvm.elf -M -WmsgSd1100 -WmsgSd1912 -WmsgSd1923 ../mc9s12zvm.prm -B -add( xil_interface_lib.o xil_data_stream.o xil_services.o xil_interface.o xilcomms_rtiostream.o xil_rtiostream.o rtiostream_utils.o pil_main.o ..\..\..\..\slprj\mcd_s12zvm\sim_pil_target_s12zvm\sim_pil_target_s12zvm_rtwlib.lib "C:/Freescale/Codewarrior_11/MCU/S12lisa_Support/s12lisac/lib/ansidm.lib" ..\MC9S12ZVM_AMMCLIB.UC.a )
../mc9s12zvm.prm
Command Line: '-osim_pil_target_s12zvm.elf -M -WmsgSd1100 -WmsgSd1912 -WmsgSd1923 ../mc9s12zvm.prm -B -add( xil_interface_lib.o xil_data_stream.o xil_services.o xil_interface.o xilcomms_rtiostream.o xil_rtiostream.o rtiostream_utils.o pil_main.o ..\..\..\..\slprj\mcd_s12zvm\sim_pil_target_s12zvm\sim_pil_target_s12zvm_rtwlib.lib "C:/Freescale/Codewarrior_11/MCU/S12lisa_Support/s12lisac/lib/ansidm.lib" ..\MC9S12ZVM_AMMCLIB.UC.a )'
Linking ../mc9s12zvm.prm
Reading file 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\xil_interface_lib.o'
Reading file 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\xil_data_stream.o'
Reading file 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\xil_services.o'
Reading file 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\xil_interface.o'
Reading file 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\xilcomms_rtiostream.o'
Reading file 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\xil_rtiostream.o'
Reading file 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\rtiostream_utils.o'
Reading file 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\pil_main.o'
Reading file '..\..\..\..\slprj\mcd_s12zvm\sim_pil_target_s12zvm\sim_pil_target_s12zvm_rtwlib.lib'
Reading file 'C:/Freescale/Codewarrior_11/MCU/S12lisa_Support/s12lisac/lib/ansidm.lib'
Reading file '..\MC9S12ZVM_AMMCLIB.UC.a'
ERROR L1106: Object _vectab not found
Generating MAP file 'D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\S12ZVM_Examples\s12zvm\pil\slprj\mcd_s12zvm\sim_pil_target_s12zvm\pil\sim_pil_target_s12zvm.map'
SmartLinker: *** 1 error(s), 0 warning(s), 0 information message(s) ***
*** command line: '-osim_pil_target_s12zvm.elf -M -WmsgSd1100 -WmsgSd1912 -WmsgSd1923 ../mc9s12zvm.prm -B -add( xil_interface_lib.o xil_data_stream.o xil_services.o xil_interface.o xilcomms_rtiostream.o xil_rtiostream.o rtiostream_utils.o pil_main.o ..\..\..\..\slprj\mcd_s12zvm\sim_pil_target_s12zvm\sim_pil_target_s12zvm_rtwlib.lib "C:/Freescale/Codewarrior_11/MCU/S12lisa_Support/s12lisac/lib/ansidm.lib" ..\MC9S12ZVM_AMMCLIB.UC.a )' ***
SmartLinker: *** Error occurred while processing! ***
gmake: *** [sim_pil_target_s12zvm.elf] Error 1
Error:An error occurred while calling into the SIL or PIL target connectivity implementation.
Caused by:
Error(s) encountered while building "sim_pil_target_s12zvm"
Warning:Warning: The following preprocessor macros
MODEL_HAS_DYNAMICALLY_LOADED_SFCNS
are specified in the component's build information (RTW.BuildInfo) but the specified template makefile
D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf
does not contain the token |>DEFINES_OTHER<|.
Warning:Warning: Found legacy make variables |>START_MDLREFINC_EXPAND_INCLUDES<|, |>END_MDLREFINC_EXPAND_INCLUDES<|, |>MODELREF_INC_PATH<| in the template makefile D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf. The variables are no longer required. You can remove the variables.
Warning:Warning: Found legacy make variables |>S_FUNCTIONS<|, |>S_FUNCTIONS_OBJ<| in the template makefile D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf. The variables are no longer required. You can remove the variables.
Warning:Warning: Found legacy make variables |>SHARED_BIN_DIR<|, |>SHARED_LIB<|, |>SHARED_SRC<|, |>SHARED_SRC_DIR<| in the template makefile D:\programs\matlab_addons\Toolboxes\NXP_MBDToolbox_S12ZVMx\mctbx_s12zvm\mctbx_s12zvm\mcd_s12zvm.tmf. The variables are no longer required. You can remove the variables.

0 Kudos
1 Solution
388 Views
paulvlase
NXP Employee
NXP Employee

Hi @nofake_drstrang ,

 

Can you try to apply the attached patch MBDToolbox_S12ZVMx_1.4.0_pil_patch.zip and run PIL simulation again?

 

Steps to apply the patch:

1. Download the attached zip file and unzip it.

2. Open Matlab and run mbd_find_s12z_root() to get the root folder there the S12ZVM toolbox is installed.

3. Close Matlab.

4. Open the MBDToolbox_S12ZVMx_1.4.0_pil_patch.exe.zip file and extract it's contents to the root folder of the toolbox.

 

Regards,

Paul

View solution in original post

9 Replies
389 Views
paulvlase
NXP Employee
NXP Employee

Hi @nofake_drstrang ,

 

Can you try to apply the attached patch MBDToolbox_S12ZVMx_1.4.0_pil_patch.zip and run PIL simulation again?

 

Steps to apply the patch:

1. Download the attached zip file and unzip it.

2. Open Matlab and run mbd_find_s12z_root() to get the root folder there the S12ZVM toolbox is installed.

3. Close Matlab.

4. Open the MBDToolbox_S12ZVMx_1.4.0_pil_patch.exe.zip file and extract it's contents to the root folder of the toolbox.

 

Regards,

Paul

View solution in original post

347 Views
nofake_drstrang
Contributor III

Hi @paulvlase 

many thanks for your patch! It works fine!

 

Regards

Alex

 

418 Views
nofake_drstrang
Contributor III

Dear @dumitru-daniel_ @mariuslucianand @paulvlase @NXP-MBD-Team

could you please help?

Thank you!

BR

Alex

0 Kudos
502 Views
nofake_drstrang
Contributor III

Hi @mariuslucianand,

I hope you are doing well.

could you test it on R2020b?

Many thanks!

Best regards.

0 Kudos
491 Views
mariuslucianand
NXP Employee
NXP Employee

@paulvlase can you please help us with this?

Regards,

Marius

0 Kudos
450 Views
nofake_drstrang
Contributor III

Hi @paulvlase 

could you please help?

Thank you!

BR

 

0 Kudos
687 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @nofake_drstrang ,

The S12 Toolbox is targeted to run on the R2015a-R2020a versions, and this is the reason why the examples are saved under the R2015a version. It was released before the R2020b has been released, so indeed we did not test the code on R2020b yet.

Thank you for noticing this behavior. We will investigate and reply to this thread.

Regards,

Marius

615 Views
nofake_drstrang
Contributor III

Hi @mariuslucianand 

 

could you test it on R2020b?

 

Many thanks!

Best regards.

 

0 Kudos
679 Views
nofake_drstrang
Contributor III

Hi @mariuslucianand 

 

many thanks for your reply!

Ps. The same linking error for the SIL-example model.

 

Best Regards  

0 Kudos