.elf file generated in arduino for MK20DX256VLH7 is not working.

I am creating a .elf file from Arduino for MK20DX256VLH7 and when burning through Ulink2 via SWD mode using Keil Uversion5 its getting downloaded properly but not getting expected result.

As I know Keil burns .axf file but .axf is also ELF format. Below is the link kindly verify.
http://www.keil.com/support/docs/1774.htm

Kindly let me know where I am going wrong or what steps I need to take to get the expected output.

Even I have .hex file from Arduino if in case it needed.

More questions in this forum