Is there a proper example for using command line with psoc 5? Probably not, right? Because of the turgid UI?
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.
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 ?
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?
Hima, I'm having to program them one after the other... this works OK, no problem.