PK-HCS08GB60 SofTec Microsystems SRL, PK-HCS08GB60 Datasheet

KIT STARTER USB FOR MC9S08GB60

PK-HCS08GB60

Manufacturer Part Number
PK-HCS08GB60
Description
KIT STARTER USB FOR MC9S08GB60
Manufacturer
SofTec Microsystems SRL
Type
MCUr
Datasheet

Specifications of PK-HCS08GB60

Contents
Board, Cable, Software, Datasheets and User Manual
Silicon Manufacturer
Freescale
Core Architecture
HCS08
Kit Contents
Emulator/Programmer
Mc9s08gb60 Evaluation Board
Silicon Family Name
Silicon Core Number
MC9S08GB60
Core Sub-architecture
HCS08
Silicon Family Name
S08GB
Rohs Compliant
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Freescale MC9S08GB60 (USB)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant, Contains lead / RoHS non-compliant
Other names
520-1014

Related parts for PK-HCS08GB60

PK-HCS08GB60 Summary of contents

Page 1

...

Page 2

... PK-HCS08GB60 Starter Kit for Motorola MC9S08GB60 User’s Manual Copyright © 2003 SofTec Microsystems ® DC00684 ...

Page 3

... Web: http://www.softecmicro.com Important SofTec Microsystems reserves the right to make improvements to the PK Series of Starter Kits, their documentation and software routines, without notice. Information in this manual is intended to be accurate and reliable. However, SofTec Microsystems assumes no responsibility for its use; nor for any infringements of rights of third parties which may result from its use ...

Page 4

... Contents 1. Overview What is the PK-HCS08GB60 Starter Kit? Background Debug Module (BDM) PK-HCS08GB60 Board Layout CodeWarrior Integrated Development Environment Recommended Reading Software Upgrades 2. Getting Started PK-HCS08GB60 Components Host System Requirements Installing the Software Installing Metrowerks CodeWarrior IDE Installing SofTec Microsystems Additional Components ...

Page 5

... Hardware Breakpoints and Software Breakpoints Advanced Debugging Features DataBlaze Programming Utility DataBlaze Notes 5. Troubleshooting Common Problems and Solutions Communication Can’t Be Established with PK-HCS08GB60 Stepping Execution is Slow STOP Assembly Instruction Causes a Microcontroller Reset Communication Lost During Debugging Getting Technical Support Appendix A. Electrical and Physical Specifications ...

Page 6

... Overview What is the PK-HCS08GB60 Starter Kit? The PK-HCS08GB60 Starter Kit is an entry level tool which allows you to get started with the Motorola MC9S08GB60 microcontroller. The main features of the MC9S08GB60 microcontroller are: § 40-MHz HCS08 CPU; § FLASH memory; § RAM; § ...

Page 7

... Metrowerks CodeWarrior IDE (the same user interface of all Motorola tools), with editor, assembler, C compiler and debugger. Note: the PK-HCS08GB60 starter kit has been designed for evaluation purposes only. Even though it has full-feature debugging options, its main limitations are: § The target microcontroller is fixed (soldered to the board). ...

Page 8

... A “USB to BDM Interface” section. It contains the circuitry needed to electrically and logically translate BDM-like commands sent by the host PC through the USB cable to the BDM interface of the microcontroller. The PK-HCS08GB60 board is powered by the USB bus “Demo” section. It features a RESET push-button, one user push-button, a potentiometer and eight user LEDs “ ...

Page 9

... Overview 1 CodeWarrior Integrated Development Environment PK-HCS08GB60 comes with a free version of CodeWarrior Development Studio for HC(S)08 Microcontrollers, Special Edition. CodeWarrior Development Studio for HC(S) powerful and easy-to-use tool suite designed to increase your software development productivity. Its Integrated Development Environment (IDE) provides unrivaled features such as Processor Expert application design ...

Page 10

... Motorola HCS08 Datasheets—Include detailed information on the devices’ background debug module. Software Upgrades The latest version of the PK-HCS08GB60 system software is always available free of charge from our website: http://www.softecmicro.com. Metrowerks CodeWarrior upgrades can be found at http://www.metrowerks.com. PK-HCS08GB60 User's Manual ...

Page 11

...

Page 12

... A “QuickStart Tutorial” color poster; 6. This user’s manual. Host System Requirements The PK-HCS08GB60 in-circuit debugger is controlled by an Integrated Development Environment running under Windows (CodeWarrior HC(S)08). The following hardware and software are required to run the CodeWarrior HC(S)08 user interface together with PK- HCS08GB60: 1 ...

Page 13

... Note: before to connect the PK-HCS08GB60 board to the PC recommended that you 2 install all of the required software first (see below), so that the PK-HCS08GB60 USB driver will be automatically found by Windows when you connect the board. PK-HCS08GB60 requires that both Metrowerks CodeWarrior IDE and SofTec Microsystems PK-HCS08GB60 additional components be installed in the host PC ...

Page 14

... Install all the required system software as described in the previous section. 2. Insert one end of the USB cable into a free USB port. 3. Insert the other end of the USB cable into the “USB” connector on the PK-HCS08GB60 board. The green “POWER” LED on the instrument should turn on. Windows will automatically recognize the instrument and will load the appropriate USB driver ...

Page 15

... ADC peripheral) and displays this value on the LEDs. To execute the sample application, follow the next steps Ensure that the PK-HCS08GB60 board is connected to the PC (via the USB cable). 2. Start the CodeWarrior HC(S)08 IDE by selecting Start > Programs > Metrowerks CodeWarrior > CW08 > CodeWarrior IDE. The CodeWarrior HC(S)08 IDE will open. ...

Page 16

... The Example’s Source Code 5. From the main menu, choose Project > Debug. This will compile the source code, generate an executable file and download it to the PK-HCS08GB60 board new debugger environment will open. PK-HCS08GB60 User's Manual Page 15 2 ...

Page 17

... Getting Started 2 7. From the main menu, choose Run > Start/Continue. The program will be executed in real-time. By rotating the potentiometer on the PK-HCS08GB60 board, you affect the results of the A/D conversion, and the value of each conversion is displayed on the LEDs. 8. From the main menu, choose Run > Halt. The program execution will stop. The next instruction to be executed is highlighted in the Source window ...

Page 18

... For an in-depth guide of all of the user interface features, select Help > CodeWarrior Help from the CodeWarrior HC(S)08 IDE’s main menu. Additional Examples Additional examples can be found under the “\Program Files\Metrowerks\CodeWarrior CW08\(CodeWarrior_Examples)\HCS08\SofTec Microsystems\PK-HCS08GB60” directory. PK-HCS08GB60 User's Manual Page 17 2 ...

Page 19

...

Page 20

... Contrariwise to traditional in-circuit emulation (where the target application is executed and emulated inside the emulator), PK-HCS08GB60 uses the very same target microcontroller to carry on in-circuit execution. This means that all microcontroller’s peripherals (timers, A/D converters, I/O pins, etc.) are not reconstructed or simulated by an external device, but are the very same target microcontroller’ ...

Page 21

... Note: even though USB specifications require low-speed devices to be used only with a captive or manufacturer-specific USB cable, we have decided to use a standard USB cable. We therefore recommend that you use the PK-HCS08GB60 board with the USB cable provided or, if you use another USB cable, ensure that the cable length does not exceed 2 meters ...

Page 22

... VREFL (the reference voltages for the analog-to-digital converter) are connected to 3.3 V and VSS, respectively. Prototype Area The prototype section features both a standard, thru-hole area (for mounting traditional components) and a SMD area (for soldering SMD components in SOIC package). PK-HCS08GB60 User's Manual Page 21 3 ...

Page 23

...

Page 24

... The first time you enter a debugging session (by selecting Project > Debug from the CodeWarrior’s main menu) the MCU Configuration dialog box will open, asking you to select the debugging hardware connected to the PC. Make sure that the hardware code is set to “PK-HCS08GB60”. The MCU Configuration Dialog Box PK-HCS08GB60 User's Manual Page 23 4 ...

Page 25

... Using Existing Projects with PK-HCS08GB60 If your project has been targeted to an emulator/simulator other than PK-HCS08GB60 and you wish to use PK-HCS08GB60 as the debugger for your project, please do the following your project has been created with a version of CodeWarrior less than 3.0, make sure that the “ ...

Page 26

... The MCU Configuration dialog box will appear allowing you to select the PK- HCS08GB60 board as the hardware debugger. The MCU Configuration Dialog Box 5. On the CodeWarrior HC(S)08 debugger interface a new menu (SofTec-HCS08) will be created. From this menu, select Load and locate the object file your project is based on. PK-HCS08GB60 User's Manual Page 25 4 ...

Page 27

Debugging Features Breakpoints and Trace CodeWarrior offers a variety of tools for analyzing the program flow: breakpoints (both simple and complex), watchpoints and a trace buffer. All these features are implemented by taking advantage of the target microcontroller’s DBG ...

Page 28

... The BGND Assembly instruction forces the target microcontroller to enter the Active Background Debug mode, stopping program execution. CodeWarrior recognizes this event as a breakpoint and updates the contents of registers, memory, etc. Successive commands (Start/Continue, Single Step, etc.) will continue the execution of the program from the next instruction. PK-HCS08GB60 User's Manual Page 27 4 ...

Page 29

... BDM communication clock source is a constant clock source (in the case of the MC9S08GB60 MHz internal clock). PK-HCS08GB60 always sets the CLKSW bit to 0: you are therefore free to change the microcontroller’s bus frequency through the FLL, since this will not affect the BDM communication ...

Page 30

... Settings…” command, that opens a dedicated dialog box which allows you to handle all of the parameters of the microcontroller’s debug peripheral. DataBlaze Programming Utility A full-featured programming utility (DataBlaze) is also provided with the PK-HCS08GB60 Starter Kit. To start the DataBlaze utility select Start > Programs > SofTec Microsystems > PK-HCS08 Series > DataBlaze Programmer. ...

Page 31

... Debugging Features Note: due to the evaluation purposes of the PK-HCS08GB60 starter kit (and therefore to the slow data transfer rate from the PC to the target and vice versa), the DataBlaze programming utility takes a long time to write to/read from the whole microcontroller memory. For serious debugging/programming, we suggest you to switch to the SofTec Microsystems inDART-HCS08 Series of debugging/programming tools ...

Page 32

... FLL peripheral so that the maximum BDM communication speed is achieved. § The FLASH location suggested by Motorola where to store the trimming value is reserved by DataBlaze. DataBlaze automatically calculates the trimming value and writes it to that location. PK-HCS08GB60 User's Manual Page 31 4 ...

Page 33

...

Page 34

... This section reports some common problems that may arise during general use. Communication Can’t Be Established with PK-HCS08GB60 1. Make sure the PK-HCS08GB60 starter kit is connected to the PC and powered on. PK- HCS08GB60 is powered by the USB connection you connected the PK-HCS08GB60 board to the PC before installing the CodeWarrior user interface and the SofTec Microsystems Additional Components, the PK- HCS08GB60 USB driver may not have been correctly installed on your system ...

Page 35

Troubleshooting 3. Make sure you are working with the correct hardware model. To view/change the hardware model in use, choose SofTec-HCS08 > MCU Configuration from the CodeWarrior HC(S)08 debugger’s main menu the SofTec-HCS08 menu is not present ...

Page 36

... SofTec Microsystems offers its customers a free technical support service at support@softecmicro.com. Before getting in contact with us, we advise you to check that you are working with the latest version of the PK-HCS08GB60 system software (upgrades are available free of charge at http://www.softecmicro.com). Additional resources can be found on our HCS08 online discussion forum. ...

Page 37

...

Page 38

... Appendix A. Electrical and Physical Specifications Operating Voltage Power Consumption Dimensions Weight Operating Temperature Storage Temperature Humidity Electrical and Physical Specifications PK-HCS08GB60 User's Manual 4. (provided by the USB connection) 200 mA (max) 137 ° °C -20 ° °C 90% (without condensation) A Page 37 ...

Page 39

...

Page 40

...

Page 41

...

Page 42

...

Related keywords