ARM Technical Support Knowledge Articles

PROBLEMS WITH PROGRAM EXAMPLES

Applies to: MCB900 Evaluation Board

Answer


Information in this article applies to:

QUESTION

When I use the Keil MCB900 with the program examples (like KeilC51ExamplesLPC9xxBlinky supplied on the LPC Development Studio - 5.2004 CD-ROM) it does not execute correctly on the hardware. However, the ISD51 example seems to work. When I execute the program in the µVision Debugger/Simulator, I get the following error:

*** ERROR 65: access violation at C:0x1E00: no 'execute/read' permission

Can you give me any solution for this problem?

ANSWER

The START900.A51 file is misconfigured and, due to a recent enhancement of FlashMagic, the configuration bytes are programmed by default to the LPC900 Device. To correct this problem set the following values in the START900.A51 file:

Set Flash Security Configuration to default:
SEC0 EQU 0
SEC1 EQU 0
.   .
.   .
.   .
SEC7 EQU 0
Disable In-System Programming (ISP) power-up:
BOOTSTAT EQU 0

You may download the correctly configured START900.A51 file from the Keil website. As an alternative, you may download the LPC900 Version 07.2004 Product Update, which also corrects this problem, from the Keil website.

MORE INFORMATION

SEE ALSO

Article last edited on: 2007-01-18 14:31:42

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