- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
To get PSoC 4200 series supported with Daplink + pyocd, we need a "pack file" for it.
I'm told that psoc creator has a way to generate this, but need some guidance how to do it.
CMSIS-Pack documentation: https://arm-software.github.io/CMSIS_5/Pack/html/index.html
- .pdsc file format (XML): https://arm-software.github.io/CMSIS_5/Pack/html/packFormat.html
- Debug sequences: https://arm-software.github.io/CMSIS_5/Pack/html/debug_description.html
- Flash algo: https://arm-software.github.io/CMSIS_5/Pack/html/flashAlgorithm.html
thanks
David
related topic:PSoC 4 + Daplink / PyOCD?
Solved! Go to Solution.
- Tags:
- daplink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello David,
To generate the CMSIS-PACK please right click on the Project in PSoC Creator > Export to IDE > Generated CMSIS-Pack > Specify the necessary versions and name for the pack > Export. Please see Help > PSoC Creator Help Topics > "Exporting a Design to Generated CMSIS-Pack" for more information.
A folder named Export will be created in your project folder that will contain the required CMSIS-Pack.
Hope this helps
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello David,
To generate the CMSIS-PACK please right click on the Project in PSoC Creator > Export to IDE > Generated CMSIS-Pack > Specify the necessary versions and name for the pack > Export. Please see Help > PSoC Creator Help Topics > "Exporting a Design to Generated CMSIS-Pack" for more information.
A folder named Export will be created in your project folder that will contain the required CMSIS-Pack.
Hope this helps
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
Thanks,
my plan is to use it with PyOCD to be able to flash PSoC 4L's from linux & mac via standard ARM DapLink.
Do you know if the pack file generated is generic to the psoc family selected in the project, i.e. 4200 series.
...or is it explicit for one specific part-number (i.e. flash & ram config) !?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
I ran across these when googling...
cmsis-packs/PSoC4_DFP at master · cypresssemiconductorco/cmsis-packs · GitHub
looks like this is what we need. any change to get these for psoc 5LP as well?
related question: do you know if the packs above include the debug sequence logic?
ref: Debug Description
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Noted that the SVD files are missing in the export,
and in the official CMSIS pack, only psoc 4100 seems part of it, see below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSoC Creator exported projects use custom generated CMSIS packs. You cannot use the packs found in Github. Those packs were created only for devices supported in mtb-pdl-cat2 (PSoC4) library used in ModusToolbox. This is why you don't see PSoC4200L devices.
Regarding svd files in the custom generated packs, yes, we don't seem to bundle it in the export package. I have passed this query to the software team for evaluation.
I have attached the required svd file with this post
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Perfect, thanks Dheeraj,
Hope to see these in the official github as well and please also ask the team if they can add it to the official pyocd repo.
The PSoC 4200 is still a great series that would be nice to get support for
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Agreed! I have passed this request to the software team for evaluation. Thank you for your interest in Cypress products
Regards,
Dheeraj