Step 3 - target cpu window, Step 4 - creating pwm bean, Step 5 - project panel window – Freescale Semiconductor Microcontrollers User Manual

Page 664

Advertising
background image

ColdFire V1 Full Chip Simulation Connection

FCS Tutorials

664

Microcontrollers Debugger Manual

5. Enter a project name like PWM_Sample

6. Change the directory if you want (Location > Set)

7. Check C for the language and click Next.

8. Click Next again (you do not want to add additional files)

9. Choose Processor Expert and click Next.

10. Click Finish to keep the default options.

The debugger creates a new project using the wizard and Processor Expert is available.
During this process, several windows appear, allowing you to select additional
options. Close these windows to retain the default settings. Several Processor Expert
windows are visible.

Step 3 - Target CPU Window

The Target CPU window in the center shows a footprint of the processor selected for the
development. In the device, we see the different on-chip modules such as CPU, Timer, and
the ADC. Modules with an icon attached to them are modules used by the application. The
pins that are used to connect external functions are indicated by a line and an icon, symbol
of the function attached (CPU and Port A).

Optional:

• Place the cursor of the mouse on the pins to see a description of their functions.

• Enlarge the Target CPU window to see different on-chip modules.

Step 4 - Creating PWM Bean

• Select Bean Categories > CPU internal peripherals > Timer > PWM

• In the context menu select ‘Add Bean to the Current Project’ to add an instance of the

AsynchroSerial bean to the project.

Step 5 - Project Panel Window

The Project Panel window shows and keeps track of the beans created for this
application. This Panel is a tab of the Project Manager window. Click on the [+] next to a
bean to show a list of methods and/or events related to the bean. A green tick indicates
whether the named method or event is selected and a red cross indicates that code has not
been generated.

Locate the previously created bean with the name PWM1:PWM under Beans.

Advertising