03-05-2015 04:27 PM
I am very new to using Zynq. I am working through a video tutorial at the moment. It is on Youtube under XilinxInc and it is called Building a Hardware and Software Project | Targeting the Zynq ZC702 Evaluation Kit.
I am using the Digilient Zybo development board which has the Zynq XC7Z010-CLG400 chip onboard instead of the Zynq ZC702 Evaluation Kit . I have been able to follow the tutorial up to that part where the instructor programs the FPGA (17mins 35secs) but I get the following error:-
Unexpected error while launching program: Error while running ps7_init method.
Cannot Read from target
MMU section translation fault
I have found people with the same error on this forum (plus I have Googled it) but there does not appear to be a definitive solution. As I read through the replies the suggestions given are very vague and do not seem to match my problem.
Can anyone point me in the right direction please? If you need me to give more information please ask.
03-05-2015 04:43 PM
03-05-2015 06:41 PM
05-07-2015 07:23 AM
@bwiec: I am also getting the same error. My board is Zybo from digilent and the IC # is XC7Z010CLG400. I changed the boot option from SD to JTAG , however it didn't help. Additionally, I also tried QSPI , it didn't help either. I am trying the example 4A of "The Zynq book Tutorials". The Program FPGA step is successful, however when I try to Launch it on the Hardware (GDB) the error prompt comes up. It says "Unexpected error while launching program: Error while running ps7_init method. Cannot read from target
MMU section translation fault".
SDK version is 2014.4.
PC is 64 bit , Windows 8.1
05-07-2015 12:18 PM
The only cause that I know of for this error is that something is still booting an OS that uses the MMU. If nothing has booted and you try to run PS7_INIT, it should work fine. The PS7_INIT accesses the PS registers via physical addresses. Before the processor boots its OS, this is okay running baremetal. If you try to run ps7_init once, say, linux is booted (which uses MMU for memory virtualization), you'll get this message since you can no longer use physical addresses.
06-12-2015 01:30 AM
Thanks, it helped me.
On the microZed board, the solution was effectively to put jumper JP1, JP2,JP3 to boot on JTAG.
01-01-2016 03:24 PM
I had this same problem on a Diligent ZYBO board. As opposed to the documentation (which said have the boot jumper on "QSPI'), the jumper should be on "JTAG". Works everytime, now...
07-31-2016 08:58 AM
Thank you very much for your comment on the jumper. Changing jumper setting to JTAG works very well.
05-02-2019 03:56 AM
I am facing the issue
Unexpected error while launching program: Error while running ps7_init method. Cannot write to target Cannot access JTAG-DP: invalid ACK value (0x00, expected=0x02) Error Address = 0xf8000778