background image

 

 

 

Freescale Semiconductor  

                                                                                                               6 

4.2.1 Configuring the Application Module for use with the Project Board 

 

1)

 

Move the PWR_SEL jumper FROM “VB” TO  “VX_EN” 

2)

 

Remove all COM_EN jumpers from the Application Module as shown by Figure 2. 

3)

 

Remove all BDM_EN jumpers from the Application Module as shown by Figure 2. 

 

Figure 2 Application Module: with Project Board Operation Jumper Settings 

 

Jumper Position 

Jumper ID 

Description 

 

VR1

 

 

 

VB 

 

 

VX_EN 

 

 

PWR_SEL 

Source power input from connector J1

 

 

SW1 

 

 

SW2 

 

 

SW3_1 

 

 

SW3_2 

 

 

SW3_3 

 

 

SW3_4 

USER 

Jumpers enable access to application modules features.  For 

push button switch (SW1:2),  4-position DIP switch 3 

(SW3_1:4), LED[1:4], and  to simplify circuit connections and 

emphasize software development. 

Summary of Contents for HCS12

Page 1: ...ide Rev 0 2 2008 Freescale Semiconductor Inc 2006 All rights reserved _______________________________________________________________________ Getting Started with the Student Learning Kit Featuring th...

Page 2: ...eate build and debug an application Refer to the project board user guide application module user guide and CodeWarrior documentation for more details For demonstration applications source code exampl...

Page 3: ...egin the hardware setup or development sections To install and register CodeWarrior development tools for HCS12 X Microcontrollers onto a host PC complete the instructions found inside the CodeWarrior...

Page 4: ...ost PC running CodeWarrior to the Application Module 3 Your Done Proceed to Running your Demonstration application Figure 1 Application Module Independent Operation Jumper Settings Jumper Position Jum...

Page 5: ...Semiconductor 5 LED1 LED2 LED3 LED4 RV1 RZ1 RX TX COM_EN Jumpers enable the application modules serial communication port BKG RST BDM_EN Jumpers enable the application modules background debug mode BD...

Page 6: ...rom the Application Module as shown by Figure 2 Figure 2 Application Module with Project Board Operation Jumper Settings Jumper Position Jumper ID Description VR1 VB VX_EN PWR_SEL Source power input f...

Page 7: ...are shared when using the PBMCUSLK with the application module Conflicts may occur if both are in use simultaneously BKG RST BDM_EN Remove jumpers to disable the application modules background debug m...

Page 8: ...the project board to safely construct and test prototyped circuits Verify that all the jumper settings are configured properly on the project board as shown by Figure 3 Highlighted blocks indicate the...

Page 9: ...he project board This jumper overrides PWR_SEL in USB position 5V 3 3V VDD_SEL Sets VDD to 5V for project board 15V_EN 15V_EN Enables PS1 output 15 V supply from dc dc converter to the project board S...

Page 10: ...es all RS 232 communication signals individually for project board COM port AMPL AMPL Oscillator output at reduced amplitude 3 3 Vpp LED_EN LED_EN Enables all LED outputs on project board BZ PB UFEA E...

Page 11: ...the MCU PORT connector on the project board as marked by Figure 4 Figure 4 Installation of Application Module 2 Power up your host PC and connect one end of the supplied USB cable between an availabl...

Page 12: ...ed the latest version of CodeWarrior prior to this step simply follow the prompts provided by Windows to automatically detect new hardware as illustrated by Figure 6 and prompt you to install software...

Page 13: ...w Hardware Screen 3 illustrated by Figure 8 Click Finish to complete installation and close the wizard Figure 8 Found New Hardware Wizard Screen 3 Left Project Board USB BDM Right Application Module U...

Page 14: ...connectors to observe serial communications i Host PC terminal settings Baud 9600 Data Bits 8 Parity None Stop Bits 1 Flow Control None VI Available on with Project Board ONLY i Press PB3 on the proje...

Page 15: ...window will appear Create a new project 2 From the IDE main menu bar select File New a new window will appear as seen in Figure 9 Figure 9 CodeWarrior New Project Window a Select HC S 12 New Project...

Page 16: ...mark the respective selection h Click Next page 4 of the new project wizard will appear see Figure 11 Figure 11 CodeWarrior New Project Wizard Page 4 and Page 5 i Select No you do not want your projec...

Page 17: ...at p Click Next page 8 of the new project wizard will appear see Figure 13 q Select Small memory model r Click Next page 9 of the new project wizard will appear see Figure 13 Figure 13 CodeWarrior New...

Page 18: ...e dock window right click in title bar of project window and select Docked 1 Select Build Target Your project can contain multiple build targets For this example we use the P E Multilink CyclonePro ta...

Page 19: ...ch the file applies h Click OK the Add Files dialog box closes In the Project window the filename of added file will appear under the Sources folder 4 Build project a From the IDE main menu bar select...

Page 20: ...cation setup window select the appropriate host PC USB port being used by the BDM pod and click OK d Once the debugger is launched a window similar to Figure 16 will appear The operation of the variou...

Page 21: ...on a From debugger main menu select Run the Run menu will appear b Select Start continue program will execute until encountering first breakpoint if breakpoint is present Command pane displays program...

Page 22: ...upport experience Freescale recommends that you use these resources in the following order For frequently asked questions FAQs latest updates and listing of known bugs and solutions www freescale com...

Page 23: ...emiconductor makes no warranty representation or guarantee regarding the suitability of its products for any particular purpose nor does Freescale Semiconductor assume any liability arising out of the...

Reviews: