Hi,
I wonder if you can explain to me what is going on when I try and run a program on the zedboard.
The scenario that works is (from board power up):
1.tLaunch the SDK from Vivado.
2.tProgram the FPGA.
3.tRun a program (using the Xilinx C/C++ application (GDB)) that accesses a few memory mapped registers in the PL.
4.tNow launch another program from the command line using xmd:
source proc/hw_platform_0/ps7_init.tcl
connect arm hw
ps7_init
fpga -f output/arm_subsystem_wrapper.bit
rst -processor
dow proc/test/Debug/test.elf
run
This all works fine.
The scenario that doesnu2019t work is (from board power up):
1.tUse xmd to run a program from the command line using xmd:
source proc/hw_platform_0/ps7_init.tcl
connect arm hw
ps7_init
fpga -f output/arm_subsystem_wrapper.bit
rst -processor
dow proc/test/Debug/test.elf
run
This doesnu2019t work. Itu2019s as if the SDK is running something else too other than just the application elf file that does some start-of day configuration stuff. I am running a baremetal application (using the helloworld example target). If I take out the FPGA register reads the second scenario works (essentially just doing print(u201CHello World
ru201D);)
Any ideas? I think to have a viable Zynq flow we really need a way of building and launching from the command line without having to involve the SDK.
Regards,
Scott