in RAM mode, you need set m_text section in RAM address. for example,

thus the generated memory section in lcf file is as:
MEMORY {
m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x000001E0
m_text (RX) : ORIGIN = 0x20000000, LENGTH = 0x00010000
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
m_cfmprotrom (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010
}
I will also attach the pe file that i modifed as i am talking above.