Keil Logo

ULINK: CANNOT LOAD FLASH PROGRAMMING ALGORITHM


Information in this article applies to:

  • ULINK USB-JTAG Adapter
  • ULINK2 USB-JTAG Adapter
  • Development Tools for ARM Version 2 or higher

SYMPTOM

Downloading to on-chip Flash on an LPC2000 device results in the following error messages:

Can't Load Flash Programming Algorithm!"

and

Can't Write to RAM for Flash Algorithms!
Erase Failed!

The Debug and Flash Target driver is the ULINK ARM Debugger and the Programming Algorithm settings appear to be correct.

CAUSE

The ULINK ARM Debugger needs to access RAM for loading the Flash programming algorithms to the device.

RESOLUTION

The programming algorithm depends on the device. For example, when you are using the MCB2100 board with the Philips LPC2129 device, you need to select the algorithm as described below:

  1. Open the dialog Project — Options — Utilities.
  2. Select ULINK ARM Debugger and click Settings to open the Flash Download Setup dialog.
  3. In the Flash Download Setup dialog use the button Add and select the programming algorithm LPC2000 256KB Flash.
  4. Specify under RAM for Algorihtm Start: 0x40000000 and Size: 0x0800 since this is the valid address range for the RAM.

It is important that you setup the RAM for Algorithm to an available on-chip RAM space. The area shown above is correct for the Philips LPC2000 devices but it may be different for other devices.

MORE INFORMATION

SEE ALSO

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Friday, September 28, 2018


Did this article provide the answer you needed?
 
Yes
No
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.