Hello.
I am wondering how can I flash both the PSoC 6 M0+ and M4 cores using CLI ppcli.exe without the need for the PSoC Programmer GUI. I am need to do this to automate the process of flashing devices. I am already able to build the project and generate a hex file for each core using cyprjmgr.exe. The kit is connected through KitProg3, thus SWD Protocol with 10pins.
Thank you
Solved! Go to Solution.
Hi MuNa_4652896,
Please refer to Table 1-1 PSoC Programmer APIs, page 11 in the PSoC Programmer Command Line Interface Guide. You can refer to Example 1 on page 85 for reference.
You can also program the device using the example scripts provided in this directory - <PSoC Programmer installation directory>\Examples\Programming\PSoC6\SWD
Hope this helps,
Thanks and Regards,
Rakshith M B
Hi MuNa_4652896,
Please refer to Table 1-1 PSoC Programmer APIs, page 11 in the PSoC Programmer Command Line Interface Guide. You can refer to Example 1 on page 85 for reference.
You can also program the device using the example scripts provided in this directory - <PSoC Programmer installation directory>\Examples\Programming\PSoC6\SWD
Hope this helps,
Thanks and Regards,
Rakshith M B
MuNa,
Did you create your code using PSoC Creator or ModusToolbox?
If you used ModusToolbox, that are CLI utilities to do program both cores.
Len
I use PSoC Creator
MuNa,
I believe as Rakshith indicated the PSoC Programmer executable has a CLI interface that can be used in a script.
Len
Yes. Thanks for all your help.