How to access NOR-FLASH (eLBC) P3041

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to access NOR-FLASH (eLBC) P3041

1,370件の閲覧回数
cloviscosta
Contributor I

Hi,

I have a customized hardware with processor P3041 (based Hydra board development) and i need to access Nor-Flash (eLBC).

How to define the direct access to NOR-FLASH?

What´s the base address to start my RCW Write process?

Thanks.

Clovis C. Costa

ラベル(1)
タグ(2)
0 件の賞賛
返信
7 返答(返信)

800件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Clovis,

It is needed to setup LAW(Local Access Windows) for eLBC controller to allocate a memory range for NOR flash, you could refer to chapter 2 of P3041RM.  RCW is often located at the beginning of NOR Flash. You also need to define MMU TLB entry to define the memory map between the effective address and physical address, software will use the effective address.  If you use CodeWarrior to program NOR Flash, LAW and TLB setting have been done in CodeWarrior initialization file. You also could boot the target from SD card, then under u-boot to program NOR Flash, you need to use effective addresses defined in u-boot.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

800件の閲覧回数
cloviscosta
Contributor I

At moment i need to know "how to define this address" because I´ve a ICE2 tools and will use it to write my RCW (default) at NOR-Flash (eLBC).

0 件の賞賛
返信

800件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello CLOVIS,


I am not familiar with Wind River ICE2 and trace 2, but I think it should be like CodeWarrior containing initialization file to set up LAW, MMU and configure  eLBC controller, then the flash programmer program could access NOR Flash with the effective address defined in the initialization file.


The attached is CodeWarrior initialization file, please have a reference.



Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

800件の閲覧回数
lunminliang
NXP Employee
NXP Employee

Is your flash empty? Or you have already working U-Boot and you just want to rewrite RCW?

0 件の賞賛
返信

800件の閲覧回数
cloviscosta
Contributor I

My NOR-Flash is empty!!! I will start first steps to write NOR-Flash (eLBC)

0 件の賞賛
返信

800件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Hello Clovis,

Do you have CodeWarrior TAP?

Do you want to program u-boot into NOR Flash?


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

800件の閲覧回数
cloviscosta
Contributor I

I´ve ICE2 tools and will use this tools to write my RCW code at NOR-FLASH.

U-Boot will be used at next step.

0 件の賞賛
返信