I am trying to get JTAG debug setup working on mx50 EVK using Realview tools(RVDS+RVICE+ARM WB). Followed the steps in IMX50SDG.pdf to setup JTAG scan chain manually and it works. I am able to view ARM registers and initialize the DDR using the .inc file generated using MX508_DDR2_register_programming_aid_v0.5.xlsx. Now, tried compiling a sample program using ARM WB and tried loading the.axf image using RVD on to target. But the target raises an exception due to invalid memory access. Looks like there is some issue with the linker commands. Does anyone know how to write linker/scatter loading file for armlink or is there a ld file available already for i.MX50 for this toolchain?