RTX kernel application/bootloader problem

hello,
i want to use two independent program in LPC2387 flash program
, both with RTX kernel and switch between them with this command:

#define AP_ADDR 0x10000
typedef void(*FP)(void);

void Run_Application(void)
{ FP fp;

fp = (FP)AP_ADDR;
(*fp)();
}

the "Read/Only Memory Access" of one is 0x0 and another is 0x010000.
everything is ok when the IRAM area of both program is same. when the ram area
of two program is independent, the second program not run? why?
thenk you for your interest.

More questions in this forum