AN1909 Motorola / Freescale Semiconductor, AN1909 Datasheet
![no-image](/images/no-image-200.jpg)
AN1909
Related parts for AN1909
AN1909 Summary of contents
Page 1
... Stationery. These are the tasks required to add multiple varied build targets: 1. The Stationery must be expanded © Motorola, Inc., 2001 Order by AN1909/D (Motorola Order Number) Rev. 0, 03/2001 Contents 1. Abstract ...........................................1 2. Introduction.....................................1 3. Expand Stationery ...........................2 4 ...
Page 2
Expand Stationery 2. The new build target is added 3. The settings of the new build target are edited to differentiate it from the other build targets’settings evolves separately as development of the prototype progresses 4. The new ...
Page 3
Figure 1. ER_and_FI_and_proto_Application w Copy the folder: ..nos\ER_and_Fl_and_proto_Application\configextram to: ..nos\ER_and_Fl_and_proto_Application\configproto This procedure provides the proto application an identical configuration to the External RAM build target settings. The new proto build target settings will be changed as required in the configproto ...
Page 4
Add a New Build Target w Create a folder on the desktop to house this demonstration project creation and name it an_app w Using the Windows Start button, launch CodeWarrior through the Motorola Embedded SDK tree w In Metrowerks’ CodeWarrior ...
Page 5
Figure 5. Name the New Project w Name the project file one, as shown in w Click the Open button; the file name becomes the project name. See Figure 6. Project Name Appears The project name and its location will ...
Page 6
Add a New Build Target Figure 7. Select Stationery Created Earlier in the Paper w Click the newly-created Stationery, illustrated in w Click OK in the New Project screen. A new project window, one.mcp, will appear, displaying one of the ...
Page 7
To see other possible build targets defined: w Open the Target pop-up menu, as illustrated in Note: There is no build target yet defined for proto; other build targets are Flash and BuildAll. w BuildAll creates both Flash and External ...
Page 8
Add a New Build Target To generate the proto build target, follow the procedure in the CodeWarrior Help Section “Create Targets” this: w Click the Targets tab of the one.mcp screen; see The build targets shown are: • ...
Page 9
Targets will appear toward the right in the screen. Under the CodeWarrior Project pull-down menu, w Click Create New Target; see Figure 11 Figure 11. Create a New Build Target Multiple Target Features Using CodeWarrior Add a New Build Target ...
Page 10
Add a New Build Target When a new build target is requested, CodeWarrior provides a pop-up box, called New Target, with a field for the build target’s name. existing target, External RAM cloned. New projects often evolve from ...
Page 11
To clone a new target from the External RAM target, type the new build target’s name, proto, in the Name for new target field in the New Target box and click Clone existing target. See proto target will initially have ...
Page 12
Edit Prototype Build Target Settings 5. Edit Prototype Build Target Settings To edit the settings for the new build target, proto the one.mcp screen, select proto under Targets w A new choice, proto Settings, appears in the Metrowerks’ ...
Page 13
When the box proto Settings appears, shown in Settings Panels and click the desired access path Figure 16. proto Settings Box Multiple Target Features Using CodeWarrior Edit Prototype Build Target Settings Figure 16, select Target Settings from the Target ...
Page 14
Edit Prototype Build Target Settings Use the new configuration files from the new portion of the project Stationery created earlier for the prototype build target. Refer to Note: The selected new build target is indicated in the one.mcp screen as ...
Page 15
Figure 18. {Project} configproto Before Move Multiple Target Features Using CodeWarrior Edit Prototype Build Target Settings 15 ...
Page 16
Edit Prototype Build Target Settings w Drag and drop the {Project}configproto to the top of the list under Access Path, illustrated in Figure 19. Figure 19. {Project} configproto After Move 16 Multiple Target Features Using CodeWarrior ...
Page 17
Click M56800 Target and overwrite the External RAM elf file name. The Output File Name, as shown in Figure 20, must be changed from ExtRam.elf. Figure 20. Proto Settings Output File Name Before Name Change Multiple Target Features Using ...
Page 18
Edit Prototype Build Target Settings w Rename the file proto.elf; refer to Figure 21. proto Settings Output File Name After Name Change w Click Save to save the settings for proto Compare Figure 20 and Figure The new proto target ...
Page 19
Relate New Build Target to Project Files The Files tab under the one.mcp screen now has three files and three copies of the configuration files, instead of two. One of the new sets is for the new target, proto. ...
Page 20
Relate New Build Target to Project Files This step uses the Windows Explorer program to identify the location of the file; see Figure 23. Select appconfig.h File proto Will Use 20 Multiple Target Features Using CodeWarrior Figure 23. ...
Page 21
Figure 24 The files appconfig.c, appconfig.h and linker.cmd are present in this folder. All files may be customized for the prototype without affecting the other targets, External RAM or Flash. 7. Update ...
Page 22
Update the BuildAll Target to Include the New Prototype Target Figure 25. Before Adding proto to BuildAll Target Figure 26. After Adding proto to BuildAll Target To order the files: w Drag and drop the files, placing them in a ...
Page 23
Figure 27. Files Arranged in Desired Order 8. Conclusion A single CodeWarrior project can support a growing family of products. Project Stationery may be enhanced and multiple additional targets may be built to support permutations of hardware and product features ...
Page 24
... ASIA/PACIFIC: Motorola Semiconductors H.K. Ltd.; Silicon Harbour Centre, 2 Dai King Street, Tai Po Industrial Estate, Tao Po, N.T., Hong Kong. 852-26668334 Technical Information Center: 1-800-521-6274 HOME PAGE: http://motorola.com/semiconductors/dsp M are registered trademarks of Motorola, Inc. Motorola, Inc Equal MOTOROLA HOME PAGE: http://motorola.com/semiconductors/ AN1909/D ...