PK-HCS08GB60 Freescale Semiconductor, PK-HCS08GB60 Datasheet

no-image

PK-HCS08GB60

Manufacturer Part Number
PK-HCS08GB60
Description
KIT STARTER MC9S08GB60
Manufacturer
Freescale Semiconductor
Type
MCUr
Datasheet

Specifications of PK-HCS08GB60

Contents
Board
For Use With/related Products
MC9S08GB60
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Related parts for PK-HCS08GB60

PK-HCS08GB60 Summary of contents

Page 1

...

Page 2

... PK-HC08QY4 Starter Kit for Freescale MC68HC908QY4 User’s Manual Copyright © 2004 SofTec Microsystems DC00773 ® ...

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-HC08QY4 Starter Kit? What is the MON08 Interface? PK-HC08QY4 Board Layout CodeWarrior Integrated Development Environment Recommended Reading Software Upgrades 2. Getting Started PK-HC08QY4 Components Host System Requirements Installing the Software Installing Metrowerks CodeWarrior IDE Installing SofTec Microsystems Additional Components ...

Page 5

... Breakpoints and Swi Instruction Interrupt Execution during Steps Reading Peripheral Status Internal RC Oscillator Calibration DataBlaze Programming Utility 5. Troubleshooting Common Problems and Solutions Communication Can’t Be Established with PK-HC08QY4 Stepping Execution is Slow Communication Lost During Debugging Getting Technical Support Appendix A. Electrical and Physical Specifications 26 26 ...

Page 6

... Overview What is the PK-HC08QY4 Starter Kit? The PK-HC08QY4 Starter Kit is an entry level tool which allows you to get started with the Freescale MC68HC08 family of low-cost, high-performance microcontrollers units (MCUs). The M68HC08 Family is a Complex Instruction Set Computer (CISC) with a Von Neumann architecture ...

Page 7

... Metrowerks CodeWarrior IDE (the same user interface of all Freescale tools), with editor, assembler, C compiler and debugger. Note: the PK-HC08QY4 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 MON08 Interface” section. It contains the circuitry needed to electrically and logically translate MON08-like commands sent by the host PC through the USB cable to the MON08 interface of the microcontroller. The PK-HC08QY4 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-HC08QY4 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 tool, full chip simulation, Data Visualization and project manager with templates to help you concentrate on the added value of your application ...

Page 10

... HC08 instruction set. § MC68HC908QT/QY Data Sheets. Software Upgrades The latest version of the PK-HC08QY4 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-HC08QY4 User's Manual Page 9 ...

Page 11

...

Page 12

... Host System Requirements The PK-HC08QY4 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- HC08QY4 133-MHz (or higher) PC compatible system running Windows 98, Windows 2000 or Windows XP ...

Page 13

... Note: before to connect the PK-HC08QY4 board to the PC recommended that you 2 install all of the required software first (see below), so that the PK-HC08QY4 USB driver will be automatically found by Windows when you connect the board. PK-HC08QY4 requires that both Metrowerks CodeWarrior IDE and SofTec Microsystems PK-HC08QY4 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-HC08QY4 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

... To execute the sample application, follow the next steps Ensure that the PK-HC08QY4 board is connected to the PC (via the USB cable). 2. Verify that both the J5 and J4 jumpers (near the potentiometer and the LEDs) are inserted. This is the factory configuration, and indicates that both the potentiometer and the LEDs are connected to the lines of the microcontroller. 3. Start the CodeWarrior HC(S)08 IDE by selecting Start > ...

Page 16

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

Page 17

... Getting Started 2 8. From the main menu, choose Run > Start/Continue. The program will be executed in real-time. By rotating the potentiometer on the PK-HC08QY4 board, you affect the results of the A/D conversion, and the value of each conversion is displayed on the LEDs. 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 > ...

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)\HC08\SofTec Microsystems\PK-HC08QY4” directory. PK-HC08QY4 User's Manual Page 17 2 ...

Page 19

...

Page 20

... MON08 monitor module. Contrariwise to traditional in-circuit emulation (where the target application is executed and emulated inside the emulator), PK-HC08QY4 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-HC08QY4 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

... To enter the monitor mode some microcontroller lines must be properly driven (for further details please refer to the microcontroller’s data sheet). The PK-HC08QY4 “USB to MON08 Interface” section groups the circuitry needed to generate the required signals to enter the monitor mode and to communicate with the host PC’ ...

Page 23

Hardware Features § One user push-button, connected to the microcontroller’s PTA4 pin. In order to read the status of this push-button, the microcontroller’s internal pull-up must be enabled (through software) on this pin. § One push-button connected to the ...

Page 24

... Creating Your Own Application Using the Project Wizard to Create Your Application Skeleton CodeWarrior HC(S)08 helps you get started with your own application by including a project wizard specific for HC08-based SofTec Microsystems boards. To create a new PK- HC08QY4 project: 1. From the main menu, select File > New. ...

Page 25

... Debugging Features Using Existing Projects with PK-HC08QY4 If your project has been targeted to an emulator/simulator other than PK-HC08QY4 and you wish to use PK-HC08QY4 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-HC08QY4 board as the hardware debugger. The MCU Configuration Dialog Box 5. On the CodeWarrior HC(S)08 debugger interface a new menu (inDART-HC08) will be created. From this menu, select Load and locate the object file your project is based on. ...

Page 27

Debugging Features § The PTA0, PTA2, PTA3 and PTA5 pins of the microcontroller are reserved—in particular, the PTA0 bit in the DDRA Register must not be changed (must be left to input); § The MON08 lines (PTA1 and PTA4) ...

Page 28

... The Trimming Settings dialog box allows you to enable/disable the trimming feature. If enabled possible to specify whether to save the calculated trimmed value in the default location (the location suggested either by Freescale or SofTec Microsystems, restorable at PK-HC08QY4 User's Manual Page 27 4 ...

Page 29

... Communication Settings > Trimming Settings from the CodeWarrior main menu, after entering a debugging session. 4 DataBlaze Programming Utility A full-featured programming utility (DataBlaze) is also provided with the PK-HC08QY4 Starter Kit. To start the DataBlaze utility select Start > Programs > SofTec Microsystems > PK-HC08 Series > DataBlaze Programmer. DataBlaze offers the following advanced features: ...

Page 30

... Automatic trimming calibration; § Serial numbering. Note: due to the evaluation purposes of the PK-HC08QY4 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 ...

Page 31

Debugging Features 4 Page 30 The DataBlaze User Interface ...

Page 32

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

Page 33

... 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-HC08QY4 system software (upgrades are available free of charge at http://www.softecmicro.com). Additional resources can be found on our HC08 online discussion forum ...

Page 34

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

Page 35

...

Page 36

...

Related keywords