This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: PowerPC hangs on memory read
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Anthony Tonizzo <atonizzo at lycos dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 18 Jun 2004 09:36:12 +0200
- Subject: Re: [ECOS] PowerPC hangs on memory read
- References: <IANLJMHABNLHPKAA@mailcity.com>
> The inner loop that performs the reads looks like this:
>
> address = PCMCIA_ATTRIBUTE_ADDR + i;
> HAL_READ_UINT16( address, cis_content );
>
> and the hangs happens during the HAL_READ_UINT16. I looked
> at the assembler that is generated, and besides being more
> verbose, the GNU code uses an LHZ instruction for the
> read, while the Metrowerks uses an LHA, hardly a reason
> to explain the inexplicable hangup.
>
> Is there anyone that can suggest possible reasons?
You you checked the MMU setup? Maybe you don't have access to this
location?
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