pyocd / FlashAlgo

Framework for building Arm Cortex-M "FLM" style flash programming algorithms.
Apache License 2.0
159 stars 151 forks source link

[DO NOT MERGE] Add script to generate flash algo from pack #38

Closed c1728p9 closed 6 years ago

c1728p9 commented 6 years ago

Add a script to generate the DAPLink flash algo and target information for pack devices.

c1728p9 commented 6 years ago

This requires that cmsis-pack-manager is installed with pip (its not in pypi yet).

On first installation you need to download the pack index:

pack-manager cache -e

You can then use cmsis-pack-manager to find the device you want:

pack-manager find-part <name to search for>

And this script to build the flash algo:

python generate_blobs_from_pack.py <device name>