Epson S1C33 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Epson S1C33, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Epson S1C33 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Epson S1C33. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Epson S1C33 should contain:
- informations concerning technical data of Epson S1C33
- name of the manufacturer and a year of construction of the Epson S1C33 item
- rules of operation, control and maintenance of the Epson S1C33 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Epson S1C33 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Epson S1C33, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Epson service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Epson S1C33.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Epson S1C33 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    MF1200-02 Debug Monitor Operation Manual CMOS 32 - BIT SINGLE CHIP MICROCOMPUTER S1C33 Family[...]

  • Page 2

    NOTICE No part of this material may be reproduced or duplicated in any form or by any means without the written permission of Seiko Epson. Seiko Epson reserves the right to make changes to this material without notice. Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its appl[...]

  • Page 3

    The information of the product number change Configuration of product number Devices Comparison table between new and previous number S1C33 Family processors Starting April 1, 2001, the product number will be changed as listed below. To order from April 1, 2001 please use the new product number. For further information, please contact Epson sales r[...]

  • Page 4

    [...]

  • Page 5

    TABLE OF CONTENTS S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL i Preface Written for those who develop applications using the S1C33 Family of microcomputers, this manual describes how to implement the S1C33 Family debug monitor library S5U1C330M2S and how to debug the target program. Table of Contents 1 S5U1C330M2S Package ...................[...]

  • Page 6

    [...]

  • Page 7

    1 S5U1C330M2S PACKA GE S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 1 1 S5U1C330M2S Package The Debug Monitor S5U1C330M2S is a middleware designed for S1C33 Family single-chip microcomputers. It provides program-debugging functions on the user target board or for the actual product. 1 .1 Features The following lists the features of S5U1C330M2[...]

  • Page 8

    1 S5U1C330M2S PACKA GE EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 2 1 .2 Components of S5U1C330M2S Package The following lists the contents of S5U1C330M2S Package: When unpacking, make sure that all of the following components are included. (1) Tool disk (3.5' FD for PC/AT, 1.44MB) 1 (2) S1C33 Family Debug Monitor Operation Manual (this[...]

  • Page 9

    1 S5U1C330M2S PACKA GE S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 3 mon33ch0.mak Make file for building mon33ch0.lib mon3 3ch1.mak Make file for building mon33ch1.lib mon33.mak Make file for building mon33.lib mon33ice.mak Make file for building mon33ice.lib src ..... MON33 source files m33_def.h S5U1C330M2S definition file m3c_brk.c C sou[...]

  • Page 10

    2 IMPLEMENTING THE DEBUG MONITOR EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 4 2 Implementing the Debug Monito r This chapter describes how to implement the debug monitor and how to start it from the application program. 2 .1 Resources Required for the Debug Monitor The debug monitor uses the following resources: • Approximately 10KB of ROM[...]

  • Page 11

    2 IMPLEMENTING THE DEB UG MONITOR S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 5 2 .2 Starting Up the Debug Monitor The debug mo nitor starts by jumping to m_mon_start( ). Normally, provide a select switch outside the S1C33 chip for selecting either starting up the debug monitor or a normal execution and create the program that can jump to m_[...]

  • Page 12

    2 IMPLEMENTING THE DEB UG MONITOR EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 6 2 .3 Building an Application Program The S5U1C330M2S modules are provided as a library file "mon33*.li b" in the directory "lib". Link this library to the user modules. When using the serial interface on the S1C33 chip and the S5U1C330MxD1 boa[...]

  • Page 13

    2 IMPLEMENTING THE DEB UG MONITOR S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 7 2 .4 Creating Communication Control Routines For communicating with the debugger, the debug monitor calls the following four RS232C routines (1 to 4). "mon33chX.lib" that contains these routines can be used when using the serial interface Ch.0 or Ch.1 o[...]

  • Page 14

    2 IMPLEMENTING THE DEB UG MONITOR EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 8 (2) void m_snd_1byte(unsigned char) This is a routine that send s 1-byte data. This routine receives 1-byte data as the argument (R12 register) and sends it via the serial interface. Return value is not necessary. Example: m_snd_1byte( ) of "m3s_sci.s" ;[...]

  • Page 15

    2 IMPLEMENTING THE DEB UG MONITOR S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 9 (4) void m_dummy_rd( ) This is a dummy read routine. It reads data from the receive buffer and clears the buffer. Return value is not necessary. Example: m_dummy_rd( ) of "m3s_sci.s" ;*********************************************************************[...]

  • Page 16

    3 TARGET PROGRAM AND D EBUGGING EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 10 3 Target Prog ram and Debugging This chapter describes precautions for debugging using the debug monitor. 3 .1 Notes for Creating Target Programs Follow the instructions below when creating the target program to be debugged: • Since the debug monitor uses the deb[...]

  • Page 17

    3 TARGET PROGRAM AND DEBUGGING S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 11 3 .3 Starting Up and Terminating Procedure of Debugging Follow the procedure below to start debugging. 1. Make sure the power of the target board and personal computer are off. 2. Connect the S5U1C330MxD1 board to the target board in which the debug monitor is impl[...]

  • Page 18

    3 TARGET PROGRAM AND D EBUGGING EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 12 3 .4 Debugging Method The following three methods are available for debugging the target program. 1. Debugging in the ROM Map t he target program in the ROM after linking to the debug monitor. The target program can be executed and debugged in the ROM. Since the [S[...]

  • Page 19

    3 TARGET PROGRAM AND DEBUGGING S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 13 3. Debugging in the Flash memory In the target system in which a Flash memory has mounted, the target program can be debugged by writing it into the Flash memory using the debugger. Notes : • When debugging the target program in the Flash memory, the soft ware br[...]

  • Page 20

    3 TARGET PROGRAM AND D EBUGGING EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 14 3 .5 Precautions for Debugging 3 .5 .1 Restriction on Debugging Command When the debug monitor is used for debugging, the following debugging functions/commands are not available or allowed to be used. When the following commands/functions are used, an error messag[...]

  • Page 21

    APPENDIX S5U1C330MXD1 BOARD S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 15 Appendix S5U1C330MxD1 Board This chapter describes how to use the S5U1C330MxD1 board. A.1 Outline of S5U1C330MxD1 Board The S5U1C33 0MxD1 board provides the interface for the debug monitor to the demonstration tools such as the S5U1C33104Dx or the user target board. T[...]

  • Page 22

    APPENDIX S5U1C330MXD1 BOARD EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 16 A.3 Connecting the System Note : When connecting and disconnecting the system, make sure to turn off the power of the S5U1C33xxxDx/ target board and the personal computer. Connecting to the S5U1C33xxxDx board/user target board S5U1C33xxxDx/target board I/F connector S5[...]

  • Page 23

    APPENDIX S5U1C330MXD1 BOARD S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 17 A.4 S5U1C330MxD1 Block Diagram V CC V CC V CC RXD TXD RTS CTS DTR DSR SG V CC RxD (SINx) TxD (SOUTx) SCLK (SCLKx) RESET (SW1: ON = L, OFF = H) NMI (SW2: ON = L, OFF = H) DEBUG (SW3: ON = L, OFF = H) GND RS232C connector (Dsub 9 pins) S5U1C33xxxD1/target board I/F conn[...]

  • Page 24

    APPENDIX S5U1C330MXD1 BOARD EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 18 A.5 Program Debugging with a S5U1C33xxxDx Board and S5U1C330M2S This section describes the debugging procedure of the program on the target system configured with the S5U1C330MxD1 board and the S5U1C33104Dx/S5U1C33209Dx board using the S5U1C330M2S. The sample program f[...]

  • Page 25

    APPENDIX S5U1C330MXD1 BOARD S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 19 Building the sample program It is not necessary to execute Make when modification of the source is not needed since the executable object files ("led.srf," "led2.srf") are provided in the "sample" folder. When the source is modified, exe[...]

  • Page 26

    APPENDIX S5U1C330MXD1 BOARD EPSON S1C33 FAMILY DEBUG MONITOR OPERATION MANUAL 20 Debugging in the Flash memory The sample program for debugging in the Flash memory (0x200000~) of the S5U1C33104Dx/S5U1C33209Dx is "led2.srf". The debugger db33 ver. 1.72 or later version supports debugging in the Flash memory. Refer to the "Debugger&quo[...]

  • Page 27

    APPENDIX S5U1C330MXD1 BOARD S1C33 FAMILY DEBUG M ONITOR EPSON OPERATION MANUAL 21 A.6 Indispensable Signal Pins of S5U1C330MxD1 When using the S5U1C330M2S it is not absolutely necessary to connect the NMI, RESET and DEBUG switches/signals on the S5U1C330MxD1 board. If these switches are not used, the target board can be connected to the S5U1C330MxD[...]

  • Page 28

    AMERICA EPSON ELECTRONICS AMERICA, INC. - HEADQUARTERS - 1960 E. Grand Avenue EI Segundo, CA 90245, U.S.A. Phone: +1-310-955-5300 Fax: +1-310-955-5400 - SALES OFFICES - West 150 River Oaks Parkway San Jose, CA 95134, U.S.A. Phone: +1-408-922-0200 Fax: +1-408-922-0238 Central 101 Virginia Street, Suite 290 Crystal Lake, IL 60014, U.S.A. Phone: +1-81[...]

  • Page 29

    In pursuit of “Saving” T echnology , Epson electronic devices . Our lineup of semiconductors, liquid crystal displays and quartz devices assists in creating the products of our customers’ dreams. Epson IS energy savings .[...]

  • Page 30

    http://www.epson.co.jp/device/ Debug Monitor Operation Manual S1C33 Family EPSON Electronic Devices Website ELECTRONIC DEVICES MARKETING DIVISION First issue April, 1 999 Printed February, 2001 in Japan A M[...]