Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

axis fifo giving resource unavailable error #25

Open
tomrae-eaton opened this issue Jul 10, 2023 · 5 comments
Open

axis fifo giving resource unavailable error #25

tomrae-eaton opened this issue Jul 10, 2023 · 5 comments

Comments

@tomrae-eaton
Copy link

I have the axis_stream_fifo setup.

I attempt to read the data and display it in ascii.
I can read some data which should be a counter that I am clocking in, but all I get are zeros and then I get
Failed to read from FIFO: Resource temporarily unavailable

root@platform:/apps# poke 0x41200000 1 && ./readfifo
Read 8 bytes from FIFO:
00 00 00 00 00 00 00 00
root@platform:/apps# poke 0x41200000 1 && ./readfifo
Read 8 bytes from FIFO:
00 00 00 00 00 00 00 00
root@platform:/apps# poke 0x41200000 1 && ./readfifo
Read 8 bytes from FIFO:
00 00 00 00 00 00 00 00
root@platform:/apps# poke 0x41200000 1 && ./readfifo
Read 8 bytes from FIFO:
00 00 00 00 00 00 00 00
root@platform:/apps# poke 0x41200000 1 && ./readfifo
Read 8 bytes from FIFO:
00 00 00 00 00 00 00 00
root@platform:/apps# poke 0x41200000 1 && ./readfifo
Failed to read from FIFO: Resource temporarily unavailable

I cannot read again unless I reboot.

@jacobfeder
Copy link
Owner

Not sure what you're doing with the poke command. Have you tried setting up 2 AXIS FIFOs in loopback and running the example in the apps dir?

@tomrae-eaton
Copy link
Author

tomrae-eaton commented Jul 10, 2023 via email

@jacobfeder
Copy link
Owner

so poke is doing something to trigger your IP? Not sure I'm following.

@tomrae-eaton
Copy link
Author

tomrae-eaton commented Jul 10, 2023 via email

@jacobfeder
Copy link
Owner

You can only use AXI lite interface. I would recommend something very simple for starters - configure them in a "loopback" mode so you can write data to 1 and read from the other. If that works then you can try adding back in your more complex firmware system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants