Thanks Dragos,
It seems alright when I run it as you said for the first time I run the program.
But when I run it again from Debug (by some debug configuration in Xilinx ISE SDK tool), it goes to either I2C fail or launching problem. I guess it should be some of my Xilinx debug configs (or XMD commands) that make problem.
let's say I ran the program as you said with no problem. Then I want to make a change in source code and compile again (without programming FPGA-HW). I usually used to send these set of commands thru XMD for Microblaze to do so:
connect mb mdm
rst
stop
and then use the debug from xilinx toolbar.
for ARM on ZC706 based on evaluate.tcl, I use:
connect arm hw
rst -processor
source ps7_init.tcl (provided that I'm on the right Path)
ps7_init
init_user
and then use the debug from Xilinx toolbar again. Debug should take care of downloading the software and run it. However, at the second time it doesn't work for me. As I said, I guess it should be some Xilinx tool debug/etc. settings. Any idea?
Best Regards,
FArid