AN2616 Freescale Semiconductor / Motorola, AN2616 Datasheet - Page 27

no-image

AN2616

Manufacturer Part Number
AN2616
Description
Getting Started with HCS08 and CodeWarrior Using C
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Run the code
MOTOROLA
Getting Started with HCS08 and CodeWarrior Using C
Freescale Semiconductor, Inc.
For More Information On This Product,
In CodeWarrior, press the Debug button (
program and produces an executable file, which invokes the debugger.
The debugger erases the FLASH and downloads the code to the device.
In the debugger, press the RUN button (
The running application can be confirmed by pressing SW2 and seeing
LED2 light.
Press the STOP button (
stop being pressed.
Press the STEP OVER button (
will advance one C instruction with each press.
With the debugger pointing to the statement LED=SW2, press SW2 and
press the STEP OVER button (
Press the RUN button (
to be on when SW2 is pressed
Go to: www.freescale.com
) to restart the program; this will cause LED2
); LED2 will maintain its state prior to the
) to advance the code; the debugger
) once; LED2 will be turned on.
Developing an Application with CodeWarrior
); the application will run.
). This compiles the
AN2616
27

Related parts for AN2616