hi,
i am using FRDMk64, KDS 2.0 and KSDK 1.1.0 example.
actually my code should work following method.
just assume 2 example code( hello word and timer example code).
this both code will have separate linker file setting, i want to jumb from hello word example to timer example code.
so for that which type of linker file setting i want to do..?
i tried following setting but its not working..
hello example linker setting:
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00000410, LENGTH = 0x0000FBF0
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00030000
}
timer example linker setting:
MEMORY
{
m_interrupts (RX) : ORIGIN = 0x0000FBF0, LENGTH = 0x00000400
m_flash_config (RX) : ORIGIN = 0x0000FFF0, LENGTH = 0x00000010
m_text (RX) : ORIGIN = 0x00010000, LENGTH = 0x000EFBF0
m_data (RW) : ORIGIN = 0x1FFF0000, LENGTH = 0x00010000
m_data_2 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00030000
}
in hello example code i am calling following function for jump into timer ex
.code
static void (*appl_ptr)( void ) = 0xFBF0;
i am caling appl_ptr();
i am loading both code throught PE multilink device. but nothing was working. hello example also not working.
can you give some idea.
regards,
sudhakar p