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

ABOUT BAR SUPPORT #8

Closed
zr5177 opened this issue Nov 12, 2023 · 0 comments
Closed

ABOUT BAR SUPPORT #8

zr5177 opened this issue Nov 12, 2023 · 0 comments

Comments

@zr5177
Copy link

zr5177 commented Nov 12, 2023

The project doesn't seem to be able to keep the data in a register, but instead return the preset data when it receives a read request?
Because when reading the bar of a normal PCIe device, the data is continuous:
When the data is 0123456789abcdef, the 32-bit data read by offset 0 is 01234567. Offset 2 reads as 23456789.
However, this firmware only reads correctly when it is offset by 0,4,8,c, etc., and if the offset is 1, FFFFFFFFFF is returned.
There are also some special offsets, which behave like normal devices: when the offsets are xxxx3C-3F/xxxx7C-7F.
They behave the same on the old version (implemented with tlp.sv) and the new version (using PIO).
What causes this? Can it be solved? If you are willing to help me with it, I can pay for it.

@ekknod ekknod closed this as completed Nov 16, 2023
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