The “*.ehx” files provided with the PIL demos are of the "extended hex" format used by the C2Prog Flash utility. We use this format as it includes all the programming settings and makes flashing an evaluation board and running PIL demos quick and straightforward.
However, it is not necessary that you use this format for your own application. You can program “*.out” files from CCS, UniFlash or C2Prog. None of the PIL functionality depends on the ehx format.
The role of the PIL Prep Tool is to create the information (debug symbols) that PLECS uses to interface with the embedded application. This tool therefore has to be executed at each build, which is achieved by using a CCS pre-build step to call the “buildsteps.bat” script.
You can find the comprehensive PIL manual on our documentation website.
I recommend that you work with the demos provided and review the documentation in conjunction with the sample code.
Also, feel free to contact our support team via email if you have specific questions or need help with converting your project for PIL.