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
  1. Once youve done modification and compilation, just press load icon in Flash/Download, you can update your code by JLink immediately.