Diab with s32DS for MPC5777C compilation issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Diab with s32DS for MPC5777C compilation issue

1,599件の閲覧回数
ch_sampath
Contributor II

Sir,

Requested to assist for the following compilation issue(attached) during the compilation of project using S32DS with Diab compiler for MPC5777C board.

0 件の賞賛
返信
5 返答(返信)

1,330件の閲覧回数
Mehul_Patel_NXP
NXP Employee
NXP Employee

Hi, @ch_sampath , 

 

Were you able to resolve the issue, according to @stanish suggestion from another thread. 

 

Please let us know if you are facing any further issue. 

 

Thank you. Best regards. 

 

- Mehul Patel

0 件の賞賛
返信

1,453件の閲覧回数
ch_sampath
Contributor II

Thanks for the reply,  let me try and come back...

0 件の賞賛
返信

1,563件の閲覧回数
stanish
NXP Employee
NXP Employee

Hello,

S32 Design Studio contains Diab build tools plugin support and project wizard that can generate a new diab project.

In order to use it you need a licensed verion of Diab build tools installed on the same machine as S32DS.

see e.g.:

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Install-Wind-River-compiler-Ecl...

 

hope it helps.

Stan

0 件の賞賛
返信

1,529件の閲覧回数
ch_sampath
Contributor II

Dear Sir, 

I am getting the same error in case of wind river tool chain. 
************************************************************************************************************************************
10:01:43 **** Incremental Build of configuration Debug for project Wind_test_1_prj_Z7_0 ****
make all
Building file: ../src/MPC57xx__Interrupt_Init.c
Invoking: Diab C Compiler
dcc -c -tPPCE200Z759N3VES -I"D:/NXP/workpsace1/Wind_test_1_prj/Wind_test_1_prj_Z7_0/include" -DSTART_FROM_FLASH -DTURN_ON_CPU0 -DTURN_ON_CPU1 -DMPC5777C -g3 -Xmake-dependency=0x5 -o src/MPC57xx__Interrupt_Init.o ../src/MPC57xx__Interrupt_Init.c
"../src/MPC57xx__Interrupt_Init.c", line 228: fatal error (dcc:1635): License error: Unknown LMAPI error
make: *** [src/subdir.mk:36: src/MPC57xx__Interrupt_Init.o] Error 1

10:01:44 Build Finished (took 929ms)
************************************************************************************************************************************
if I select s32ds tool chain, I dont find this error. i guess its compiling successfully. 

 

************************************************************************************************************************************
10:03:40 **** Build of configuration Debug for project test_s32DS_toolChain_Z7_0 ****
make -j12 all
Building file: ../src/MPC57xx__Interrupt_Init.c
Building file: ../src/flashrchw.c
Invoking: Standard S32DS C Compiler
Building file: ../src/intc_SW_mode_isr_vectors_MPC5777C.c
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/MPC57xx__Interrupt_Init.args" -MMD -MP -MF"src/MPC57xx__Interrupt_Init.d" -MT"src/MPC57xx__Interrupt_Init.o" -o "src/MPC57xx__Interrupt_Init.o" "../src/MPC57xx__Interrupt_Init.c"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/MPC57xx__Interrupt_Init.args" -MMD -MP -MF"src/flashrchw.d" -MT"src/flashrchw.o" -o "src/flashrchw.o" "../src/flashrchw.c"
powerpc-eabivle-gcc "@src/MPC57xx__Interrupt_Init.args" -MMD -MP -MF"src/intc_SW_mode_isr_vectors_MPC5777C.d" -MT"src/intc_SW_mode_isr_vectors_MPC5777C.o" -o "src/intc_SW_mode_isr_vectors_MPC5777C.o" "../src/intc_SW_mode_isr_vectors_MPC5777C.c"
Building file: ../src/intc_sw_handlers.S
Building file: ../src/main_Z7_0.c
Invoking: Standard S32DS Assembler
Building file: ../Project_Settings/Startup_Code/startup.S
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/MPC57xx__Interrupt_Init.args" -MMD -MP -MF"src/main_Z7_0.d" -MT"src/main_Z7_0.o" -o "src/main_Z7_0.o" "../src/main_Z7_0.c"
Finished building: ../src/flashrchw.c
Finished building: ../src/intc_SW_mode_isr_vectors_MPC5777C.c
Finished building: ../src/MPC57xx__Interrupt_Init.c
 
 
Building file: ../src/Vector.c
 
powerpc-eabivle-gcc "@src/intc_sw_handlers.args" -o "src/intc_sw_handlers.o" "../src/intc_sw_handlers.S"
Invoking: Standard S32DS C Compiler
powerpc-eabivle-gcc "@src/MPC57xx__Interrupt_Init.args" -MMD -MP -MF"src/Vector.d" -MT"src/Vector.o" -o "src/Vector.o" "../src/Vector.c"
Invoking: Standard S32DS Assembler
powerpc-eabivle-gcc "@Project_Settings/Startup_Code/startup.args" -o "Project_Settings/Startup_Code/startup.o" "../Project_Settings/Startup_Code/startup.S"
Finished building: ../src/main_Z7_0.c
Finished building: ../src/intc_sw_handlers.S
 
Finished building: ../src/Vector.c
 
Finished building: ../Project_Settings/Startup_Code/startup.S
 
 
Building target: test_s32DS_toolChain_Z7_0.elf
Invoking: Standard S32DS C Linker
powerpc-eabivle-gcc -o "test_s32DS_toolChain_Z7_0.elf" "@test_s32DS_toolChain_Z7_0.args"    
Finished building target: test_s32DS_toolChain_Z7_0.elf
 
Invoking: Standard S32DS Print Size
powerpc-eabivle-size --format=berkeley test_s32DS_toolChain_Z7_0.elf
   text   data    bss    dec    hex filename
   4130     56   4132   8318   207e test_s32DS_toolChain_Z7_0.elf
Finished building: test_s32DS_toolChain_Z7_0.siz
 

10:03:44 Build Finished (took 3s.383ms)
************************************************************************************************************************************
 
Can You Plz help us......
0 件の賞賛
返信

1,478件の閲覧回数
stanish
NXP Employee
NXP Employee

please check this thread:

https://community.nxp.com/t5/S32-Design-Studio/Error-while-building-sample-application-for-MCAL-Auto...

Please check that license file exists (e.g. "c:\WindRiver\license\WRlicense.lic") on your machine and there also exists an additional environmental variable named "WRSD_License_File" with the full path to the license file.

Hope it helps.

Stan

 

0 件の賞賛
返信