background image

© Freescale Semiconductor, Inc., 2005. All rights reserved.

Freescale Semiconductor

User Guide

MCUSLK_CSM12C32

Rev. 0, 6/2005

Getting Started with the Microcontroller 
Student Learning Kit (MCUSLK)

Using the MC9S12C32 MCU Application Module (CSM-12C32)

By Eduardo 

Montañez

Applications Engineering
Austin, Texas

By Spencer 

Ruggles

Axiom Manufacturing
Garland, Texas

Overview

This document will guide you through all the steps necessary to begin development on an HCS12 Family 
microcontroller unit (MCU) using your MCUSLK. The software setup section will assist you install the 
Metrowerks’ CodeWarrior software and necessary software to support your MCU Project Board – 2. The 
hardware setup section will walk you through configuring the MCU Project Board – 2 for use with the 
MC9S12C32 MCU application module (Axiom’s CSM12C32). The development section will show you 
how to create, build, and debug your application. Refer to the MCU Project Board – 2 user guide, 
MC9S12C32 MCU application module user guide and Metrowerks’ CodeWarrior documentation for 
details. 

Содержание MCUSLK

Страница 1: ...essary to begin development on an HCS12 Family microcontroller unit MCU using your MCUSLK The software setup section will assist you install the Metrowerks CodeWarrior software and necessary software...

Страница 2: ...ce patch labeled CW12_V3_1_ICD12_USB2_0_Sim_patch exe located in the Service Pack CD found inside the supplied 3 cd case labeled CodeWarrior Development Studio for HC S 08 Special Edition and HC S 12...

Страница 3: ...oject Board 2 1 To begin place the MCU Project Board 2 on a flat sturdy surface Ensure sufficient space is available around the project board to safely construct and test prototyped circuits 2 Verify...

Страница 4: ...L_A in USB position VDD_SEL 5V 3 3V JP3 Sets VDD to 5 V for project board PS1_EN JP11 Enables PS1 output 15 V supply from dc dc converter to the project board J301 HIGH FULL USB ML MCUSLK Selects USB...

Страница 5: ...cation signals individually for project board COM port AMPL JP7 Oscillator output at reduced amplitude 3 3 Vpp LED_EN JP6 Enables all LED outputs on project board UFEA JP10 Enables access to direct co...

Страница 6: ...project board Align pin 1 on the application module with pin 1 of the MCU PORT connector on the project board as marked by Figure 2 Figure 2 Installation of MC9S12C32 MCU Application Module 6 Power up...

Страница 7: ...n module board Figure 3 Installation of USB Cable NOTE Steps 8 through 11 are a one time required procedure per host PC that you intend to use with the MCU Project Board 2 and can be skipped on subseq...

Страница 8: ...software automatically recommended from the Found New Hardware Wizard Screen 1 and click Next button to continue with installation 10 Installation will begin with the Found New Hardware Wizard Screen...

Страница 9: ...Wizard Screen 3 12 Verify that the 3 3 V LED 5 V LED and both green and yellow USB LEDs on the MCU Project Board 2 are lit 13 Verify that the VDD LED on the MC9S12C32 MCU application module board CSM1...

Страница 10: ...m the steps described in the quick start pamphlet included in the CodeWarrior for HC S 12 development tools CD case The instructions below are adjusted for the MCUSLK and MC9S12C32 development module...

Страница 11: ...rked if using assembly or C mark the respective selection i Click Next Page 3 of the new project wizard will appear see Figure 9a Figure 9 New Project Wizard Page 3 and Page 4 j Select No you do not w...

Страница 12: ...evelopment Figure 10 New Project Wizard Page 5 and Page 6 n Select None you do not want to specify a floating point format o Click Next Page 6 of the new project wizard will appear see Figure 10b p Se...

Страница 13: ...Page 7 r Page 7 allows you to specify connections that the project should be configured to support Select P E Hardware Debugging and Motorola Serial Monitor Hardware Debugging s Click Finish the wiza...

Страница 14: ...build target Your project can contain multiple build targets For this example we use the P E ICD target which uses the USB BDM pod on the MCU Project Board 2 This BDM pod provides bidirectional commu...

Страница 15: ...Click OK the add files dialog box closes In the project window the filename of added file will appear under the sources folder 6 Build project a From IDE main menu bar select project b Select make ID...

Страница 16: ...elect the appropriate host PC USB port being used by the BDM pod and click OK Figure 14 Debugger Window1 1 For a description of debugger windows see Table 2 Table 2 Debugger Windows Window Name Descri...

Страница 17: ...sent Command pane displays program status NOTE Alternatively you can click on start continue icon in the debugger taskbar 7 Click start continue icon to resume program code execution if breakpoint occ...

Страница 18: ...damages Typical parameters which may be provided in Freescale Semiconductor data sheets and or specifications can and do vary in different applications and actual performance may vary over time All op...

Отзывы: