Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LynxOS 3.1.0 - Accessing a PCI device registers in PCI-IO memory

64 views
Skip to first unread message

gta...@gmail.com

unread,
Apr 5, 2013, 7:19:31 AM4/5/13
to
Hi there,

I am programming a block driver on LynxOS 3.1.0 for a PCI component (Silicon Image siI680a) and i am having issues on accessing the Internal Registers.

For project-specific reasons, I cannot use the DRM nor the PCI support facilities.

In my install entry point, I can succesfully :
- retrieve the device structure : PCIGetDevice()
- configure the different Configuration Registers : PCIWriteConf()
- map the Internal Registers : PCIMapDevice(), which gives me the virtual memory adress of these registers.

But when I try to read or write in these registers (to initialize the device for example), it does not work.
I have a Bus Error which seems to mean that the memory is not mapped properly.


Does anyone has any idea of what is wrong ?

Thanks a lot for any help !


Guillaume
0 new messages