* [U-Boot] How the ORx in MPC8641d soc Registers are filled?
[not found] ` <523B06E2.1030401@gmail.com>
@ 2013-09-19 15:13 ` York Sun
0 siblings, 0 replies; only message in thread
From: York Sun @ 2013-09-19 15:13 UTC (permalink / raw)
To: u-boot
On 09/19/2013 07:14 AM, Ashish wrote:
> On Thursday 19 September 2013 11:50 AM, sun york-R58495 wrote:
>> On Sep 18, 2013, at 9:54 PM, Ashish wrote:
>>
>>> York,
>>> I am trying to understand how the fields of ORx registers are
>>> filled. I am using MPC8641-HPCN board for evaluation purpose. In this
>>> i am trying to connect a 16MB size 32 bit-port size Nor flash
>>> (2xAT49bv6416). I am using Code Warrior for Bring up process. I have
>>> tried to search for the fields how they are calculated but i get only
>>> values not the way they calculates. Any thing/pointer that helps me
>>> to explore how ORx register is filled would be very helpful.
>>>
>>> --
>>> --with Regards
>>> Ashish Khetan
>>>
>> Ashish,
>>
>> There isn't much to calculate. Do you have access to the reference
>> manual? It is available on www.freescale.com. Once you know the device
>> type and physical connection, you are pretty much fixed with most
>> fields. You only need to get the timing to match the bus speed and
>> device speed.
>>
>> York
>>
>>
> Thanks York,
> Can i ask you to explain more about the ORx register? How the Timing
> values are calculated?
> Because The flash is connected using chip-select0 through Local bus
> controller. I am getting only read from the flash but its not getting
> erase/reprogrammed.
> I used the following Register configuration:
> SYSCLK is 100Mhz, MPX 400Mhz, CORE 800Mhz
> BR0 FF001801
> OR0 FF006FF7
> LBCR 00000000
> LCRR 80000008
> So the Local Bus is working at 25Mhz.
>
Ashish,
Your OR0 sets to slowest speed, so it should work. But I noticed you
said and set the size to 16MB. Are you replacing the on-board NOR flash
with the one you mentioned? I didn't check the spec of the part number.
But if you did replace with a twice sized flash chip, you need to get
the address signal connected. I don't believe MPC8641HPCN board has
spare address line connected.
York
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-09-19 15:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <523A83A2.6060703@gmail.com>
[not found] ` <02EB1647-E534-4B8C-BE11-AFF488B019F0@freescale.com>
[not found] ` <523B06E2.1030401@gmail.com>
2013-09-19 15:13 ` [U-Boot] How the ORx in MPC8641d soc Registers are filled? York Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox