This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPC2400 Startup Fails with CRP

Hallo

Im search for a solution with the keil startup LPC2400.S with EMC enable.
I think all users with LPC24xx must have the same ISSUE.

The problem ist the asm code length and the scatter loader.

The ASM code is too long to place it between
0x0 and 0x1FC.

If I split it into 2 Parts.
Then parts of the scatter loader is placed into the
space between 0x0 and 0c1fc.

The Scatterloader then fails to boot the system.
I think a jump is out of range..

Anyone an Idea.

Thanks

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

Reset_Addr DCD Reset_Handler
Undef_Addr DCD Undef_Handler
SWI_Addr DCD SWI_Handler
PAbt_Addr DCD PAbt_Handler
DAbt_Addr DCD DAbt_Handler DCD 0 ; Reserved Address

IMPORT Undef_Handler IMPORT SWI_Handler IMPORT PAbt_Handler IMPORT DAbt_Handler IMPORT FIQ_Handler ;C FIQ_Handler im C file IMPORT _Z11FIQ_Handlerv ;C++ FIQ_Handler im CPP file

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

AREA |.text|, CODE, READONLY

EXPORT Reset_Handler
Reset_Handler
; Clock Setup ------------------------------------------------------------------ IF (:LNOT:(:DEF:NO_CLOCK_SETUP)):LAND:(CLOCK_SETUP != 0) LDR R0, =SCB_BASE

0