Custom board toolkit

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

Custom board toolkit

328 Views
PaulWalker
Contributor IV

Hi,

Re: CodeWarrior for PA 10.5.2

The CodeWarrior documentation contains a guide for adding board support for a custom board - 'Adding New Board Support to the CodeWarrior for Power Architecture Processors'.

The guide says (in Step 4) there are files to update here:

...\PA\PA_Tools\CustomBoardSupportToolkit\

My installation folder is empty (except for the guide document itself). Is there anything to help when adding support for a custom board? Thanks.

0 Kudos
Reply
1 Reply

299 Views
yipingwang
NXP TechSupport
NXP TechSupport

We didn't provide more information in this folder PA\PA_Tools\CustomBoardSupportToolkit\.

For porting a Freescale demo board CodeWarrior project to the custom board, the main task is porting CodeWarrior initialization file.

First the users need to follow CodeWarrior new project wizards to create a bareboard project for the demo board, they could choose Downlaod(Connect) or SRAM Connect, and SRAM Connect launch configuration is recommended to use to do flash programming. Then modify the initialization file configuration from Run->Debug Configurations->-core00_RAM__Connect->Edit->Edit->Initialization->Initialize target script.

 

Demo boards initialization files are located in C:\Freescale\CW_PA_v10.5.0\PA\PA_Support\Initialization_Files, please modify the demo board initialize file to make it suitable for the custom board.

 For example, to modify T1040RDB_init_core.tcl for T1040 custom board, the user needs to modify the section "Local Access Windows Setup", "DDR Controller Setup", "IFC Controller Setup" and "MMU initialization" sections. The QCVS tool can be used to assists DDR controller configuration. If users only want to do flash programming, they could use T1040RDB_init_sram.tcl, no need to consider about DDR configuration.

 

In addition, CW JTAG configuration file overriding RCW is often used for the empty target board(no RCW), please refer to the section "Setting up a remote system to use a JTAG configuration file" in the document C:\Freescale\CW_PA_v10.5.0\PA\Help\PDF\Targeting_PA_Processors.pdf.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2259825%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECustom%20board%20toolkit%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2259825%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3ERe%3A%20CodeWarrior%20for%20PA%2010.5.2%3C%2FP%3E%3CP%3EThe%20CodeWarrior%20documentation%20contains%20a%20guide%20for%20adding%20board%20support%20for%20a%20custom%20board%20-%20'Adding%20New%20Board%20Support%20to%20the%20CodeWarrior%20for%20Power%20Architecture%20Processors'.%3C%2FP%3E%3CP%3EThe%20guide%20says%20(in%20Step%204)%20there%20are%20files%20to%20update%20here%3A%3C%2FP%3E%3CP%3E...%5CPA%5CPA_Tools%5CCustomBoardSupportToolkit%5C%3C%2FP%3E%3CP%3EMy%20installation%20folder%20is%20empty%20(except%20for%20the%20guide%20document%20itself).%20Is%20there%20anything%20to%20help%20when%20adding%20support%20for%20a%20custom%20board%3F%20Thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2260616%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Custom%20board%20toolkit%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2260616%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWe%20didn't%20provide%20more%20information%20in%20this%20folder%26nbsp%3B%3CSPAN%3EPA%5CPA_Tools%5CCustomBoardSupportToolkit%5C.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3EFor%3C%2FSTRONG%3E%20%3CSTRONG%3Eporting%3C%2FSTRONG%3E%20a%20Freescale%20demo%20%3CSTRONG%3Eboard%3C%2FSTRONG%3E%20%3CSTRONG%3ECodeWarrior%3C%2FSTRONG%3E%20project%20to%20the%20%3CSTRONG%3Ecustom%3C%2FSTRONG%3E%20board%2C%20the%20main%20task%20is%20%3CSTRONG%3Eporting%3C%2FSTRONG%3E%20%3CSTRONG%3ECodeWarrior%3C%2FSTRONG%3E%20%3CSTRONG%3Einitialization%3C%2FSTRONG%3E%20file.%3C%2FP%3E%0A%3CP%3EFirst%20the%20users%20need%20to%20follow%20%3CSTRONG%3ECodeWarrior%3C%2FSTRONG%3E%20new%20project%20wizards%20to%20create%20a%20bareboard%20project%20%3CSTRONG%3Efor%3C%2FSTRONG%3E%20the%20demo%20board%2C%20they%20could%20choose%20Downlaod(Connect)%20or%20SRAM%20Connect%2C%20and%20SRAM%20Connect%20launch%20configuration%20is%20recommended%20to%20use%20to%20do%20flash%20programming.%20Then%20modify%20the%20%3CSTRONG%3Einitialization%3C%2FSTRONG%3E%20%3CSTRONG%3Efile%3C%2FSTRONG%3E%20configuration%20from%20Run-%26gt%3BDebug%20Configurations-%26gt%3B-core00_RAM__Connect-%26gt%3BEdit-%26gt%3BEdit-%26gt%3BInitialization-%26gt%3BInitialize%20target%20script.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EDemo%20boards%20%3CSTRONG%3Einitialization%3C%2FSTRONG%3E%20files%20are%20located%20in%20C%3A%5CFreescale%5CCW_PA_v10.5.0%5CPA%5CPA_Support%5CInitialization_Files%2C%20please%20modify%20the%20demo%20%3CSTRONG%3Eboard%3C%2FSTRONG%3E%20initialize%20%3CSTRONG%3Efile%3C%2FSTRONG%3E%20to%20make%20it%20suitable%20%3CSTRONG%3Efor%3C%2FSTRONG%3E%20the%20%3CSTRONG%3Ecustom%3C%2FSTRONG%3E%20board.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3CSTRONG%3EFor%3C%2FSTRONG%3E%20example%2C%20to%20modify%20T1040RDB_init_core.tcl%20%3CSTRONG%3Efor%3C%2FSTRONG%3E%20T1040%20%3CSTRONG%3Ecustom%3C%2FSTRONG%3E%20board%2C%20the%20user%20needs%20to%20modify%20the%20section%20%22Local%20Access%20Windows%20Setup%22%2C%20%22DDR%20Controller%20Setup%22%2C%20%22IFC%20Controller%20Setup%22%20and%20%22MMU%20initialization%22%20sections.%20The%20QCVS%20tool%20can%20be%20used%20to%20assists%20DDR%20controller%20configuration.%20If%20users%20only%20want%20to%20do%20flash%20programming%2C%20they%20could%20use%20T1040RDB_init_sram.tcl%2C%20no%20need%20to%20consider%20about%20DDR%20configuration.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EIn%20addition%2C%20CW%20JTAG%20configuration%20%3CSTRONG%3Efile%3C%2FSTRONG%3E%20overriding%20RCW%20is%20often%20used%20%3CSTRONG%3Efor%3C%2FSTRONG%3E%20the%20empty%20target%20board(no%20RCW)%2C%20please%20refer%20to%20the%20section%20%22Setting%20up%20a%20remote%20system%20to%20use%20a%20JTAG%20configuration%20file%22%20in%20the%20document%20C%3A%5CFreescale%5CCW_PA_v10.5.0%5CPA%5CHelp%5CPDF%5CTargeting_PA_Processors.pdf.%3C%2FP%3E%3C%2FLINGO-BODY%3E