02-23-2021 11:14 PM
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.
I have already added the memory address in my block design and I can also see the address in the xparameters.h file
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.
03-01-2021 08:23 AM
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
03-02-2021 09:37 PM
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.