Hi Michael,
I am sorry for late response.
Here is answer from LIN stack designer:
++++++++++++++++++++++++++++++
I am very sorry to hear about this complaint.
Actually the NCFGui.jar in folder “\NCFTool\NCFGui” contains help information regarding how to use it by typing “java -jar NCFGui.jar -?” or “java -jar NCFGui.jar –help”.
But I think we can also improve the documentation by adding a section regarding command line usage in the next release.
In folder: "\NCFTool\NCFGui" open cmd window and type:
java -jar NCFGui.jar -?
Or
java -jar NCFGui.jar --help
To show help menu
Typical command:
java -jar NCFGui.jar -npf "npf file path" -o "output path" -u
where:
-npf: following path is the path to NPF file.
-o: following path is the path to output directory.
-u: to overwrite existed configuration files
Examples:
java -jar NCFGui.jar -npf "D:\FSL_GIT_Repo\fsl_lin_2.x_driver\Examples\Kinetis\Node_configuration_files\KEA128_Master.npf" -o "D:\FSL_GIT_Repo\fsl_lin_2.x_driver\Examples\Kinetis\KEA128\KEA128_LIN_Master\lin_cfg" -u
Above command will generate configuration files with input NPF is "D:\FSL_GIT_Repo\fsl_lin_2.x_driver\Examples\Kinetis\Node_configuration_files\KEA128_Master.npf" to output folder: "D:\FSL_GIT_Repo\fsl_lin_2.x_driver\Examples\Kinetis\KEA128\KEA128_LIN_Master\lin_cfg"
java -jar NCFGui.jar -npf "D:\FSL_GIT_Repo\fsl_lin_2.x_driver\Examples\Kinetis\Node_configuration_files\KEA128_Slave.npf" -o "D:\FSL_GIT_Repo\fsl_lin_2.x_driver\Examples\Kinetis\KEA128\KEA128_LIN_slave\lin_cfg" -u
This command will generate configuration files with input NPF is "D:\FSL_GIT_Repo\fsl_lin_2.x_driver\Examples\Kinetis\Node_configuration_files\KEA128_Slave.npf" to output folder: "D:\FSL_GIT_Repo\fsl_lin_2.x_driver\Examples\Kinetis\KEA128\KEA128_LIN_slave\lin_cfg"
And there was a misconfiguration in NCFGUI.jar in LIN Stack 4.5.7 that caused command line tool not working. We are really sorry for that.
For a quick fix, please use the attached zip tool. We will fix that in the next release.
++++++++++++++++++++++++++++++
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------