- Notifications
You must be signed in to change notification settings - Fork154
Framework for building Arm Cortex-M "FLM" style flash programming algorithms.
License
pyocd/FlashAlgo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Framework for building Arm "FLM" style flash programming algorithms.
Before you consider adding a flash algo here, you might wish to check if an open source flash algo already existsfor your device or a similar device. Many of the FLM flash algos included in CMSIS Device Family Packs (DFPs) come with source code. For instance, the Keil DFPs include sources.
You can download a DFP for your device from the official CMSIS-Pack list:by pack orby part number.
DFPs extract as zips (change the extension). For the DFPs created by Keil, .FLM algos and code are under./CMSIS/Flash/
. Other vendors may have algos in a different folder, and may or may not include source.
Skip any step where a compatible tool already exists
- InstallPython 3.6 or later and make sure it's added to path
- InstallGit and make sure it's added to path
- Install a supported toolchain:
- Install GNU Make.
$ git clone https://github.com/mbedmicro/FlashAlgo$ python3 -mvenv venv$ source venv/bin/activate$ pip install -r requirements.txt
- Update tools and generate project files. This should be done everytime you pull new changes
$ progen build -t make_gcc_arm
Add the project name(s) to the command if you only want to build a limited set of projects. You can list available projects withprogen list -f projects.yaml projects
.
$ progen generate -t uvision$ tools\launch_uvision.bat
Now open the project file for the desired target in.\projectfiles\uvision\<target>\
To change the RAM base address to something other than the default value of 0x20000000, add the argument--blob_start <hex-ram-address>
in "Projects ❱ Options ❱ User ❱ After Build/Rebuild section of the µVision project.
For adding new targets start from template and use these docs...
We welcome contributions! Please see thecontribution guidelines for detailed requirements.In order to foster a healthy and safe community, all contributors are expected to follow thecode of conduct.
To report bugs, pleasecreate an issue in the GitHub project.
About
Framework for building Arm Cortex-M "FLM" style flash programming algorithms.
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.