Have you found out where exactly the code is getting stuck? (using JTAG Debugger or by some other way). If not, please create a Tech Support Case.
Even I'm finding the same issue. Would be really helpful, if you could guide me. I have raised a tech support and shared you the case