flash programming 256M change 512M

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

flash programming 256M change 512M

782件の閲覧回数
威杨
Contributor III

Hello

   I use code warrior10.4.0, i use it download uboot,i use it base mpc8309SOM,previous nand is NAND02GGW-eLBC,refer to 8309SOM_NAND.xml,but i use MT29F4G08ABADA-eLBC,no .xml file,i modify the 8309SOM_NAND.xml,but it not working,who can give me some advises.

Thanks.

ラベル(1)
0 件の賞賛
5 返答(返信)

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

Hello wei yang,

You need to modify CodeWarrior initialization file to make it suitable for your new flash device.

Please modify the following sections in the file C:\Freescale\CW_PA_v10.4.0\PA\PA_Support\Initialization_Files\83xx8309SOM_init_core.tcl.

1. Please modify LAW(Local Access Windows ) for NOR Flash(begging address and LAW size).

2. Please modify BR0 and OR0 registers configuration in the section "Local Bus Interface (LBIU) Configuration", please refer to MPC8309 reference manual for how to configure these two registers.

3. If you use different DDR on your target than MPC8309SOM, please also modify DDR2 Controller configuration section.


Have a great day,
Yiping

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

0 件の賞賛

643件の閲覧回数
威杨
Contributor III

Thanks for your answer,but can't solve my problem,LAW,BR0,BR1 no refer flash size ,only flash base addr and boot from where. i previous use uboot can normal boot ,but i use 512M LAW.BR0.BR1 not need modify, please give some others  advices .

THANKS.

0 件の賞賛

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

Please provide the log of flash programming.

Thanks,

Yiping

0 件の賞賛

643件の閲覧回数
威杨
Contributor III

Thanks for your answer, i think should modify C:\Freescale\CW_PA_v10.4.0\PA\bin\plugins\support\TargetTask\Flash_Programmer\83xx\8309SOM_NAND.xml.i only see about flash size,i modify it ,name 8309SOM_NAND512.xml.could you tell me modify it like this wrong or right ?

8309SOM_NAND.xml

<?xml version="1.0" encoding="UTF-8"?>
<TargetTaskFramework GroupFullPath="Root\SimpleFlashTemporary">
<Element Type="TargetTask">
<TargetTask ContextIndex="0" ExecutionContextName="LC for Simple Flash" ProviderIndex="0" TaskName="8309SOM_NAND" TaskProvider="Flash Programmer for Power Architecture">
<TaskConfiguration Actions_Count="0" Add_Device_Dialog_Default_Platform="0" Buffer_Address="8192" Buffer_Size="393216" Flash_Base_Address_0="0" Flash_Device_Name_0="NAND02GW-eLBC" Flash_Device_Organization_0="256Mx8x1" Flash_Devices_Count="1" Flash_Top_Address_0="268435455" Verify_Memory_Writes="false"/>
</TargetTask>
</Element>
</TargetTaskFramework>

8309SOM_NAND512.xml

<?xml version="1.0" encoding="UTF-8"?>
<TargetTaskFramework GroupFullPath="Root\SimpleFlashTemporary">
<Element Type="TargetTask">
<TargetTask ContextIndex="0" ExecutionContextName="LC for Simple Flash" ProviderIndex="0" TaskName="8309SOM_NAND.xml" TaskProvider="Flash Programmer for Power Architecture">
<TaskConfiguration Actions_Count="0" Add_Device_Dialog_Default_Platform="0" Buffer_Address="8192" Buffer_Size="393216" Flash_Base_Address_0="0" Flash_Device_Name_0="NAND04GW-eLBC" Flash_Device_Organization_0="512Mx8x1" Flash_Devices_Count="1" Flash_Top_Address_0="536870911" Verify_Memory_Writes="true"/>
</TargetTask>
</Element>
</TargetTaskFramework>

THANKS

 

0 件の賞賛

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

You didn't specify the correct Flash Device Name, as you mentioned previously, you use MT29F4G08ABADA-eLBC.


If your problem remains, please provide the console log of flash programmer and CW initialization file.



Thanks,

Yiping

0 件の賞賛