NXP Semiconductors EVB9S08DZ60 User Manual Download Page 19

EVB9S08DZ60 User's Manual 

Page 17 

6 Application Tutorial 

6.1 Overview 

This section will provide a step-by-step guide on how to launch your first project and get 
started with the CodeWarrior user interface. 

6.2 Step-by-Step Tutorial 

The sample application is the same as the one described in the 

“Standalone Mode” 

section 

above. 

 

1. 

Set up the board so that it works in host mode (see “Host Mode” above). 

2. 

Ensure that the Evaluation Board is connected to the PC (via the USB cable) and that 
the board is powered on. 

3. 

Start CodeWarrior by selecting it in the Windows Start menu. 

4. 

From the CodeWarrior main menu, choose 

“File > Open”

 and choose the 

“\Program 

Files\Freescale\CodeWarrior for HC08 V5.1\(CodeWarrior 
Examples)\HCS08\Evaluation Board 
Examples\EVB9S08DZ60\C\Demo\Demo.mcp”

5. Click 

“Open”

. The 

Project 

window will open. 

6. 

The code of this example is contained in the 

“main.c” 

file. Double click on it to open. 

7. 

From the main menu, choose 

“Project > Debug”

. This will compile the source code, 

generate an executable file and download it to the evaluation board. 

8. 

A new debugger environment will open. From the main menu, choose 

“Run > 

Start/Continue”

. The program will be executed in real-time. 

9. 

From the main menu, choose 

“Run > Halt”

. The program execution will stop. The next 

instruction to be executed is highlighted in the 

Source

 window. 

10. 

From the main menu, choose 

“Run > Single Step”

. The instruction highlighted in the 

Source

 window will be executed, and the program execution will be stopped immediately 

after. 

11. 

From the main menu, choose 

“Run > Start/Continue”

. The application will restart from 

where it was previously stopped. 

  

Congratulations! You have successfully completed this tutorial! You can continue to 
experiment with the CodeWarrior user interface and discover by yourself its potentialities. For 
an in-depth guide of all of the user interface features, select 

“Help > CodeWarrior Help” 

from 

CodeWarrior Development Studio’s main menu.

Summary of Contents for EVB9S08DZ60

Page 1: ...User s Manual Demonstration Board for Freescale MC9S08DZ60 EVB9S08DZ60...

Page 2: ......

Page 3: ...EVB9S08DZ60 Evaluation Board for Freescale MC9S08DZ60 64 Pin LQFP User s Manual Revision 1 0 Copyright 2006 SofTec Microsystems DC01103...

Page 4: ...ty If such interference is detected suitable mitigating measures should be taken SofTec Microsystems E mail general information info softecmicro com E mail marketing department marketing softecmicro c...

Page 5: ...evelopment Studio 9 3 4 Installing SofTec Microsystems Additional Components 10 4 Hardware Setup 11 4 1 First Connection 11 5 Operating Modes 15 5 1 Overview 15 5 2 Standalone Mode 15 5 3 Host Mode 15...

Page 6: ......

Page 7: ...e 1 2 Package Contents The EVB9S08DZ60 package includes the following items The EVB9S08DZ60 evaluation board A USB cable A universal 12 V DC power supply The SofTec Microsystems System Software CD ROM...

Page 8: ......

Page 9: ...DC barrel input connector 2 1 mm Two banana input connectors 12 V DC and GND A power on off switch 3 A built in USB TO BDM INTERFACE section which allows the host PC to communicate with the microcont...

Page 10: ...RS 232 connectors although only one transceiver is provided together with a series of jumpers to set the RS 232 mode 9 A SERIAL SETTINGS section containing two jumpers to select which transceiver the...

Page 11: ...nt Studio must be installed first 3 2 Host System Requirements The Evaluation Board is controlled by CodeWarrior Development Studio The following hardware and software are required to run the CodeWarr...

Page 12: ...ual Evaluation Board s schematic Additional documentation To install the SofTec Microsystems Additional Components insert the SofTec Microsystems System Software CD ROM into your computer s CD ROM dri...

Page 13: ...ON OFF switch is in the ON position The POWER LED will turn on 4 Insert one end of the USB cable into a free USB port of the PC 5 Insert the other end of the USB cable into the USB connector on the E...

Page 14: ...not digitally signed by Microsoft and Windows considers it to be potentially malfunctioning or dangerous for the system However you can safely ignore the warning since every kind of compatibility secu...

Page 15: ...EVB9S08DZ60 User s Manual Page 13 Click the Finish button to exit from the Found New Hardware Wizard procedure 10 The Evaluation Board s USB driver is now installed on your system...

Page 16: ......

Page 17: ...displayed on the PTDx LEDs Press the PTA5 push button The value of the PTA2 potentiometer will be displayed on the PTDx LEDs Press the PTA6 push button The USER LED 2 LED will turn on if the value of...

Page 18: ...the memory map The Background Debug Module also known as Background Debug Controller BDC uses a single wire communication interface via the BKGD line to allow non intrusive access to target system me...

Page 19: ...e main c file Double click on it to open 7 From the main menu choose Project Debug This will compile the source code generate an executable file and download it to the evaluation board 8 A new debugge...

Page 20: ......

Page 21: ...tied to GND default Not Installed The microcontroller s GND lines are floating J109 CLOCK ENABLE Installed Connects the clock module s OUT pin to pin 3 of the OUT SEL jumper default Not Installed Disc...

Page 22: ...to the microcontroller s PTA2 line J207 PUSH BUTTON PTA4 ENABLE Installed The PTA4 push button is connected to the microcontroller s PTA4 line default Not Installed The PTA4 push button is not connec...

Page 23: ...2 LED is connected to the microcontroller s PTC0 line default Not Installed The USER LED 2 LED is not connected to the microcontroller J301 2 4 1 3 6 5 RS 232 LIN SELECTION 1 3 2 4 RS 232_0 The micro...

Page 24: ...mode J501 2 4 1 3 6 5 CAN HIGH SPEED SINGLE WIRE SELECTION 1 3 2 4 HS High speed CAN mode default 3 5 4 6 SW Single wire CAN mode J502 HIGH SPEED CAN STANDBY Installed HS CAN transceiver s STB line co...

Page 25: ...nector in the Mother Board J106 CLOCK ENABLE Installed Connects the clock module s OUT pin to pin 3 of the OSC SOURCE default Not Installed Disconnects the clock module s OUT pin from pin 3 of the OSC...

Page 26: ...llator 1 Clock Signal 2 GND J113 1 2 3 5 4 6 BDM Connector 1 BKGD 2 GND 3 N C 4 RESET 5 N C 6 VDD J201 2 1 12 V DC Power Supply Input Connector Barrel 2 1 mm 1 12 V DC 2 GND J202 12 V DC Power Supply...

Page 27: ...9 6 9 5 1 RS 232_1 Connector 1 DSR 2 RX 3 TX 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 9 N C J401 1 2 3 4 LIN IN Connector 1 GND 2 External Wake 3 VBAT LIN Bus Power Supply 12 V DC 4 LIN LIN Signal J402 1 2 3 4 L...

Page 28: ...Jumper and Connector Settings Page 26 Name Reference Description Pinout J601 USB Connector 1 5 V DC USB Bus Power Supply Line 2 USB D 3 USB D 4 GND...

Page 29: ...ndows XP 1 Connect the Evaluation Board to the PC 2 Open the Control Panel Start Settings Control Panel 3 Open the System options 4 Select the Hardware tab 5 Click the Device Manager button 6 The uDAR...

Page 30: ......

Page 31: ......

Page 32: ......

Reviews: