Re: Re: u-boot & uImage on M5282LITE
Allon Stern <[email protected]> Wed, 16 Apr 2008 12:56:03 -0400
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
On Apr 15, 2008, at 12:41 AM, Loren A. Linden Levy wrote: > > Well I think I figured this out, I needed to assign all 32 bits i.e. > > CSAR5=0x30000000 CSAR is a 16 bit value. You should do a 16 bit write at that address. I've been playing (alas, no success just yet) with talking to my device - I'm just using u-boot to examine the memory space - no OS loaded on this thing just yet. You might try this in u-boot too: mw.w 0x400000BC <base address you want to use> mw.w 0x400000C4 0x3d00 mw.l 0x400000C0 0x00010001 Note that the top two are word writes, and the bottom is a long write. I'd think that you don't want to mark the chip select as valid (low bit set on CSMR) until you've set up the other two registers. hth - allon --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list.