Step 1: Identify the CMSIS Pack and FLM file

  • Determine the name and version of the CMSIS Pack containing the FLM file you want to overwrite (for example,

    AIROC_DFP.1.2.0

    ).

  • Identify the name of the patched flashloader (the FLM file) you want to overwrite (for example,

    CYW208xx_SMIF.FLM

    ). This file is located in the

    <app-dir>\bsps\<Kit-Name>\config\GeneratedSource

    directory.

Step 2: Locate the destination FLM file

  • Open File Explorer and navigate to the directory: %LocalAppData%\Arm\Packs\<Pack_Name>\<Version>\Flash

  • Replace

    <Pack_Name>

    with the name of the CMSIS Pack (for example,

    Infineon\AIROC_DFP

    ) and

    <Version>

    with the version number of the CMSIS Pack (for example,

    1.2.0

    ).

  • In this directory, find the file named

    <FLM_File_Name>.FLM

    (for example,

    CYW208xx_SMIF.FLM

    ).

Step 3: Overwrite the FLM file

  • Ensure that Keil µVision and any other applications using the FLM file are closed.

  • Replace the destination

    <FLM_File_Name>.FLM

    file with the patched one you want to use.

  • Make sure to keep the same file name and extension (.FLM) to avoid any issues.

Note:

When using J-Link with µVision, the flashloaders will be taken from the CMSIS DFP. So, there is no need to replace flash loaders in SEGGER J-Link software.