UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer sumanbecse
Observer
6,851 Views
Registered: ‎01-07-2014

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
Observer sumanbecse
Observer
8,953 Views
Registered: ‎01-07-2014

Re: Microblaze stalled on a blocking instruction or invalid bus access

Jump to solution

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

                                                        :)

0 Kudos
6 Replies
Scholar sampatd
Scholar
6,846 Views
Registered: ‎09-05-2011

Re: Microblaze stalled on a blocking instruction or invalid bus access

Jump to solution
Can you check the following AR:
http://www.xilinx.com/support/answers/39667.htm
0 Kudos
Observer sumanbecse
Observer
6,826 Views
Registered: ‎01-07-2014

Re: Microblaze stalled on a blocking instruction or invalid bus access

Jump to solution

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
Scholar sampatd
Scholar
6,824 Views
Registered: ‎09-05-2011

Re: Microblaze stalled on a blocking instruction or invalid bus access

Jump to solution
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
Observer sumanbecse
Observer
6,820 Views
Registered: ‎01-07-2014

Re: Microblaze stalled on a blocking instruction or invalid bus access

Jump to solution

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
Xilinx Employee
Xilinx Employee
6,786 Views
Registered: ‎08-06-2007

Re: Microblaze stalled on a blocking instruction or invalid bus access

Jump to solution

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
Observer sumanbecse
Observer
8,954 Views
Registered: ‎01-07-2014

Re: Microblaze stalled on a blocking instruction or invalid bus access

Jump to solution

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

                                                        :)

0 Kudos