ARM Technical Support Knowledge Articles

DOES NOT CONNECT, "CANNOT LOAD FLASH PROGRAMMING ALGORITHM"

Answer


Information in this article applies to:


QUESTION

I have created a new project for the LPC2368, LPC2378 (or LPC23xx) devices. However when I try to Flash download the application using ULINK2 USB/JTAG Adapter, I get strange replies such as:

Cannot Load Flash Programming Algorithm!

It seems that ULINK has a problem connecting to the device. Is this a known issue?

ANSWER

The LPC23xx and LPC24xx devices from NXP start with the on-chip oscillator at about 4MHz. Because of this, the JTAG clock must be lower than 500KHz to allow a safe connection to the ARM core.

For ULINK or ULINK2, reduce the Max JTAG Clock under Project — Options — Debug — ULINK Settings to 200KHz. With ULINK2 you may use Max JTAG Clock: RTCK which uses the RTCK line to adjust the clock automatically.

MORE INFORMATION

SEE ALSO

Article last edited on: 2009-05-11 10:18:57

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