Flash programming: Is RAM required on the target board to load the flash driver or can the cache in a P4080 be used?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Flash programming: Is RAM required on the target board to load the flash driver or can the cache in a P4080 be used?

跳至解决方案
821 次查看
peterpetrowich
Contributor I

Id the cache can be used, how do I do that?

Thanks!

标签 (1)
0 项奖励
回复
1 解答
659 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Peter Petrowich,

CodeWarrior provides SRAM initialization file P4080DS_init_sram.tcl in CW_PA_<version>\PA\PA_Support\Initialization_Files\QorIQ_P4 to configure internal CPC as SRAM to avoid using DDR.

If you use the recent released CodeWarrior, when creating a bareboard project following new project wizards, please select "Download SRAM" or "Connect SRAM" launch configuration, then use it to connect to the target board.

Another method, you could configure CodeWarrior initialization file as <installation folder>\CW_PA_<version>\PA\PA_Support\Initialization_Files\QorIQ_P4\P4080DS_init_sram.tcl from Run->Debug Configurations-><project>-core00_RAM_<processor>_Download(Connect)->Edit->Edit->Initialization->Initialize target script.


Have a great day,
Yiping

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

在原帖中查看解决方案

1 回复
660 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Peter Petrowich,

CodeWarrior provides SRAM initialization file P4080DS_init_sram.tcl in CW_PA_<version>\PA\PA_Support\Initialization_Files\QorIQ_P4 to configure internal CPC as SRAM to avoid using DDR.

If you use the recent released CodeWarrior, when creating a bareboard project following new project wizards, please select "Download SRAM" or "Connect SRAM" launch configuration, then use it to connect to the target board.

Another method, you could configure CodeWarrior initialization file as <installation folder>\CW_PA_<version>\PA\PA_Support\Initialization_Files\QorIQ_P4\P4080DS_init_sram.tcl from Run->Debug Configurations-><project>-core00_RAM_<processor>_Download(Connect)->Edit->Edit->Initialization->Initialize target script.


Have a great day,
Yiping

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