Need Help in Code Generation from ProcessorExpert.pe file using Command line

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

Need Help in Code Generation from ProcessorExpert.pe file using Command line

848 Views
amarjeet_kumar
Contributor II

Hi

 

I am  trying to do code generation from Processor Expert (ProcessorExpert.pe file) through command line, but code is not getting generated.

 

Command used : eclipsec.exe -noSplash -data c:\Users\XYZ\workspace -application com.freescale.processorexpert.core.PExApplication -generate projectABC

 

The above command is a standard command present in Help documents of Design studio.

Please help...

 

Steps followed in creating project.

 Project_Creation_Step.png

 

Thanks

Amarjeet

0 Kudos
3 Replies

674 Views
BlackNight
NXP Employee
NXP Employee

This article might be helpful for you:

Eclipse Command Line Code Generation with Processor Expert | MCU on Eclipse 

It is for a previous version of Eclipse, but things still shall be the same.

I hope this helps,

Erich

674 Views
amarjeet_kumar
Contributor II

Hi Styger

I followed your suggestion from your last reply,but still my problem not solved.

I have created S32 Design studio Project by selecting IAR Toolchan for ARM(8.x) with SDK (S32SDK_S32K1xx_RTM_3.0.0 ) and when i am trying to generate the code from Processor Expert using command line i am facing below error.

Command used : eclipsec.exe -noSplash -data c:\Users\XYZ\workspace -application com.freescale.processorexpert.core.PExApplication -generate projectABC

error_screenshot.PNG

i am also attaching the error log file here.

If you want i can share the Basic project along with script batch file.

Please help in solving this issue.

Thanks

Amarjeet

0 Kudos

674 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

in attachment is my testing project. PE Code can be generated from command line without any issue using this command: 

eclipsec.exe -noSplash -data c:\Users\nxf24838\workspaceS32DS.ARM.2018.R1 -application com.freescale.processorexpert.core.PExApplication -generate iar_sdk_test

Here is console output: 

pastedImage_1.png

It is possible share your project? 

Jiri

0 Kudos