Hi Carlos,
Thanks for the reply. I did initialize the DDR before copying. I did find the solution for this. Instead of using physical address of DDR (0xA000_0000), I use the DDR_ALIAS address for code (0x1800_0000), then the issue goes away. I am able to step inside the function in DDR without any issue.
Thanks.
-- Tan Dinh