Setting up registers on PXA270?
- From: Steve Conner <connermcsteve@xxxxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 03:14:49 -0700 (PDT)
Hi all
I'm currently developing a driver that will let a PXA270 running CE6
communicate with a TI floating-point DSP. I've got to the stage where
I have a dummy driver running in a debug build of CE, and I've also
used the peek and poke functions in the RedBoot bootloader to test the
interface with the hardware.
What I'm stuck on is this: Some registers in the PXA270 need changed
from their default values to make the interface work. I can't figure
out where to put the code to do this. If I put it in my driver's
XXX_Init, I suppose I need to access the registers by virtual
addresses, but I'm not sure how to do this. Is it ok to use
MmMapIoSpace() on them? I don't know if they are already controlled by
some other piece of code in the BSP that could cause conflicts.
The only alternative I can think of is to modify RedBoot so it does
the required setup before CE even loads, but I don't know if this is a
sensible thing to do.
Any thoughts much appreciated,
steve
.
- Follow-Ups:
- Re: Setting up registers on PXA270?
- From: porkingson
- RE: Setting up registers on PXA270?
- From: FoolBlah
- Re: Setting up registers on PXA270?
- Prev by Date: Cannot Load NK.BIN by 2G bytes CF storage card
- Next by Date: Re: CE 5.0 Interrupt/Scheduler Question
- Previous by thread: Cannot Load NK.BIN by 2G bytes CF storage card
- Next by thread: RE: Setting up registers on PXA270?
- Index(es):
Relevant Pages
|