Processor Expert | Help |
Supported CPUs, Compilers and Debuggers A CPU bean is an Embedded Bean encapsulating one CPU type. As
with all other beans, CPU Beans have properties, methods and events. A
Processor Expert project may contain several CPU beans. The project
generated for one CPU is called an Application. CPUs included in a project
are displayed in the upper part of the Project
panel (depending on the Project panel settings); just one of them must
be active (selected as the Target CPU) before starting the code
generation. The Build options accessible in the Bean Inspector of the CPU
bean allow to set properties of the Compiler and Debugger (if
it is supported). In the CPU Bean Inspector (page Used) it is also possible to
select the peripherals which cannot be used by Processor Expert. These
peripherals will not be available for the beans in the project and may be
freely used by any external module.
Note: CPU peripherals names and Application Options
are in the same popup menu as CPU inspector. See the last part of this
page to learn how to open it.
How to Select a CPU as the Target CPU.The first CPU added to the project is automatically selected as the target CPU. It means that code will be generated for this CPU. When there is more than one CPU in the project, the target CPU can be changed this way:
This setting doesn't affect the setting of the target in the Targets tab in CodeWarrior's project panel. When the user changes the target CPU in Processor Expert project panel and the CPU doesn't match with the current CodeWarrior target settings the linker dialog is invoked during the code generation allowing the user to switch the linker settings. How to Change CPU Settings.The only way to modify CPU settings (properties, methods, events, chip selects, timing, user-reserved peripherals, also compiler and debugger settings, etc.) is to invoke the Bean Inspector for the selected CPU. You can do that with the following steps (assuming that the CPU is included in the project):
Look at the given CPU help page to learn about what each feature and
setting means.
|