Keil Logo

ULINK: Cannot Load Flash Programming Algorithm

Information in this knowledgebase article applies to:

  • Keil MDK
  • ULINK USB-JTAG Debugger
  • NXP LPC18xx/43xx


I am using the program example provided under Application Note 272: NGX LPC4330-Xplorer: Audio Recorder and try to program the SPIFI Flash of the NXP LPC4330. 

When I try to download my application code using a ULINKpro USB-JTAG Debugger, I get the following error:

ULINK - Cortex-M Error: filename
Cannot Load Flash Programming Algorithm!


The problem occurs on slow JTAG / SW Clock settings that cause a time-out.


Open the dialog Project - Options for Target - Debug - ULINK Settings. Under the Debug tab change the setting for ULINK Max Clock: to 25 MHz.

This should solve the issue.



Last Reviewed: Thursday, November 19, 2020

Did this article provide the answer you needed?
Not Sure
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.