This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: SIGSEGV while writing through PCI to Ethernet board IO space
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Guillaume Menant <g dot menant at ayrtontechnology dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 8 Feb 2007 12:19:25 +0100
- Subject: Re: [ECOS] SIGSEGV while writing through PCI to Ethernet board IO space
- References: <009201c74b6a$155a3b40$7001a8c0@be.local>
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