- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Rakshith M B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use PSoC Creator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MuNa,
I believe as Rakshith indicated the PSoC Programmer executable has a CLI interface that can be used in a script.
Len
"Engineering is an Art. The Art of Compromise."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. Thanks for all your help.