2025-12-17 15:55:25 +08:00

54 lines
1.5 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
1. Copy `KL520-W25Q256JV-scpu.FLM` and `KL520-W25Q256JV-ncpu.FLM` to C:\Keil_v5\ARM\Flash
2. 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
- add `C:\Keil_v5\ARM\Flash\KL-520-W25Q256JV-ncpu.FLM` to be the Programming Algorithm.
3. 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.FLM` to be the Programming Algorithm
4. Once youve done modification and compilation, just press load icon in Flash/Download,
you can update your code by JLink immediately.