Manuale d’uso / di manutenzione del prodotto S1C33 del fabbricante Epson
Vai alla pagina of 30
MF1200-02 Debug Monitor Operation Manual CMOS 32 - BIT SINGLE CHIP MICROCOMPUTER S1C33 Family.
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.
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.
.
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.
.
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 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.
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.
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 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( ).
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.
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.
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.
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.
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 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.
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.
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.
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.
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.
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.
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) RESE.
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.
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.
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.
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.
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.
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.
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 Jap.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Epson S1C33 è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Epson S1C33 - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Epson S1C33 imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Epson S1C33 ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Epson S1C33, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Epson S1C33.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Epson S1C33. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Epson S1C33 insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.