1.5 KiB
1.5 KiB
FLM configuration for flash programming interface in Keil MDK
Below mentions how to enable 'load' icon to program flash via JLink in Keil MDK.
Refer to FLM_readme.docx for graphics version instrcutions
-
Copy
KL520-W25Q256JV-scpu.FLMandKL520-W25Q256JV-ncpu.FLMto C:\Keil_v5\ARM\Flash -
Settings for NCPU projects
-
Set ncpu project as active project, and then open Option for Target\Utilities\Settings
-
Set Flash download settings as following
- For Download Function, check:
- Erase Sectors
- Program
- Verify
- Reset and Run
- For RAM for Algorithm:
- Start: 0x20200000
- Size: 0x8000
- For Download Function, check:
-
add
C:\Keil_v5\ARM\Flash\KL-520-W25Q256JV-ncpu.FLMto be the Programming Algorithm.
-
-
Settings for SCPU projects
- set scpu project as active project, open Option for Target\Utilities\Settings,
-
Set Flash download settings as following,
- For **Download Function**, check: - Erase Sectors - Program - Verify - Reset and Run - For **RAM for Algorithm** - Start: 0x10100000 - Size: 0x1000- add
C:\Keil_v5\ARM\Flash\KL520-W25Q256JV-scpu.FLMto be the Programming Algorithm
- add
- Once you’ve done modification and compilation, just press ‘load’ icon in Flash/Download, you can update your code by JLink immediately.