M68DEMO908GB60E Freescale, M68DEMO908GB60E Datasheet - Page 2

no-image

M68DEMO908GB60E

Manufacturer Part Number
M68DEMO908GB60E
Description
Manufacturer
Freescale
Datasheet

Specifications of M68DEMO908GB60E

Architecture
8/16-bit
Code Gen Tools Included
Code Warrior
Lead Free Status / RoHS Status
Compliant
Serial Monitor Demo
The following procedure shows how to load code into the demo board using the serial monitor program
that resides in the MC9S08GB60 memory.
The serial monitor can be used for much more than just programming new code without a special debug
pod. Many debug operations (memory modify, breakpoints, real-time bug traces, etc.) can also be run
over the serial cable while in this mode. Refer to application note AN2140 for more information on the
serial monitor.
2
10. Hold SW4 low while sliding the power switch to ON.
11. Return to the Metrowerks CodeWarrior IDE window if it is not the active window.
12. Scroll down to the bottom of the DEMO.ASM window and change
13. Select Make from the Project menu.
14. Select Debug from the Project menu, or press F5, or click the green arrow on the CodeWarrior
15. Hold SW2 low. While holding SW2 low select Start/Continue from the Run menu or click the green
16. Disconnect the serial cable from the demo board.
17. Power down the board.
18. Repeat the Stop3, Paced Loop, and ATD/Timer demos mentioned above if you would like to verify
1. Before running this demo, please install CodeWarrior for HCS08 Release 3.0 on your PC. Also,
2. Connect a straight-through DB-9 serial cable between COM1 on the PC and the SCI1 connector
3. Navigate to the working folder and double click the M68DEMO908GB60demo.mcp project. The
4. Hold SW4 low while sliding the power switch to ON.
5. Double click on the DEMO.ASM file in the Sources folder in the project window.
6. Select Debug from the Project menu, or press F5, or click the green arrow on the CodeWarrior
7. Hold SW2 low. While holding SW2 low select Start/Continue from the Run menu or click the green
8. Power down the demo board.
9. Close the debugger window.
please copy the M68DEMS.zip file from the demo board CD to your PC and extract the files into a
working folder. The M68DEMS.zip file can be found on the demo board CD in the Documentation
directory.
(DB9 connector closest to power switch) on the demo board. If you are using a different PC COM
port, you will need to adjust the settings within the CodeWarrior IDE.
CodeWarrior IDE will launch.
toolbar. The True-Time Simulator & Real-Time Debugger initiates serial communications with the
demo board. The demo code is erased and re-programmed in the 9S08GB60 FLASH memory.
The serial monitor code is not erased. (If the debugger is launched when the board is not powered,
you will see a series of error notifications. Cancel and close these messages; close the debugger
window; and go back to step 4.)
arrow icon. The paced loop demo will be running. (Release SW2.)
include "PACED_LOOP.ASM" to
include "PACED_LOOP2.ASM"
This will modify the behavior of the paced loop demo without affecting the Stop3 or ATD/Timer demos.
toolbar. The True-Time Simulator & Real-Time Debugger will re-load the project with the changed
software.
arrow icon. (Release SW2.) The new paced loop demo will be running. This demo continually
sequences LEDs 1 through 4 in 1 second steps.
that the demo code was loaded properly.
Getting Started with the M68DEMO908GB60, Rev. 0.2
Freescale Semiconductor