[ECOS] SIGSEGV while writing through PCI to Ethernet board IO space

Andrew Lunn andrew@lunn.ch
Thu Feb 8 11:21:00 GMT 2007


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



More information about the Ecos-discuss mailing list