Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

problems with programs larger than 4K with Keil MCB2140

2006-02-27 by nicolkb1

I am using a Keil MCB2140 with the Evaluation version of the compiler 
when my program gets over 4K there is a problem downloading to the 
device.  Here is two sample outputs of the out Build Window in the 
IDE.  The first one is successful. The next one is 8 bytes larger and 
is unsuccessful. 
Has anyone seen this before?  The compilier gives a warning about a 
16k limit.

Output 1 - successful
Build target 'LPC2100'
assembling Startup.s...
compiling Test.c...
compiling Timer.c...
compiling Sensor.c...
compiling Stepper.c...
compiling Support.c...
compiling prthead.c...
linking...
Program Size: data=1732 const=24 code=4068
".\Obj\Test" - 0 Error(s), 0 Warning(s).
Load "C:\\Keil\\ARM\\Examples\\Test\\Obj\\Test.ELF" 
Erase Done.
Programming Done.
Verify OK.

MISSING DEVICE (R003: SECURITY KEY NOT FOUND)
Running in Eval Mode
Load "C:\\Keil\\ARM\\Examples\\Test\\Obj\\Test.ELF" 
*** Restricted Version with 16384 Byte Code Size Limit
*** Currently used: 4092 Bytes (24%)


Output 2 - unsuccessful
Build target 'LPC2100'
assembling Startup.s...
compiling Test.c...
compiling Timer.c...
compiling Sensor.c...
compiling Stepper.c...
compiling Support.c...
compiling prthead.c...
linking...
Program Size: data=1732 const=24 code=4076
".\Obj\Test" - 0 Error(s), 0 Warning(s).
Load "C:\\Keil\\ARM\\Examples\\Test\\Obj\\Test.ELF" 
Erase Done.
Programming Done.
Contents missmatch at: 00001000H  (Flash=FFH  Required=1EH) !
Contents missmatch at: 00001002H  (Flash=FFH  Required=2FH) !
Contents missmatch at: 00001003H  (Flash=FFH  Required=E1H) !
Verify Failed!

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.