Zynq board - downloaded program data in the board's DDR is wrong
I did a simple hello world project on a new zybo to test the functionality, but it didn't work. Here's what I've done:
After exporting hardware and creating sdk projects, I downloaded the bitstream & program into zybo as usual. But the board wouldn't run the program normally(It didn't terminate and print helloworld). So I debugged the board using xsdb, and found out that disassembly result is not the same as elf file displayed in SDK.
Data at start point 0x100000 is 0xea020049; however, sdk shows that the data should be 0xea000049, as shown in the second picture. If I keep on stpi, since it goto the wrong place, CPU would finally goto infinite loop. xsdb commands: