Hi,
i am using FRDMk64f, KDS 2.0 and KSDK1.1.0 example. using KDS 2.0 i loaded my code using Flash option. i have Multilink universal board.
i loaded hello example code and timer example code . each have different linker file. but code was not executing why..? if i load hello example code only its working fine. if i load both code same time its not working why? linker fill will be different. this testing i am doing for bootloader and application code purpose.
hello example linker file:
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 file:
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
}
first i loaded hello code after that i loaded timer code but its not working.? if i loaded only "hello" example code its working. i am sure address was not collide with both code. can you give some idea why its not loading both code at the same time. (i mean one by one).
i added both file .SREC also. in flash demo program(or hello world program ) i am jumping to 0xFBF0 location using following function
static void (*appl_ptr)( void ) = 0xFBF0;
so i am calling "appl_ptr();" like this.(for jumbing to other application code). but its not working
regards,
sudhakar p
Original Attachment has been moved to: flash_demo_frdmk64f.srec.zip
Original Attachment has been moved to: hello_world_frdmk64f.srec.zip