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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
635 Views
peterpetrowich
Contributor I

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

Thanks!

Labels (1)
0 Kudos
1 Solution
473 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

1 Reply
474 Views
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!
-----------------------------------------------------------------------------------------------------------------------