Zilog S3F8S19 User Manual

S3 Family of Microcontrollers
S3F8S19 Development Kit
UM026801-0914
Copyright ©2014 Zilog®, Inc. All rights reserved.
www.zilog.com
S3F8S19 Development Kit
Warning:
User Manual
DO NOT USE THIS PRODUCT IN LIFE SUPPORT SYSTEMS.
LIFE SUPPORT POLICY
ZILOG’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF ZILOG CORPORATION.
As used herein
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user. A criti­cal component is any componen t in a li fe supp ort device o r syste m whose failure to p erform ca n be re ason­ably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
ii
Document Disclaimer
©2014 Zilog, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology described is intended to suggest possible uses and may be superseded. ZILOG, INC. DOES NOT ASSUME LIABILITY FOR OR PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED IN THIS DOCUMENT. ZILOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering.
S3 and Z8 are trademarks or registered trademarks of Zilog, Inc. All other product or service names are the property of their respective owners.
UM026801-0914 Disclaimer

Revision History

Each instance in this document’s revision history reflects a change from its previous edi­tion. T o learn more, refer to the corresponding page(s) or appropriate links furnished in the table below.
Revision
Date
Sep 2014
Level Description Page
01 Original issue. n/a
S3F8S19 Development Kit
User Manual
iii
UM026801-0914 Revision History

Overview

S3F8S19 Development Kit
User Manual
Zilog’s S3F8S19 Development Kit, part number S3F8S190100ZCOG, allows you to eval­uate your S3F8S19-based designs and applications. The Kit features a Development Board consisting of the following components:
Four LEDs
Five pushbuttons
Buzzer/speaker
LCD module
UART
1
This user manual provides instructions for setting up and configuring the S3F8S19 Devel­opment Board. It includes schematic diagrams and a discussion of the Board features and ZDS II.
The S3F8S19 Development Board features an S3F8S19 MCU in a 48-pin QFP package, plus an S3 PGM connector to connect the Board to a host development PC using the S3 Flash In-System Programmer (ISP). To learn more about the S3F8S19 MCU, refer to the
S3F8S19 Product Specification (PS0312) User Manual (UM0266).
This document guides you through the following tasks:

Kit Contents

The S3F8S19 Development Kit contains the following items:
and/or the S3 Flash In-System Programmer
Downloading and installing ZDS II software and documentation Installing the S3 Flash ISP driver Connecting the S3 Flash ISP and S3F8S19 Development Boar d to your PC Starting the S3F8S19 Ledblink sample program
S3F8S19 Development Board
S3 Flash ISP
10-circuit ribbon cable
USB A (male) to Mini-B USB cable (2)
S3F8S19 Development Kit hardcopy insert
UM026801-0914 Overview
S3F8S19 Development Kit
Figure 1 shows the contents of the S3F8S19 Development Kit.
User Manual
2

Features

Figure 1. The S3F8S19 Development Kit
The S3F8S19 Development Kit includes the following key items.
S3F8S19 Development Board, which contains the following features:
S3F8S19 48-pin QFP MCU operating at 12 MHz, with 32 KB of internal Flash
memory and 2 KB of internal RAM memory
USB interface to supply power to the board and used as a PC virtual COM port
with the S3 Monitor and Boot Loader libraries
LCD module Buzzer/Speaker UART Connector footprint Test Points footprint for all pins of MCU MCU current measurement Test Points J7 and J8 Power Supply level adjustable with potentiometer R16
S3 Flash In-System Programmer
ZDS II software, samples, and documentation available free for download
Sample programs
UM026801-0914 Features
S3F8S19 Development Kit
Note:
Caution:

Supported Host Environments

The S3F8S19 Development Board supports the following operating systems:
Microsoft Windows 7 (32-bit/64-bit)
Microsoft Windows Vista (32-bit/64-bit)
Microsoft Windows XP

Install the ZDS II Software and Documentation

Observe the following steps to download and install your ZDS II software and documenta­tion.
User Manual
3
If you have already installed ZDS II – S3 <version> and have downloaded the software and documentation by following the procedure on the paper insert in your kit (FL0167), skip ahead to the next section.
1. Prior to connecting the S3F8S19 Development Board to your development PC, down­load ZDS II for S3 Family devices version 5.2.0 (or later) from the
Software
2. When the download is complete, unzip the file to your hard drive. Double-click the installation file named ZDS II – S3_<version>.exe, and follow the on-screen instruc­tions.
category in the Zilog Store.

Establish a Connection with the PC

Observe the following procedure to connect the S3 Flash ISP and S3F8S19 Development Board to your PC.
Disconnect or turn off the power to the S3F8S19 Development Board before connecting or disconnecting the S3 Flash ISP.
Downloadable
1. Connect the Mini-B side of the USB A (male)-to-Mini-B cable to the S3 Flash ISP. Connect the other end of this cable to the PC, as shown in Figure 2.
UM026801-0914 Supported Host Environments
S3F8S19 Development Kit
User Manual
Figure 2. Connecting the S3 Flash ISP to the Development PC
2. Install the S3 Flash ISP driver as described in Appendix B. Install the S3 Flash ISP
Driver on page 21.
4
3. Connect the 10p 5x2 ribbon cable to the S3 Flash ISP, as shown in Figure 3.
Figure 3. Connecting the 10-pin Ribbon Cable to the S3 Flash ISP
4. Connect the other end of the ribbon cable to Jumper J6 on the Development Board. Ensure that Pin 1 on the ribbon cable is aligned with Pin 1 on the target connector, as indicated in Figure 4.
UM026801-0914 Establish a Connection with the PC
Figure 4. Debug Connector J6
Caution:
S3F8S19 Development Kit
User Manual
5
Ensure that you connect the 10 pin ribbon cable using the correct orientation to prevent damage to the S3 Flash ISP.
5. With the USB A (male) to Mini-B cable, connect Port P1 on the S3F8S19 Develop­ment Board to a USB port on the Development PC to apply power to the Development Board, as indicated in Figure 5.
Figure 5. Power Supply Port P1 Connector
6. Install the Virtual COM port driver as described in Appendix C.
Install the USB Vir-
tual COM Port Driver on page 24.
UM026801-0914 Establish a Connection with the PC
S3F8S19 Development Kit
User Manual
After completing the procedure to connect the S3F8S19 Development Board to the PC, the complete setup appears as shown in Figure 6.
6
Figure 6. The Completed ISP and Development Board Assembly

Start the S3F8S19 Ledblink Sample Program

The S3F8S19 Development Kit includes a sample program that demonstrates an LED blinking application. To start the S3F8S19 Ledblink sample program, observe the follow­ing procedure.
1. Launch ZDS II by navigating from the Windows Start menu to
ZDS II
S3 <Version> ZDS II S3 <Version>.
2. From the gate to the following filepath:
<ZDS Install>\samples\S3F8S19\ledblink_asm
File menu in ZDS II, select Open Project as indicated in Figure 7, and navi-
Programs Zilog
UM026801-0914 Start the S3F8S19 Ledblink Sample Program
S3F8S19 Development Kit
Figure 7. The Open Project Selection in the File Menu
User Manual
7
3. Select the ledblink.zdsproj project from within the ledblink_asm folder as indicated in Figure 8 and click
Open. A list of source files will appear in the Work-
space panel.
Figure 8. Select the ledblink.zdsproj Project
4. From the
Build menu, select Set Active Configuration to open the Select Configura-
tion dialog box.
5. Select
6. From the
UM026801-0914 Start the S3F8S19 Ledblink Sample Program
Debug, then click OK to close the Select Configuration dialog box.
Project menu in ZDS II, select Settings to open the Project Settings dialog
box. In the Project Settings dialog box, click the
Debugger tab.
S3F8S19 Development Kit
User Manual
7. On the Debugger page, select S3FlashIsp from the Target list, then select S3FlashIsp from the
Debug Tool drop-down menu, as indicated in Figure 9.
8
Figure 9. Select the Target and Debug Tool
UM026801-0914 Start the S3F8S19 Ledblink Sample Program
S3F8S19 Development Kit
Note:
Note:
User Manual
8. After selecting S3FlashIsp from the Debug Tool drop-down menu, click Setup to select the serial number of the S3 Flash ISP you are using, as indicated in Figure 10.
9
Figure 10. The Setup USB Communication Dialog
The serial number you see on your screen will be different from the serial number shown in Figure 10.
9. Click
10. Click
11. If you are prompted to rebuild any affected files, click
OK to close the Setup USB Communication dialog box. OK to close the Project Settings dialog box.
from the menu bar, then click
Rebuild All. The following message is displayed.
Yes. Otherwise, choose Build
OUTPUT CHECKSUM ledblink.hex C3A7 ledblink.lod C3A7 0 warning(s) 0 error(s) Build succeeded.
This Output Checksum message is an example and may not match the actual checksum of the project for a particular release of the ZDS installation software.
UM026801-0914 Start the S3F8S19 Ledblink Sample Program
Loading...
+ 26 hidden pages