background image

 

 

SK-S12(X) Series 

ZK-S12(X) Series 

 

Starter Kits for 

Freescale HCS12(X) Family 

 

User’s Manual 

Revision 1.0 

 

 

 

 

 

 

 

Copyright © 2005 SofTec Microsystems

®

 

DC00891

Содержание SK-S12 Series

Страница 1: ...User s Manual Starter Kits for Freescale HCS12 X Family SK S12 X Series ZK S12 X Series...

Страница 2: ......

Страница 3: ...SK S12 X Series ZK S12 X Series Starter Kits for Freescale HCS12 X Family User s Manual Revision 1 0 Copyright 2005 SofTec Microsystems DC00891...

Страница 4: ...s assumes no responsibility for its use nor for any infringements of rights of third parties which may result from its use SOFTEC MICROSYSTEMS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DAT...

Страница 5: ...ware Upgrades 10 1 6 Getting Technical Support 10 2 Hardware Features 11 2 1 Standard Features 11 2 1 1 MCU Section 11 2 1 2 Power Supply Section 12 2 1 3 USB to BDM Interface 12 2 1 4 BDM Connector 1...

Страница 6: ...Tips 31 4 4 1 Reading Peripheral Status 31 4 4 2 Breakpoints and the BGND Instruction 31 4 4 3 STOP Assembly Instruction 31 4 4 4 WAIT Assembly Instruction 32 4 4 5 Microcontroller Peripheral Running...

Страница 7: ...statements of any kind in this document its updates supplements or special editions whether such errors are omissions or statements resulting from negligence accidents or any other cause 0 2 Required...

Страница 8: ......

Страница 9: ...ovide you with everything you need to write compile download in circuit emulate and debug user code Full speed program execution allows you to perform hardware and software testing in real time The St...

Страница 10: ...se any user memory or locations in the memory map and does not share any on chip peripherals The background debug module BDM uses a single wire communication interface to allow non intrusive access to...

Страница 11: ...the development cycle from board bring up to firmware development to final application development Without a license key the product will run in a 1 KB code size limited demonstration mode To break t...

Страница 12: ...have the option to electronically register the product If you register the product you will be automatically notified by e mail every time a new version of the system software is available 1 6 Getting...

Страница 13: ...ection Outputs section RS 232 section Prototype area Additionally each Starter Kit may feature special additional functions i Note for a detailed list of the hardware features of your specific Starter...

Страница 14: ...1 3 USB to BDM Interface The USB to BDM interface is a circuitry that electrically and logically translates BDM like commands sent by the host PC through the USB cable to the BDM interface of the mic...

Страница 15: ...nnected to the microcontroller through jumpers Some Starter Kits may feature additional functions 2 1 8 RS 232 Section Depending on the specific Starter Kit one or more RS 232 channels are available E...

Страница 16: ......

Страница 17: ...ual 3 2 Operating Mode The Starter Kit can work in two ways Standalone mode and Host mode 3 2 1 Standalone Mode In Standalone mode no PC connection is required The microcontroller is factory programme...

Страница 18: ...the application by for example executing the program step by step and watching how the microcontroller registers vary using CodeWarrior Development Studio provided In Host mode the Starter Kit can be...

Страница 19: ...00 MB of available hard disk space 3 A USB port 4 CD ROM drive for installation 3 4 Installing the Software i Note before connecting the Starter Kit to the PC it is recommended that you install all of...

Страница 20: ...e programming utility Examples Starter Kit s specific user s manual Starter Kit s specific schematic Additional documentation To install the SofTec Microsystems Additional Components insert the SofTec...

Страница 21: ...nd of the USB cable into a free USB port on the host PC 4 Insert the other end of the USB cable into the USB connector on the Starter Kit board 5 The first time the Starter Kit is connected to the PC...

Страница 22: ...arning is related to the fact that the USB driver used by the Starter Kit is not digitally signed by Microsoft and Windows considers it to be potentially malfunctioning or dangerous for the system How...

Страница 23: ...l provide a step by step guide on how to launch your project and get started with the CodeWarrior user interface 1 Ensure that the Starter Kit is connected to the PC via the USB cable and that the boa...

Страница 24: ...er the Program Files SofTec Microsystems SK and ZK S12 X Series CodeWarrior Examples Your Starter Kit Code Your Target Microcontroller Demo directory Click Open The following window will appear 5 The...

Страница 25: ...ries User s Manual Page 23 6 From the main menu choose Project Debug This will compile the source code generate an executable file and download it to the Starter Kit board 7 A new debugger environment...

Страница 26: ...t 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 executio...

Страница 27: ...3 SK ZK Series User s Manual Page 25 features select Help CodeWarrior Help from CodeWarrior Development Studio s main menu...

Страница 28: ......

Страница 29: ...u select File New 2 A dialog box will appear Select HC S 12 New Project Wizard 3 Follow the Project Wizard steps making sure you select the correct microcontroller derivative you are working with and...

Страница 30: ...r Kit s built in USB to BDM interface is based on the SofTec Microsystems inDART debugging engine CodeWarrior is interfaced to the inDART engine through a so called GDI Target Interface If your projec...

Страница 31: ...face with the Starter Kit Select the SofTec_BDM12 dll file located in the Program Files Metrowerks CodeWarrior CW12 prog directory 3 The MCU Configuration dialog box will appear allowing you to select...

Страница 32: ...crocontroller s debug peripheral However depending on the details of the debug peripheral embedded in the specific microcontroller you are working with some debug features may or may not be available...

Страница 33: ...Breakpoints and the BGND Instruction The BGND Assembly instruction forces the target microcontroller to enter the Active Background Debug mode stopping program execution CodeWarrior recognizes this ev...

Страница 34: ...is possible to view edit the contents of the Memory window and Data window in real time edit operations are only available for RAM locations and peripheral registers For example it is possible to set...

Страница 35: ...in RAM or in FLASH In both cases an unlimited number of software breakpoints can be set To set a software breakpoint in a RAM location just insert a breakpoint to that location CodeWarrior will automa...

Страница 36: ...rter Kit To start the DataBlaze utility select Start Programs SofTec Microsystems SK and ZK S12 X Series DataBlaze Programmer DataBlaze offers the following advanced features Code data memory editing...

Страница 37: ...e Program operation automatically verifies the programmed data by reading back the programmed data and checking it against the buffer sent to the target device The Verify operation is much more secure...

Страница 38: ...4 Debugging Features Page 36 In the Auto operation a Run option is available which if enabled resets the microcontroller and runs the user application at the end of programming...

Страница 39: ...s marked the device as disabled As a consequence CodeWarrior cannot communicate with the Starter Kit board To restore the USB driver provided both CodeWarrior and SofTec Microsystems Additional compon...

Страница 40: ...er s main menu this is because the target has not been recognized by CodeWarrior No link to Target appears in the status bar In this case from the GDI menu choose MCU Configuration and verify that the...

Страница 41: ...rt Technical assistance is provided free to all customers For technical assistance documentation and information about products and services please refer to your local SofTec Microsystems partner SofT...

Страница 42: ......

Страница 43: ......

Страница 44: ...Copyright SofTec Microsystems Freescale and the Freescale logo are trademarks of Freescale Semiconductor Inc Designed by...

Отзывы: