Keil™, An ARM® Company

Technical Support

MCB900: HELLO EXAMPLE DOES NOT WORK


Information in this article applies to:

  • MCB900 Evaluation Boards

SYMPTOM

I am using the µVision v3 - LPC Development Studio - 5.2004 and I have downloaded the example Keil\C51\Examples\LPC9xx\Hello. The LED's are flashing, however no text is printed on the UART interface.

CAUSE

The startup code (START900.A51) file is incorrectly configured and the execution of the MOVC instruction is protected. Therefore, the printf statement cannot correctly read the "Hello World" text from the Flash ROM.

RESOLUTION

Open the file START900.A51. Uncheck all options under Flash Security Configuration. This enables the execution of the MOVC instruction in the Hello example.

MORE INFORMATION

  • Philips LPC9xx User's Manual - Flash Memory - User Security Bytes
  • Refer to Example Programs in the MCB900 User's Guide.

Last Reviewed: Thursday, November 30, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure