1 Reply Latest reply on Jun 26, 2018 7:49 AM by e.pratt_1639216

    How to make the batch file to run ppcli.exe for MiniProg3?

    huoming2013_3530781

      Dear Sirs.

      Hello,I'm your user from China.I bought several MiniProg3 programmers from your company.I now want to run the ppcli.exe automatically by using batch file,and I need program's IC is <CY8C4146AZI-S433>.but I can't see how to make the batch file from the PDF file your provided<PSoC Programmer CLI User Guide.pdf>.

      Can you help teach me?How can I finish the work?

      Look forward to hearing from you soon.

      Thank you very much!

        • 1. Re: How to make the batch file to run ppcli.exe for MiniProg3?
          e.pratt_1639216

          If you add the PPCLI.exe to the environment path variable, then all you need to do is have the line:

          PPCLI

          at the beginning of the batch file and it will start the CLI first thing it does.

          You may then proceed to run following CLI commands in the following lines of the batch file to interface with the PPCLI program.

          Here is an example batch file line that runs code from the "script.txt" file using the PPCLI program (Assumes you added the PPCLI to the environment path):

          Program.bat file:

               PPCLI "--runfile script.txt"

          Script.txt file:

               GetPorts

           

          P.S. This is as far as I got, since I don't know how to interface with the batch language to save/store/use variables from the different line outputs