background image

kitCON-161CS/JC/JI

                                                                                                                                                

                                                                                                                                                

44

 PHYTEC Meßtechnik GmbH 1999     L-356e_2

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.

Position BT1 on the component side of the module is provided for
mounting a battery type CR2032. As of the pressing of this manual, a
lithium battery is recommended as it offers relatively high capacity at
low self-discharge. In the event of a power failure at VCC, the RAM
memory blocks will be buffered by a connected battery via VBAT.

The current consumption depends on the components populating the
board and memory size. For the standard devices used on the board
the draw is typically 1 µA (max. 100 µA) per RAM-device.

Regarding data and code integrity, please be advised that despite the
battery buffer, changes in the data content within the RAM can occur
given disturbances. The battery-buffer does not completely remove
the danger of data destruction.

Note:
Utilizing the battery buffer for the RAMs the storage temperature
is only 0

°

C to +70

°

C.

Summary of Contents for kitCON-161CS

Page 1: ...A product of a PHYTEC Technology Holding company kitCON 161CS JC JI Hardware Manual Edition December 1999...

Page 2: ...YTEC Me technik GmbH offers no guarantee nor accepts any liability for damages arising from the improper usage or improper installation of the hardware or software PHYTEC Me technik GmbH further reser...

Page 3: ...232_1 20 3 8 The connectors PFO and WDI 20 3 9 Connector X7 21 4 Jumper 23 4 1 Program Storage JP1 25 4 2 DB9 plug P3 JP2 JP4 JP9 26 4 3 DB9 plug P2 JP3 26 4 4 Supply voltage of the CAN Interface JP5...

Page 4: ...re 7 Numbering of the VG96 connector X4 front view 14 Figure 8 Polarity of the Power Supply 14 Figure 9 Pinout of the DB9 socket P1 front view 18 Figure 10 Pinout of the DB9 plug P2 CAN 0 front view 1...

Page 5: ...tallation in electrical appliances or as dedicated Evaluation Boards i e for use as a test and prototype platform for hardware software development in laboratory environments PHYTEC products must be o...

Page 6: ...ontrollers in two ways 1 as the basis for Starter Kits in which user designed hardware can be implemented on a wrap field around the controller and 2 as universal insert ready fully functional micro a...

Page 7: ...se derivatives differ in number and type of the on chip interfaces refer to Table 1 The kitCON 161CS JC JI is preconfigured and equipped with all neces sary connectors required for immediate start up...

Page 8: ...to 1 MB 1 All controller ports as well as data and address lines are extended from the controller to the pins of the kitCON Connector in the middle of the board first RS 232 serial interface available...

Page 9: ...iver C A N R S 2 3 2 R S 2 3 2 a n a l o g I P o r t s a s y n c a s y n c a s y n c P 2 DB9 plug F L A S H 256 KB 1 MB R A M 64 KB 1 MB C n t r l A d d r D a t a P 1 DB9 socket D a t a opt S1 opt S2...

Page 10: ...kitCON 161CS JC JI 4 PHYTEC Me technik GmbH 1999 L 356e_2 1 2 Overview of the kitCON 161CS JC JI Figure 2 Overview of the kitCON 161CS JC JI Component side...

Page 11: ...e when executing the PHYTEC terminal program FLASHT EXE routines for programming the Flash the so called FlashTools1 will automatically be loaded and started This is in contrast to the terminal progra...

Page 12: ...he kitCON 161CS JC JI have been correctly set upon delivery of the board Connect your Host PC COM1 or COM2 to the DB9 socket P1 on the kitCON 161CS JC JI using a serial cable as shown below PC DB9 soc...

Page 13: ...kitCON 161CS JC JI Invoke the terminal program MON166 EXE on your Host PC by entering the following at the DOS prompt mon166 BR Baudrate COM port number Other communication or terminal programs are n...

Page 14: ...nnect 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 Verify that jumper JP13 is closed in position 1 2 and 3 4 Att...

Page 15: ...on between the PC and the kitCON 161 Ensure that switch 1 of DIP switch S3 right of the kitCON Connector is turned ON Ensure also that jumper JP13 is closed in position 1 2 and 3 4 Attach a power supp...

Page 16: ...16X 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 2 none 3 none No Access Areas 1 00EF00H 00FFFFH 2 none 3 none...

Page 17: ...N 161CS JC JI after turning OFF switch 1 of DIP switch S3 i e toggling the kitCON 161CS JC JI into execution mode To leave FLASHT EXE press F1 If any difficulties should occur during start up please c...

Page 18: ...JP1 is closed between 1 2 Start the bootstrap loader by pressing reset switch S1 Start Memtools on your PC Erase and program the internal flash with your application as described in the Memtool help...

Page 19: ...out to the kitCON Connector X3 in the middle of the board The kit CON 161CS JC JI is also prepared to accommodate an ICE connect 16x X2 This special connector enables easy emulation of the processor T...

Page 20: ...onnector X4 A power supply via the VG96 connector X4 requires a constant voltage of 5 V at the following pins Pin 1abc 5 V regulated Pin 32abc GND Figure 7 Numbering of the VG96 connector X4 front vie...

Page 21: ...HDL V 60 P6 7 BREQ Reference Voltage 61 VREF 62 VGND 63 P2 8 64 65 VREF 66 VGND 67 68 Digital Port P5 69 P5 0 70 P5 2 71 P5 4 72 P5 6 73 P5 1 74 P5 3 75 P5 5 76 P5 7 77 78 79 P5 12 80 P5 14 81 82 83...

Page 22: ...gnals The control signals coming from the controller are extended via pre connections J8 J10 and J13 J15 at the ICE connect 16x to the peripheral devices When using an emulator the emulator generates...

Page 23: ...A12 34 35 A15 A14 36 37 GND ALE 38 39 GND XT1 40 41 RES_P RES_U 42 43 HLD P HLD U 44 45 RDY P RDY U 46 47 RESO_P RESO_U 48 49 NMI P NMI U 50 51 GND GND 52 53 RD_P RD_U 54 55 WRL WRH 56 57 P66 HLDA VCC...

Page 24: ...Pinout of the DB9 socket P1 front view 3 5 The DB9 plug P2 The DB9 plug P2 carries the CAN Signals of the first CAN Interface1 The pinout of the DB9 Socket is shown below DB9 plug P2 CAN interface Pi...

Page 25: ...rs JP9 and JP2 The pinout is shown for both modes in the following Pinout of plug P3 if JP2 1 2 and 3 4 JP9 2 3 DB9 plug P3 second CAN interface Pin 2 CAN1_L Pin 7 CAN1_H Pin3 6 8 GND Figure 11 Pinout...

Page 26: ...timer As long as this connector is left open i e the WDI pin is floating the Watchdog Timer is disabled If WDI is driven to either high or low level the Watchdog Timer is started Reset is executed if...

Page 27: ...1850 Transceiver To utilize this external source jumper 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 1...

Page 28: ...kitCON 161CS JC JI 22 PHYTEC Me technik GmbH 1999 L 356e_2...

Page 29: ...ure 15 indicates the location of the jumpers on the board Figure 14 Numbering of the Jumper Pads Figure 15 Position of the Jumpers component side and default setting standard version of the kitCON 161...

Page 30: ...850 driver in Loopback Mode JP9 open Pin 3 of DB9 plug P3 is open 1 2 Pin 3 is J18502 Bus 2 3 Pin 3 is GND for CAN11 JP10 2 3 supply voltage for J18502 driver derived from boards supply voltage 1 2 su...

Page 31: ...tch 6 switch 7 switch 8 System Clock off Speed XT1 4 off off Prescaler to generate the System Clock Speed from XT1 1 2 3 or 5 Table 4 Jumper Setting 4 1 Program Storage JP1 At the time of delivery Jum...

Page 32: ...s are available at DB9 plug P3 Signals at DB9 plug P3 JP2 JP9 CAN1 S Controller only 1 2 3 4 2 3 J1850 Jx Controller only open 1 2 With jumper JP4 a CAN bus connected to DB9 plug P3 can be terminated...

Page 33: ...JP5 is connected between 2 3 the supply voltage of the CAN circuitry is supplied from the kitCON 161CS JC JI s Supply Voltage Supply Voltage of the CAN circuitry JP6 JP5 derived from CAN network via...

Page 34: ...tion active closed Default Setting 4 7 Supply voltage of the J1850 Driver JP10 Jumper JP10 selects the supply voltage for the J1850 driver The driver can be supplied either from the board level power...

Page 35: ...gital I O or address line Controller P4 4 P4 5 P4 6 P4 7 C161CI CAN_RXD CAN_TXD C161JI SDL_RXD SDL_TXD C161JC SDL_RXD CAN1_RXD CAN1_TXD SDL_TXD In order to utilize the interfaces jumpers JP11 and JP12...

Page 36: ...e to run out of the external SRAM or Flash memory CS activated memory JP13 CS0 selects Flash CS1 selects RAM 1 2 3 4 CS0 selects RAM CS1 selects Flash 1 3 2 4 Default Setting 4 10 Memory Size J3 Jumpe...

Page 37: ...Switch S3 Most of the programmable features of the C161x are either selected during the initialization phase or repeatedly during program execution However there are some features that must be select...

Page 38: ...System Reset Low Byte Bit L7 L6 L5 L4 L3 L2 L1 Bit L0 BUSTYP 1 0 R BSL S3 switch 1 R R ADP R3 EMU R4 Reserved pins must remain high in order to ensure proper operation The configuration of these pins...

Page 39: ...U10 and U11 Hence 3 Chip Select Signals are available for other purposes Chip Select Signals S3 switch 2 S3 switch 3 five CS0 CS4 OFF OFF three CS0 CS2 ON ON two CS0 CS1 OFF ON none ON OFF Default Set...

Page 40: ...itch 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 j...

Page 41: ...ip Select Signals they have to be enabled during reset The assignment of the Chip Select Signals to specific address areas is done with the corresponding ADDRESELx and BUSCONx register Note that ADDRE...

Page 42: ...Tri state short ALE 16 bit Demultiplexed BUSCON4 for free I O area 3 Waitstate RW Delay Tri state Wait 300 ns long ALE 16 bit Demultiplexed Example b ADDRESEL1 0006h Memory area 00 0000h 03 FFFFh 256...

Page 43: ...S2 RAM Bank1 U10 U11 P6 0 CS0 FLASH Bank1 U8 U9 P6 1 CS1 P6 3 CS3 P6 4 CS4 256 kByte I O 256 kByte 256 kByte 13 FFFFh Example b 14 0000h FF FFFFh 10 1000h FF FFFFh 04 0000h 04 FFFFh 05 0000h P6 2 CS2...

Page 44: ...kitCON 161CS JC JI 38 PHYTEC Me technik GmbH 1999 L 356e_2...

Page 45: ...gment 0 00 0000 H to 00 7FFF H or segment 1 01 0000 H to 01 7FFF H during the initialization phase to allow external memory to be used for additional system flexibility The upper 224 kBytes of the on...

Page 46: ...FlashTools FlashTools must be loaded with the Bootstrap Loader prior to use Use of a Flash device as the only means of code storage results in no or limited usability of the Flash memory as non volati...

Page 47: ...on of the registers and how to program the controller can be read in the corresponding controller manual of the C161Cx Note When any CAN interface is to be used the segment address output on Port 4 mu...

Page 48: ...set to 1 2 and 3 4 and that Jumper JP9 is set to 2 3 The CAN1 signals from the con troller are also present at pin 39 and pin 44 of the kitCON connector The programming of the CAN1 controller is done...

Page 49: ...ted and can not be changed accidentally The green LED D5 lights up after this com mand is executed to indicate the end of the basic initialization see the Instruction Set Manual for further informatio...

Page 50: ...y is recommended as it offers relatively high capacity at low self discharge In the event of a power failure at VCC the RAM memory blocks will be buffered by a connected battery via VBAT The current c...

Page 51: ...N 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...

Page 52: ...85 C operating temperature 0 C to 70 C extended 40 C to 85 C humidity 90 r F not condensed Operating voltage 5 V 10 Supply voltage 8 V to 12 V 500 mA VBAT 3 V 20 Power consumption 250 mA at 20 MHz CPU...

Page 53: ...ts and sockets remain undamaged during removal Overheating the board can cause the solder pads to loosen rendering the module inoperable Carefully heat neighboring connections in pairs After a few alt...

Page 54: ...kitCON 161CS JC JI 48 PHYTEC Me technik GmbH 1999 L 356e_2...

Page 55: ...the Bootstrap Loader as well as of the FlashTools These descriptions are valid only for the use of the enclosed FlashTools and are not intended as guidelines for use with any other Flash utility prog...

Page 56: ...ch S1 to perform a reset and to start the Bootstrap Loader on the kitCON 161CS JC JI Invoke the included terminal program using the following syntax flasht BR Baudrate COM port number Ensure that the...

Page 57: ...erent functions of the FlashTools refer to Figure 5 The tools enable the partial or total erasure of the Flash device as well as programming of the device They also allow device status information to...

Page 58: ...kitCON 161CS JC JI 52 PHYTEC Me technik GmbH 1999 L 356e_2...

Page 59: ...22 28 J1850 25 32 J3 34 J8 J10 22 28 JP1 29 JP10 32 JP11 33 JP12 33 JP13 34 JP2 30 JP3 30 JP4 30 JP5 31 JP6 31 JP7 31 JP8 32 JP9 30 Jumper 27 Jumper Setting 29 K kitCON Connector 21 M Memory Size 34...

Page 60: ...the A D Converter J11 J12 35 S S3 35 Segment Address Lines 38 Starting FlashTools 54 Starting the kitCON and programming the Flash 12 Starting the kitCON using a Monitor program 9 Status LEDs 48 T Te...

Page 61: ...161CS JC JI Document number L 356e_2 December 1999 How would you improve this manual Did you find any mistakes in this manual page Submitted by Customer number Name Company Address Return to PHYTEC T...

Page 62: ...Published by PHYTEC Me technik GmbH 1999 Ordering No L 356e_2 Printed in Germany...

Reviews: