Alternative Algorithm Functionality

Once you create a project for a specific Kinetis microprocessor, the debugger specifies a default algorithm to use during all Flash programming operations. The debugger uses this algorithm for nearly all programming requirements. The default algorithm can be found in the <CW_Install>/MCU/bin/plugins/support/ARM/gdi/P&E directory

However, you can override the default algorithm via the Alternative Algorithm function, located in the Advanced Programming/Debug Options menu. This feature can be used to select a custom programming algorithm, or select another one of P&E's many programming algorithms for use with a specific project.

Tip: Selecting a wrong programming algorithm may damage your device, lead to under/ over programming situations, or simply not program portions of the project file.

Therefore it is recommended to use the default algorithm unless there is a compelling reason to do otherwise.

Use these steps to override the default algorithm:

  1. Check the Use Alternative Algorithm checkbox.
    Figure 1. Advanced Options - Alternative Algorithm Checkbox
    Advanced Options - Alternative Algorithm Checkbox
  2. Click the Choose Alternative Algorithm button, which lets you browse for an alternative algorithm.
  3. Once you select the alternative algorithm, the name of the algorithm along with its full path appears in the text field below the Choose Alternative Algorithm button.

At this point, the current project performs all future Flash programming operations using the alternative algorithm. You may revert to the default algorithm at any time by clearing the Use Alternative Algorithm checkbox.