cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
hbelatikar
Visitor
Visitor
480 Views
Registered: ‎03-02-2020

AXI GPIO Memory Read Error at GPIO address

Hi,

I'm trying to output a data on an AXI GPIO memory mapped pin, but whenever I try to Xil_Out32() on their address I get stuck in a DataAbortHandler loop.

hbelatikar_0-1614170215378.png

I have already added the memory address in my block design and I can also see the address in the xparameters.h file

hbelatikar_1-1614170280952.png  hbelatikar_2-1614170591281.png

 

The first 7 AXI GPIO pins (0x4120_0000 to 0x4126_0000) are working fine. Only the last two pins (0x4127_0000 and 0x4128_0000) are facing this problem. I recently update my design by adding the last two pins but I do not understand which step I've missed.

If the addresses are appearing in the xparameters.h files then why am I unable to read from them.

Any help would be appreciated.

Thanks,

hbelatikar

 

0 Kudos
2 Replies
stephenm
Xilinx Employee
Xilinx Employee
391 Views
Registered: ‎09-12-2007

The issue could be HW, if the IP are held in reset, or not clocked correctly then you will not be able to access them either.

 

To rule out a SW issue. you could try the XSCT/XSDB and do a mrd here to verify if this works

0 Kudos
hbelatikar
Visitor
Visitor
355 Views
Registered: ‎03-02-2020

Hi, 

I was facing this issue when I had copied over my Vitis workspace inside my Vivado project directory for better version control.  After going back to my original workspace, the GPIOs started to work fine. 

Is there a proper process to change workspace directories? I exported the Vitis project and imported it to the new directory I had created.

I tired to do the mrd using the xcst/xsdb but it gave me the same error.

0 Kudos