This is the mail archive of the ecos-discuss@sources.redhat.com 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: PowerPC hangs on memory read


> 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


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