Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] problems with programs larger than 4K with Keil MCB2140

2006-02-27 by Sagaert Johan

hi

I guess you should set the programming algorithm to the correct flash size:

in Options for target
    tabsheet utilities
        ulink debugger settings
            -> choose a larger flash size then the one selected.

Hope this helps

Johan

  ----- Original Message ----- 
  From: nicolkb1 
  To: lpc2000@yahoogroups.com 
  Sent: Monday, February 27, 2006 5:44 PM
  Subject: [lpc2000] problems with programs larger than 4K with Keil MCB2140


  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!








  SPONSORED LINKS Microcontrollers  Microprocessor  Intel microprocessors  
        Pic microcontrollers  


------------------------------------------------------------------------------
  YAHOO! GROUPS LINKS 

    a..  Visit your group "lpc2000" on the web.
      
    b..  To unsubscribe from this group, send an email to:
     lpc2000-unsubscribe@yahoogroups.com
      
    c..  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


------------------------------------------------------------------------------



[Non-text portions of this message have been removed]

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.