Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Here is what was received back from the lscpi command: ... Region 0: Memory at fd000000 (32-bit, non-prefetchable) --- Quote End --- Ok, so you have a window with an address range of 0 to 7FFFFh. --- Quote Start --- The data that is read back from address offsets 0x00 - 0x0C when the read back data type is expected in 32 bit unsigned integer (word) form is: Address offset Data 0x00 : 0x000000CC 0x04 : 0x000000BB 0x08 : 0x000000AA 0x0C : 0x00000099 --- Quote End --- See, here's where the addressing is confusing. Qsys should have an address map per master, however, it does not. edit: actually, it does have an address map per master option, its just not that obvious, as you cannot enter the per-master addresses under the 'system contents' tab base/end columns, you have to enter them under the 'address map' tab.
You indicate your registers were located at 0x28000. Can you please try accessing them at this offset into the BAR? By accessing them at offset 0, you are actually accessing an alias of the registers created by some incomplete decoding of the Qsys fabric. Cheers, Dave