ARM Technical Support Knowledge Articles

CANNOT LOAD FLASH PROGRAMMING ALGORITHM

Applies to: ULINK USB-JTAG Debugger

Answer


Information in this article applies to:


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

Article last edited on: 2008-02-28 07:04:05

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential