Hi,
I was looking at the lpc2400.s startup code and I saw that the offset values for EMC_DYN_CFG1_OFS until EMC_DYN_RASCAS3_OFS are wrong at my opinion. you can see the registers like EMCDynamicConfig0 in the datasheet.
it is:
EMC_DYN_CFG0_OFS EQU 0x100 EMC_DYN_RASCAS0_OFS EQU 0x104 EMC_DYN_CFG1_OFS EQU 0x140 EMC_DYN_RASCAS1_OFS EQU 0x144 EMC_DYN_CFG2_OFS EQU 0x160 EMC_DYN_RASCAS2_OFS EQU 0x164 EMC_DYN_CFG3_OFS EQU 0x180 EMC_DYN_RASCAS3_OFS EQU 0x184
it must be:
EMC_DYN_CFG0_OFS EQU 0x100 EMC_DYN_RASCAS0_OFS EQU 0x104 EMC_DYN_CFG1_OFS EQU 0x120 EMC_DYN_RASCAS1_OFS EQU 0x124 EMC_DYN_CFG2_OFS EQU 0x140 EMC_DYN_RASCAS2_OFS EQU 0x144 EMC_DYN_CFG3_OFS EQU 0x160 EMC_DYN_RASCAS3_OFS EQU 0x164
this startup file is provided by KEIL with each example of MCB2400.
I also saw that the offset value EMC_STA_EXT_W_OFS is wrong, but this is corrected in the new KEIL (I have mdk 4.11)