background image

Getting Started with the MCUSLK for MC9S12C32 Application Module, Rev. 0

2

Freescale Semiconductor

Software Setup

Software Setup

The following software installation is a one-time, required procedure per host PC that you intend to use 
with the MCU Project Board – 2. After completing the software setup section on your host PC, you can 
then skip the software section on subsequent uses of your project board and begin with the hardware 
setup or development sections.

1.

To install and register CodeWarrior development tools for HC(S)12 MCUs onto a host PC, follow 
the instructions outlined in sections A, B, and C of the CodeWarrior Development Studio for 
Freescale 68HC(S)12 Microcontrollers quick start pamphlet found inside the supplied 3-cd case 
labeled CodeWarrior Development Studio for HC(S)08 Special Edition and HC(S)12 Special 
Edition. Make sure to request the special edition license when registering.

1

 The special edition 

license version of CodeWarrior is necessary for developing applications for the MC9S12C32 MCU 
application module board. 

2.

Install a CodeWarrior service 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 Special Edition. The patch is 
located under the 

E:\HC(S)12\CW12_V3_1\

 directory in the Service Pack CD. Install by double-

clicking on the file and by following the on-screen instructions. 

NOTE

The CW12_V3_1_ICD12_USB2_0_Sim_patch.exe is REQUIRED for the 
USB multilink pod on the MCU Project Board – 2 to function with the 
Metrowerks CodeWarrior development tools and must be installed prior to 
the hardware setup section. Other patches included on the Service Pack 
CD are recommended if developing an application on a HC(S)12 
microcontroller other than the MC9S12C32.

NOTE

Periodically check the corresponding development tool product page for 
patches and updates. For questions on CodeWarrior development tools, 
contact 

[email protected]

1. Registering will email you instructions for how to acquire the special 
edition license. After you acquire the special edition license, place it in the 
root CodeWarrior directory. If you encounter problems with registration, you 
can acquire your special edition license online at 

http://www.metrowerks.com/MW/Develop/Embedded/HC12/Downloads

.

Содержание 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...

Отзывы: