gta...@gmail.com
unread,Apr 5, 2013, 7:19:31 AM4/5/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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