Zilog S3F80P5 User Manual

S3 Family of Microcontrollers
S3 Flash In-System Programmer
User Manual
Copyright ©2015 Zilog®, Inc. All rights reserved.
www.zilog.com
S3 Flash In-System Programmer
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
©2015 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.
Z8, Z8 Encore!, ZNEO and Z16F are trademarks or registered trademarks of Zilog, Inc. All other product or service names are the property of their respective owners.
UM026602-0515 PRELIM I N A R Y Disclaimer

Revision History

Each instance in this document’s revision history reflects a change from its previous edi­tion. For more details, refer to the corresponding page(s) or appropriate links furnished in the table below.
Revision
Date
May 2015
Jun 2014
Level Description Page
02 Applicable to S3USBISP000ZACG Rev C or later.
Added Windows 8 (32/64-bit) to Supported Host Environment Updated Figure 2, Figure 5, and Figure 6 Edited Wording in ISP Interface Section Edited Wording in Target Power Section Edited Steps 4, 6, and 8 in Appendix A Added Step 10 in Apendix A
01 Original issue. n/a
S3 Flash In-System Programmer
User Manual
iii
2
3, 7, 8
3 4 6 8
UM026602-0515 PRELIM I N A R Y Revision History

Overview

S3 Flash In-System Programmer
User Manual
Zilog’s S3 Flash In-System Programmer (S3USBISP000ZACG) provides an interface between any development or application board with an S3 microcontroller device to the high-speed USB port of a PC that has Zilog Developer Studio II (ZDS II) installed.
The In-System Programmer (ISP), shown in Figure 1, allows the Flash memory space on any S3 Family device to be programmed, and also offers limited debugging capabilities when used together with the Zilog Debug Library. The following features are available with S3 Flash In-System Programmer when using ZDS II:
Download code to Flash and begin program execution.
Break program execution arbitrarily.
Insert multiple breakpoints in a program at compile/assembly time; only one break­point is triggered during program execution. To proceed with debugging, the MCU must be reset.
1
After an arbitrary break during breakpoint execution, the status of the chip (e.g., RAM content), standard and special function registers can be examined in ZDS II.
Figure 1. The S3 Flash In-System Programmer
UM026602-0515 PRELIM I N A R Y Overview
This document describes how to install the S3 Flash In-System Programmer device and its associated drivers. After the device is connected and the drivers and library are installed, you can proceed with the developing and debugg ing of your code an d hardware as described in the documentation that is applicable to your development board.

Kit Contents

The S3 Flash In-System Programmer Kit contains the following items:
S3 Flash In-System Programmer
User Manual
2
S3 Flash In-System Programmer USB cable with Type-A and Type Mini-B connectors 10-wire ribbon cable
S3 Flash In-System Programmer Kit hardcopy insert (FL0165)

Supported Host Environments

The S3 Flash In-System Programmer operates in the following environments:
A host PC running ZDS II – S3 version 5.2.0 or later
Windows 7 (32/64-bit), Windows Vista (32/64-bit), Windows XP (32-bit) operating systems, or Windows 8 (32/64-bit).
One USB full-speed port on the host computer or a USB hub connected to the host com­puter

Supported Target Environments

The S3 Flash In-System Programmer supports the following targets:
Any S3 Family development board
Any other development or application board with any S3 Family de vice

Installing the S3 Flash ISP Driver

To install drivers for the S3 Flash In-System Programmer, see Appendix A. Installing the
S3 Flash ISP Driver on page 6.
UM026602-0515 PRELIM I N A R Y Kit Contents

10-Pin Connector

The S3 Flash In-System Programmer connects to the S3 Family Development Board (or other target board with an S3 device) using a 10-pin ribbon cable and 2x5 female connec­tors. Pin 1 of this cable is marked by a red wire. An S3 Flash ISP male connector is required on the target system; it is a 2x5 header with standard 0.025-inch square posts on
0.100 inch centers, the same as headers commonly used for jumper blocks. The connector used on all S3 development boards is FCI part number 67997-210HLF.
Figure 2 shows the connections between the ISP connector and the S3 Flash MCU. When connecting the ribbon cable to your target board, ensure that you align Pin 1 of the cable with Pin 1 of the connector on the board.
S3 Flash In-System Programmer
User Manual
3
Figure 2. Target ISP Connector Interface

ISP Interface

The S3 Flash ISP interface consists of the following signals:
TEST/VPP. T est Mode signal; when driven High, thi s signal places the S3 Flash MCU into
T est Mode to make on-chip Flash memory available for access by the S3 Flash ISP . Ensure that you place a 0.1 µF capacitor and 10KOhm resistor between this pin and Ground, as shown in Figure 2.
UM026602-0515 PRELIM I N A R Y 10-Pin Connector
RESET. Input; an active Low signal that resets the S3 Flash MCU. SDAT. Serial data; bidirectional signal. SCLK. Serial clock; input for the S3 Flash MCU. VDD, VSS. Power.

Target Power

During programming, downloading and debugging, power to the S3 target can be pro­vided by the development board through the USB connector or an ex ternal power sour ce. Alternatively , the S3 Flash ISP can be configured to supply power to the S3 target. Please note however, that the S3 Flash ISP is only capable of providing up to 10 0mA of current at
3.3V. If the target board requires more current, be sure to connect the USB cable and/ or use an external power source.
S3 Flash In-System Programmer
User Manual
4
It is safe to apply additional power when the S3 Flash ISP is connected to a target board because the S3 Flash ISP device features a built-in diode on the V

Ground

Ensure a good ground connection between the S3 Flash MCU and the connector to avoid injection of noise into the SDAT, the SCLK, and especially the TEST/V code download and debugging.

Connecting to the Target Board

Observe the following procedure to safely connect the S3 Flash In-System Programmer (ISP) to the target board.
1. Connect the Mini-B connector of the USB cable to the S3 Flash ISP.
2. Connect the Type A connector of the same USB cable to the host PC. The yellow LED of the S3 Flash ISP will illuminate.
3. If you are following this procedure for the first time, ensure that the USB driver has been properly installed; see Appendix A.
4. Connect the 10-pin ribbon cable to the S3 Flash ISP as shown in Figure 3.
line.
DD
traces during
PP
Installing the S3 Flash ISP Driver on page 6.
UM026602-0515 PRELIMINA R Y Target Power
S3 Flash In-System Programmer
User Manual
5
Figure 3. Target Board and ISP Assembly
5. Connect the other end of the ribbon cable to the target board. Observe that Pin 1 of the target board connector is connected to Pin 1 of the ribbon cable. Pin 1 of the ribbon cable is marked by a red wire on the cable.
6. Apply power to the target board.
UM026602-0515 PRELIM I N A R Y Connecting to the Target Board
S3 Flash In-System Programmer

Appendix A. Installing the S3 Flash ISP Driver

Observe the following procedure to install the S3 Flash ISP driver on a W i n dows 7 sys­tem. A similar installation can be followed on Vista or XP machines.
1. Connect the S3 Flash ISP to a USB port on your development PC. When the PC detects the new hardware, it will display the Installing Device Driver Software dialog.
2. Windows automatically searches for the driver; this process can take a few moments. Because there is no option to terminate this search process, wait for the search to com­plete. If Windows cannot find the driver, you will see a message similar to the image shown in Figure 4. If that is the case, close the search dialog and proceed to the next ste p.
User Manual
6
Figure 4. A Windows Driver Installation Failure Message
3. In the Search programs and files field in the Windows Start menu, enter Device
Manager
4. From this list of results, click which presents a list of devices that operate on your PC. Find and toggle
devices
. The Device Manager will appear in a list of search results.
Device Manager to open the Device Manager dialog,
Other
to view a sublist of additional devices, select the S3 Flash ISP II device and
then right-click on Properties as shown in Figure 5.
UM026602-0515 PRELIM I N A R Y Connecting to the Target Board
S3 Flash In-System Programmer
User Manual
7
Figure 5. The Windows Device Manager Dialog
5. In the submenu that appears, click Update Driver Software....
6. In the Update Driver Software - S3 Flash ISP II dialog that appears, click the
my computer for driver software
7. Click the
<ZDS II Installation Directory>\device drivers\USB
Browse... button to navigate to the following driver directory:
option.
Browse
8. Click Next to install the driver. A security dialog may appear; if it does, select Install.
9. Driver installation may take a few moments to finish. After the installation wizard completes the installation (see Figure 6), click
UM026602-0515 PRELIM I N A R Y Connecting to the Target Board
Close.
S3 Flash In-System Programmer
Note:
User Manual
8
Figure 6. The Windows Update Driver Software Complete Dialog
10. Repeat steps 4 through 9 for the ISP II DFU and S3 Console devices.
The ISP II DFU device can be used to update the firmware in the USB ISP. It is not neces­sary to install the ISP II DFU driver on the PC until a firmware update needs to be per­formed. The S3 Console device is used to provide a virtual COM port on the PC through which the S3 Monitor and/or Boot Loader libraries can communicate, instead of using a physical serial port. If the application programmed into the target S3 device does not use the S3 Monitor and/or Boot Loader libraries, or the application uses a standard UART for the Monitor and/or Boot Loader console, it is not necessary to install the S3 Console driver on the PC.
UM026602-0515 PRELIM I N A R Y Connecting to the Target Board
Loading...