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.
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...
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.
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...
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.
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...
. 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.
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.
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.
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 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.
Need help?
Do you have a question about the T8 C5121 Series and is the answer not in the manual?
Questions and answers