[ECOS] PowerPC hangs on memory read
Andrew Lunn
andrew@lunn.ch
Fri Jun 18 07:48:00 GMT 2004
> 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
More information about the Ecos-discuss
mailing list