Page 1
Hardware-Manual Edition December 1999 A product of a PHYTEC Technology Holding company...
Page 2
The information in this document has been carefully checked and is believed to be entirely reliable. However, PHYTEC Meßtechnik GmbH assumes no responsibi- lity for any inaccuracies. PHYTEC Meßtechnik GmbH neither gives any guarantee nor accepts any liability whatsoever for consequential damages resulting from the use of this manual or its associated product.
Contents Preface ......................1 Introduction to the kitCON-161CS/JC/JI .........1 1.1 Block Diagram................3 1.2 Overview of the kitCON-161CS/JC/JI .........4 Quickstart Instructions ...............5 2.1 Starting the kitCON using a Monitor program ......6 2.2 Starting the kitCON and programming the Flash ......9 2.3 Internal Flash memory programming .........12 Pinout....................13...
Page 4
12.2 Downloading into Flash ............. 51 Index......................53 Figure 1: Block Diagram ................3 Figure 2: Overview of the kitCON-161CS/JC/JI (Component side)..4 Figure 3: The Power-Plug................5 Figure 4: Important Jumpers and Connectors for Start-up ......6 Figure 5: The main menu of the FlashTools..........
3 m. Implementation of PHYTEC products into target devices, as well as user modifications and extensions of PHYTEC products, is subject to renewed establishment of conformity to, and certification of, EMV- Statutes.
Page 6
ESD-dangers. The kitCON-161CS/JC/JI is one of a series of PHYTEC kitCONs that can be fitted with different controllers and, hence, offers various func- tions and configurations. PHYTEC supports all common Infineon’ 8-...
Introduction 1 Introduction to the kitCON-161CS/JC/JI The kitCON-161CS/JC/JI is an EURO-sized (160 x 100 mm) Eval- uation Board for the Infineon C161x microcontroller of the C166- microcontroller family. It can house C161 derivatives of type C161CS/JC or JI in a TQFP-128 package. These derivatives differ in number and type of the on-chip interfaces (refer to Table 1).
Keil Elektronik GmbH, which downloads a Monitor program enabling simple debugging of user code. The following sections provide a step by step description for starting the kitCON-161CS/JC/JI using the FlashTools as well as for starting the kitCON-161CS/JC/JI using the Monitor program polatity: center hole +8..12VDC...
Important Jumpers and Connectors for Start-up 2.1 Starting the kitCON using a Monitor program • Use of the Monitor program requires a kitCON-161CS/JC/JI and an IBM-PC or a compatible system, as well as an unregulated power supply for 8 V= - 12 V= /500 mA. Typically, all jumpers for configuring the kitCON-161CS/JC/JI have been correctly set upon delivery of the board.
Page 13
Monitor program kitCON-161CS/JC/JI, as a special transmission protocol is required. Ensure that only DOS is active at the time of the invocation. Ensure that the directory in which MON166.EXE is started con- tains the two files ’boot’ and ’monitor’ for the Controller C161.
Page 14
• To leave the Monitor program press <F1> Quickstart Instructions for using a Monitor program - Summary • Connect the kitCON-161CS/JC/JI to an IBM-PC or a compatible system using a serial cable (P1 to COM1 or COM2) • Turn switch 1 of Dip-Switch S3 ON •...
2.2 Starting the kitCON and programming the Flash • Use of the FlashTools requires a kitCON-161CS/JC/JI and an IBM- PC or a compatible system, as well as an unregulated power supply for 8 V= - 12 V= /500 mA. Typically, all jumpers for configuring the kitCON-161CS/JC/JI have been correctly set upon delivery of the board.
Page 16
After successfully loading the FlashTools will automatically start and the FlashTools main menu will appear on the monitor screen of the Host-PC. ==================================================================== FLASH-Utility for 80C16X V 2.5 ==================================================================== (c) 1994, PHYTEC Meßtechnik GmbH, D-55129 Mainz Flash-Devices: AMD 29F010 Flash-Area: 000000H-03FFFFH Software-Protected-Areas #1: none...
Page 17
’Hello World !...’ which appears on the screen of the Host-PC. The program can also be exe- cuted by pressing the RESET button on the kitCON-161CS/JC/JI after turning OFF switch 1 of DIP-switch S3 (i.e.: toggling the kitCON-161CS/JC/JI into execution mode).
3.1 Power Connectors X5, X4 There are two ways to provide power to the kitCON-161CS/JC/JI: • connection via the VG96 connector at X4 • connection via the low voltage socket at X5 Attention: Please do not use a laboratory or variable power supply, as power spikes during power-up could destroy the PHYTEC module mounted on the kitCON-161CS/JC/JI.
JP10 must be closed in position 1+2. At the time of delivery jumper JP10 is closed at 2+3, i.e. the J1850 Transceiver is supplied from the kitCON-161CS/JC/JI’s supply voltage. Note: To ensure full functionality of the J1850-bus the use of an external power supply for the transceiver is recommended.
JP11, JP12 Figure 14: Numbering of the Jumper-Pads * = J8 – J10 and J13 – J15 are on the back side of the kitCON-161CS/JC/JI Figure 15: Position of the Jumpers (component side) and default-setting (standard version of the kitCON-161CS/JC/JI)
Page 30
61/65 and 62/66 In order to utilize the special features of a specific controller on the kitCON-161CS/JC/JI other jumpers might be set additionally The availability of this interface depends on the controller mounted on the kitCON- 161CS/JC/JI.
4.2 DB9-plug P3 JP2, JP4, JP9 If the kitCON-161CS/JC/JI houses a C161CS or Jx Controller DB9- plug P3 carries either the CAN-Signals or the signals of the J1850- Interface. Jumper JP2 and JP9 determine which signals are available at DB9-plug P3.
* = Default-Setting 4.5 Connection of the CAN-Interfaces JP7 If the kitCON-161CS/JC/JI houses a C161CS Controller it is possible to connect both CAN-interfaces of the controller via jumper JP7. Using this option enables easy testing of CAN-applications without necessity...
Jumper JP10 selects the supply voltage for the J1850-driver. The driver can be supplied either from the board-level power supply for the kitCON-161CS/JC/JI, or through an external power supply that can be connected to the two-wire clamp at X7 Supply voltage of the J1850-Driver...
P4.4 – P4.7. With jumpers JP11 and JP12 these alternate functions of port P4 can be enabled on the kitCON-161CS/JC/JI. The Table below shows the pinout of ports P4.4 – P4.7. If no alternate function is given the port serves only as digital I/O or address line.
61/65 and 62/66 or from the internal supply voltage of the kitCON-161CS/JC/JI. The source of the reference voltage can be chosen with the jumpers J11 and J12.
To determine the clock source and the prescaler port P0.13 -P0.15 must be configured with DIP-Switch S3 (switch 6, 7 and 8) during system reset. The standard version of the kitCON-161CS/JC/JI is equipped with a 5 MHz quartz (XT1) meaning that the frequency of the CPU clock is 20 MHz with the default jumper setting.
6.2 External Flash Flash is a highly functional means of storing non-volatile data. The kitCON-161CS/JC/JI can house Flash devices of type 29F010 (128 kByte memory) or of type 29F040 (512 kByte memory) as Flash memory. Use of 5 V Flash devices means that no dedicated program- ming voltage is required on board.
The CAN-Interface 7 The CAN-Interface The kitCON-161CS/JC/JI can be equipped with a C161CS or a C161JC controller. One of the special features of these derivatives is the on-chip Full-CAN-Controller (two with C161CS) which enables the kitCON-161CS/JC/JI to be run within a CAN-network. Running the C161 controller at 20 MHz CPU clock, a bit rate of up to 1 MB can be achieved.
7.2 Second CAN-interface on C161CS A second CAN-interface is available if the kitCON-161CS/JC/JI is equipped with a C161CS controller. The second on-chip Full-CAN- Controller has the same features as the first one. When utilizing the second CAN-interface the portpins P4.4 (RXDC) and P4.7 (TXDC) should not be connected to any other circuitry.
TheLEDs 8 The LEDs 8.1 The Status LEDs D4 and D5 The kitCON-161CS/JC/JI is fitted with two LEDs D4 and D5, which indicate the status of the board. The red LED D4 simply indicates proper connection to the power source.
9 The Battery Buffer To prevent loss of data in case of sudden power failure the kitCON-161CS/JC/JI can be equipped with a battery. This battery buffers the memory devices on U10 and U11. However, this battery buffer is not otherwise essential to the functioning of the kitCON-161CS/JC/JI.
Technical Specifications 10 Technical Specifications The physical dimensions of the kitCON-161CS/JC/JI are represented in Figure 19. The board’s profile is about 17 mm thick, including the DB9 sockets. The components on the soldering side have a maximum height of 3.5 mm and approximately 12 mm on the component side.
Page 52
Power consumption:: 250 mA. at 20 MHz CPU-clock. These specifications describe the standard configuration of the kitCON-161CS/JC/JI as of the pressing of this manual. Typically the current consumption is 170 mA with 64 kByte SRAM memory and 256 kByte Flash memory at 20°C.
11 Hints for Handling the Module Removal or exchange of the standard quartz or oscillator is not advis- able given the compact nature of the kitCON-161CS/JC/JI. Should this nonetheless be necessary, please ensure that the board, as well as surrounding components and sockets, remain undamaged during removal.
12 FlashTools Flash is a highly functional means of storing non-volatile data. With the kitCON-161CS/JC/JI equipped with two Flash devices this modern technique is at your disposal. One of the main advantages of using Flash devices is the on-board programming capability. On- board programming can be easily done with a special utility program, the ’FlashTools’, described in this section.
Page 56
Connect the kitCON-161CS/JC/JI to a Host- PC (using either the COM1 or COM2 serial communication port) with a serial cable as shown below: Host-PC (COM1 or 2) kitCON-161CS/JC/JI DB9 socket P1 RxD Pin 2 TxD Pin 2 TxD Pin 3...
After user code has been downloaded into the Flash, it can be exe- cuted following a software reset. Alternatively, turn Switch 1 of Dip- Switch S3 to OFF in order to switch the kitCON-161CS/JC/JI into execution mode following a hardware reset.
Need help?
Do you have a question about the kitCON-161CS and is the answer not in the manual?
Questions and answers