7 Replies Latest reply on Dec 31, 2015 2:05 PM by stephen.cowell

    ppcli.exe example for psoc 5?

    stephen.cowell

      Is there a proper example for using command line with psoc 5?  Probably not, right?  Because of the turgid UI?

        • 1. Re: ppcli.exe example for psoc 5?
          hima

          Hello ,

             

          I just want to check if you have got a chance to check the document PSoC_Programmer_CLI.pdf available in the PSoC Programmer installation directory(eg: C:\Program Files (x86)\Cypress\Programmer\Documents).This has information about the different commands.

             

          Thanks,

             

          Hima

          • 2. Re: ppcli.exe example for psoc 5?
            stephen.cowell

            Hima, thanks for the reply.. yes, I'm reading the _cli.pdf.  It only has examples for simple PSOC, not for 3/5... the algorithm for 3/5 is much more complex, since you have to query the device and program by rows.  There is no example for CLI for 3/5, since it would be almost impossible to make one.  The documentation in general is not clear as to the different capabilities, you have to dig to find the capabilities matrix for each command and see that Program() is not a PSoC 3/5 command.

               

            I'm now using the COM C++ example and it works... I changed the code so I am able to add command-line arguments for the ID number of the MiniProg3... I hard-code the name of the hex file.  One problem... I'm not able to run two of these at once.  I have two PSoC 5's on my board and it would be nice to run two at once... looks like I'm going to have to do them sequentially.  Should I be able to run two COM Cpp_Ex.exe sessions at the same time, pointing to different ?

            • 3. Re: ppcli.exe example for psoc 5?
              hima

              Hello Stephen,

                 

              I don't think you can program the two devices at the same time using the same application. I believe using different applications it might be possible.But we have not tested this scenario.It looks like it will work. Did you get a chance to test this?

                 

              Thanks,

                 

              Hima

              • 4. Re: ppcli.exe example for psoc 5?
                stephen.cowell
                        Hima, I'm having to program them one after the other... this works OK, no problem.   
                • 5. Re: ppcli.exe example for psoc 5?
                  user_5289799

                  Is there an example for the PSoC5 yet?
                  I'm trying to program the 5LP eval board which uses the Kitprog. Setting protocol 8 results in complaint that the device is not in ISSP mode, setting protocol 2 alieviates this, but causes a no-response.

                     

                  Could someone supply an example sequence, thanks. (or this only possible with a miniprog?)

                  • 6. Re: ppcli.exe example for psoc 5?
                    user_5289799

                    Ok, looks like I need to do a DAP_Acquire rather than an Acquire, but now there's the Erase and Program to deal with?

                    • 7. Re: ppcli.exe example for psoc 5?
                      p.vanderzwet.2622386

                      Hi, i am currently at the same point in atempting to make a script for production to eazy program a CY8C5xxxLP family chip. Do you perhaps already have some results?

                         

                       

                         

                      I've also tried is via the 'CommandLineProgrammer.exe' but the moment i start the .exe, windows prompts a 'JtagChainProgrammer' stopped working...