cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Anonymous
Not applicable
7,175 Views

Microblaze stalled on a blocking instruction or invalid bus access

Jump to solution

i have a done a hello world application using microblaze with spartan 6 lx25t  fgg484 -2 board.. i am using axi interface. while trying to run application from ddr3 microblaze stalls at  some point and throws the error that

19:24:45 ERROR : Unexpected error while launching program. java.lang.RuntimeException: Debug Operation Not Supported on the Target
MicroBlaze Pipeline Stalled on a Blocking Instruction or Invalid Bus Access
Stalled PC: 0xb800001c
Try Resetting the Processor to Continue..

at com.xilinx.sdk.targetmanager.internal.TM.downloadELF(Unknown Source)
at com.xilinx.sdk.debug.core.internal.AppRunner.run(Unknown Source)

 

i have attached the mhs and ucf file here.. 

 

how to solve this issue??

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Anonymous
Not applicable
9,277 Views

hi goran

thank u for the information.. I have solved my issue.. am using a custom board in which the DDR3 will not support soft calibration.. i found it later stage and disabled the soft calibration mode in MIG tool.. now the design is working fine.. 

 

 

thank you all for ur suppot :) :) :) 

 

regards

 

Suman

                                                        :)

View solution in original post

0 Kudos
6 Replies
Highlighted
Scholar
Scholar
7,170 Views
Registered: ‎09-05-2011
Can you check the following AR:
http://www.xilinx.com/support/answers/39667.htm
0 Kudos
Highlighted
Anonymous
Not applicable
7,150 Views

i have referred the AR and checked my design... still the same problem exists.. my design works fine with internal bram memory... but when trying to run using DDR3 the processor gets stalled.. is there any other possibilities to solve this issue.. pls help.. thanks

 

regards

suman

0 Kudos
Highlighted
Scholar
Scholar
7,148 Views
Registered: ‎09-05-2011
Can you check if you can read/write to DDR memory.

You can do this by using mwr and mrd commands in XMD console.

mwr <address> <value>

example: mwr 0x400 0x12345678

mrd <address>
example: mrd 0x400

Make sure you are giving the DDR address.

If you are unable to do these operations then issue lies in DDR.
0 Kudos
Highlighted
Anonymous
Not applicable
7,144 Views

i can read and write to DDR3 with PLB interface.. but when i use AXI interface i am not able to read and write to DDR3..

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
7,110 Views
Registered: ‎08-06-2007

Hi,

 

The PC that was reported for the stall seems to be outside any memory?

Can you try to see how MicroBlaze got to that instruction address?

 

If you check your .elf file that you are trying to execute, do you have any code at that address?

 

Göran

0 Kudos
Highlighted
Anonymous
Not applicable
9,278 Views

hi goran

thank u for the information.. I have solved my issue.. am using a custom board in which the DDR3 will not support soft calibration.. i found it later stage and disabled the soft calibration mode in MIG tool.. now the design is working fine.. 

 

 

thank you all for ur suppot :) :) :) 

 

regards

 

Suman

                                                        :)

View solution in original post

0 Kudos