This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SIGSEGV while writing through PCI to Ethernet board IO space


On Thu, Feb 08, 2007 at 11:15:39AM +0100, Guillaume Menant wrote:
> I?ve integrated a PCI driver for AT697E (LEON2) and now I?m trying to use a
> PCI Ethernet board (RHINE III) using the eCos Rhine drivers (this drivers
> have not already been used on Rhine III).
> ?
> The problem comes after the configuration of the Ethernet board. I?m trying
> to write to IO space (located at 0x01000000 in PCI space and at the same
> address in CPU space) and a SIGSEGV error pops up.
> ?
>        The macro used is the following one: HAL_PCI_IO_WRITE_UINT8.
> ?
> Where can it come from? 

Does your board have an MMU?

Does the MMU know it is legal to write to that address?

     Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]