
In message 000a01c4fa26$7c202840$a1b9a8c0@ZhuYong you wrote:
Now I burn the u-boot.bin into flash.
Good.
After reset the board, code stopped after some running.
Analyze the "some running" part.
I know that U-boot will copy code from flash to RAM after startup, but how do I know if the data copied correctly?
Rn the code under the debugger. You got a Trace32. This is a very expensive tool (you can get several BDI2000's for it), so make use of it. Set break points, single step etc. Use the tools you got.
If content in flash and RAM are totally different, does it mean my RAM not initialized correctly? Or they are supposed to be different?
Naybe the code just crashed before copying the code, maybe anything else happened. How could we know? It is YOU who is sitting in front of a high-tech debugger. USE IT!!
What's the possible reason to stuck at data_abort?
This can be anything. Debug your code.
Best regards,
Wolfgang Denk