Atmel T8 C5121 Series User Manual
Atmel T8 C5121 Series User Manual

Atmel T8 C5121 Series User Manual

Starter kit for t8xc5121 products

Advertisement

Quick Links

T8xC5121 Starter Kit for T8xC5121 Products
.........................................................................................................................
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the T8 C5121 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Atmel T8 C5121 Series

  • Page 1 T8xC5121 Starter Kit for T8xC5121 Products ......................... User Guide...
  • Page 2: Table Of Contents

    Table of Contents Section 1 Introduction ................... 1-1 Features ....................1-1 Section 2 Getting Started..................2-3 Package Contents..................2-3 PC System Requirements.................2-3 Quick Start ....................2-3 Connecting the Microcontroller ..............2-3 Hardware Connection ................2-5 Power Supply ....................2-5 Section 3 Hardware Description ................3-7 Description of Jumpers ................3-8 Description of Switches................3-8 Reset......................3-9 Clock ......................3-9...
  • Page 3: Introduction

    Section 1 Introduction The T89C5121-SK1 Starter Kit allows you to fully evaluate the T89C5121 microcontrol- lers. You can run either the included demonstration program or your own application. The board can also be used as a programmer for the T89C5121 product. The T8xC5121 Demonstration Board supports communication through RS-232 serial communication mode.
  • Page 4 Introduction Figure 1. T89C5121-SK1 Starter Kit T8xC5121 Starter Kit User Guide 4186E–SCR–05/04...
  • Page 5: Getting Started

    Section 2 Getting Started Package T8xC5121 Demonstration Board Contents T85C5121 and T89C5121 Microcontrollers MPCOS EMV smart card SSOP24 Adapter CD-ROM with Software and Documentation – FLIP software for In-System Programming – Quickterm Software for Demonstration Note: A direct serial cable (DB9) and a power supply are not provided. PC System 486 processor Requirements...
  • Page 6 Figure 2-1. T8xC5121 Demonstration Board with T89C5121 Microcontroller (Top View) Figure 2-2. T8xC5121 Demonstration Board with T85C5121 Microcontroller (Bottom View)
  • Page 7: Hardware Connection

    Getting Started Hardware 1. A 9 - 12V power supply must be connected to the J3 connector. Connection 2. A serial cable must first be attached between COM PC port and J2 DB9 connec- tor of the demonstration board. 3. Ensure the T89C5121 or the T85C5121 microcontroller is connected to the board.
  • Page 8: Hardware Description

    Section 3 Hardware Description Figure 3-1. T8xC5121 Demonstration Board Components JP13 JP14 PLCC JP17 Socket DIL24 SSOP24 Smart Card Slot SW2 Reset JP18 JP19 JP23 JP16 JP11 JP15 Note: 1. On solder side. T8xC5121 Starter Kit User Guide Rev. 4186E–SCR–05/04...
  • Page 9: Description Of Jumpers

    Hardware Description Description of The following table sums up the configuration jumpers available on the board. Their location is detailed in Figure 3-1. Jumpers Table 3-1. Configuration Jumpers Reference Type Designation Configuration Function Jumper Board Vcc Demonstration board V Jumper External I2C SDA = P3.2 (1.2.0 Bootloader): Default Solder P3.2...
  • Page 10: Reset

    Hardware Description Reset The on-chip Power-on Reset function generates an internal Reset at power-up. The external reset push button is provided to easily generate a warm reset during the ISP process. See Figure 3-1. Clock Crystal can be installed on the Y2 socket. To use an external Clock, the input must connected to the optional J1 connector and a jumper must be placed at JP19.
  • Page 11: Sim Card Interface

    Hardware Description 3.9.2 Card I/O The following test points are provided to monitor the Smart Card I/O signals: Table 3-3. Smart Card I/O Signals Test Points Reference Designation Test Point CVCC Card power supply CRST Card Reset CCLK Card Clock Card I/O CVSS Card power ground...
  • Page 12: Microcontroller Programming

    . FLIP supports in-system programming of Flash C51 devices through RS232. The latest ver- sion of FLIP software is available on the Atmel web site, www.atmel.com. Programming the The on-chip internal EEPROM of the T89C5121 version can be programmed using...
  • Page 13 Microcontroller Programming When the download is achieved, the Bootloader runs the program. This process has duration of 7.5 seconds at 14.7456 MHz. Figure 4-2. Bootloader Diagram T89C5121 External Internal Code Serial on-chip EEPROM EEPROM 16K bytes AT24C128 As specified in the T89C5121 datasheet, the two highest addresses of the 16K bytes code must contain the program CRC and the bootloader compares with computed CRC to launch (or not) the program execution.
  • Page 14: Programming The T85C5121

    Figure 4-4. EEPROM at U1 of Demonstration Board 4.3.2 Programming from The PLCC52 Package Product can be programmed using either : External EEPROM External EEPROM Atmel AT24C128 at U6 location Source for PLCC52 package External EEPROM Atmel AT24C128 at U1 location Serial RS-232 The two last processes are the same as for T89C5121 (RS-232 and External EEPROM).
  • Page 15 Microcontroller Programming After Reset, if an AT24C128 EEPROM has been detected at U6 (see Figure 4-1), the on-chip ROM Bootloader downloads the external EEPROM content (16K bytes) in the Code RAM. CAUTION: If the ROM code marked on the package is DRW (Bootloader 1.2.2 version) or higher, an hardware modification must be done on the 1.2.0 version Demoboard.
  • Page 16: Software Description

    Section 5 Software Description The included demonstration software allows you to: 1. Program the microcontroller connected to the demonstration board. 2. Read data from a SmartCard or a Credit Card. 3. Display the data on the host PC (Quickterm). The demonstration including device programming is described with ISP via RS-232 communication to host.
  • Page 17 Software Description 3. Click the ‘Set Communication’ button and indicate the COM port settings and Baud Rate. The autobaud feature of the boot loader will configure the device according to the baud rate. Device Selection Set Communication 4. Initialize the communication by selecting the “Connect” button in RS232 pop-up window.
  • Page 18: Running The Demonstration Program

    Software Description 5.1.1 Verifying the Once programming is complete, press the “Start Application” button on the FLIP Application window. The LED0 blinks until a card is introduced. This indicates the device has been pro- grammed. Exit from FLIP. Switch Off the demonstration board. Running the Demonstration Program...
  • Page 19 Software Description 1. MPCOS-EMV card, use the following sequence to read the serial number of the card: – Select a directory (mandatory first command). The response 90 00, indicates that the command has been successful. – select a file (mandatory second command) –...
  • Page 20 Section 6 Appendix A Figure 6-1. Board Components View Diagram T8xC5121 Starter Kit User Guide 6-19 Rev. 4186E–SCR–05/04...
  • Page 21 Appendix A Table 6-1. Bill of Materials Table Identifier Designation C1, C3, C4, C12, C22, C24 Capacitor Tantalum CM S 293D A 1µF/16V Capacitor Tantalum CM S 293D B 10µF/10V Capacitor Tantalum CM S 293D B 10µF/10V C10, C7 Capacitor Tantalum CM S 293D B 10µF/10V C11, C13, C14, C17, C18, C20, Capacitor CMS0805 100nF C21A, C21B, C21C...
  • Page 22: Schematics

    Appendix A Schematics Figure 6-2. Demonstration Board (1 of 5) T8xC5121 Starter Kit User Guide 6-21 4186E–SCR–05/04...
  • Page 23 Appendix A Figure 6-3. Demonstration Board (2 of 5) 6-22 T8xC5121 Starter Kit User Guide 4186E–SCR–05/04...
  • Page 24 Appendix A Figure 6-4. Demonstration Board (3 of 5) T8xC5121 Starter Kit User Guide 6-23 4186E–SCR–05/04...
  • Page 25 Appendix A Figure 6-5. Demonstration Board (4 of 5) 6-24 T8xC5121 Starter Kit User Guide 4186E–SCR–05/04...
  • Page 26 Appendix A Figure 6-6. Demonstration Board (5 of 5) T8xC5121 Starter Kit User Guide 6-25 4186E–SCR–05/04...
  • Page 27: References

    Appendix A References T89C5121 Product Datasheet. Acronyms ISP: In-System programming FLIP: FLexible In-system Programming 6-26 T8xC5121 Starter Kit User Guide 4186E–SCR–05/04...
  • Page 28 No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life support devices or systems.

This manual is also suitable for:

T89c5121-sk1

Table of Contents