Yahoo Groups archive

Lpc2000

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

Message

Re: Moving from 2106 to 2138

2005-07-26 by Thiadmer Riemersma (ITB CompuPhase)

That's basically it; you may also want to set the stack end in the .ld
file. Here are the top few lines from my lpc2138.ld file:

MEMORY {
   flash : ORIGIN = 0, LENGTH = 500K
   ram : ORIGIN = 0x40000000, LENGTH = 32K
   }

__stack_end__ = 0x40000000 + 32K - 4;

One thing to look out for, is that the bootloader of the LPC2138 is 12
kiB, instead of 8 kiB of the LPC2106. That is why I set the Flash
length at 500 kiB (500 + 12 for the bootloader = 512 kiB).

Thiadmer

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.