Atmel AT89STK-03 Hardware User's Manual
Atmel AT89STK-03 Hardware User's Manual

Atmel AT89STK-03 Hardware User's Manual

Starter kit for at8xc5122 & at83c5123

Advertisement

Quick Links

AT89STK-03
Starter Kit for AT8xC5122 & AT83C5123
..............................................................................................
Hardware User Guide

Advertisement

Table of Contents
loading

Summary of Contents for Atmel AT89STK-03

  • Page 1 AT89STK-03 Starter Kit for AT8xC5122 & AT83C5123 ....................Hardware User Guide...
  • Page 2: Table Of Contents

    Part Programming................3-11 Bootloader DPW ..................3-12 3.1.1 ISP mode (In System Programming ) ..........3-12 3.1.2 Execution mode................3-13 Bootloader DRV ..................3-16 3.2.1 ISP Mode..................3-16 3.2.2 Execution mode................3-16 Bootloader DSU ..................3-21 3.3.1 ISP Mode..................3-21 3.3.2 Execution mode................3-21 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 3 Table of Contents Section 4 Schematics ..................4-27 Bill of Materials..................4-35 Section 5 Document Revision History ..............5-37 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 4: Introduction

    Section 1 Introduction This document describes the MCU demonstration board included in AT89STK-03 Starter Kit dedicated to the AT8xC5122 & AT83C5123 Smart Card Reader microcontrollers. This board enables to test the microcontrollers by using demonstration software and/or start the developement of applications.
  • Page 5 Power Switch config Card Power Converter input Fuse bypass Fuse RS232 9V Battery Input Regulator bypass Lab. Power Supply input Test Points ALE Led Crystal Alternate card E2PROM location Reset Switch INT1 Switch ISP Switch AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 6 Introduction Figure 1-2. Default Configuration : Component Side - Jumper Config Solder Side AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 7 Introduction Figure 1-3. Default Configuration : Solder Side - Jumper Configuration AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 8: Hardware Description

    Section 2 Hardware Description Block Diagram Figure 2-1. AT8xC5122 & AT83C5123 demonstration board components RS232 POWER Supply AT8xC5122 EEPROM Reset INT1 SCIB Master Smart Card SIM Smart Card AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 9: Power Supply

    USB interface DC_IN External Applicable when the board is fed by an power supply external power converter BATT Battery Applicable when the board is fed by an external battery AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 10: Regulator Output Voltage Selection & Power On

    MCU activity status - This led is enabled by a solder gout on the solder pad SW4 LED0 Green General purpose led - Connected to P3.2 - Enabled by LED0 jumper LED1 Green General purpose led - Connected to P3.4 - Enabled by LED1 jumper AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 11: Usb Peripheral

    SIM PWR 5V power supply 3.3V power supply 3.3V 3.3V 2.4.6 PLL Filter 1. PLCC68 / VQFP64 PLL Filter is composed by C7, C10, R9 2. PLCC28 PLL filter is composed by C25, R16, C26. AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 12: Eeprom Settings

    Jumper on P37 Jumper on P42 Jumper on P43 Solder gout on SW18 Solder gout on SW26 Refer to bootloader datasheets for further information. 2 x 48 headers These headers support the optional C51 generic board. AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 13: Part Programming

    ROM memory. The bootloader version is defined by three letters which can be found on the part marking. AT89STK-03 Hardware User Guide 3-11 7609B–SCR–11/06...
  • Page 14: Bootloader Dpw

    - Select Erase, Blank check, Program and Verify options if part is running for the first time, otherwise just select Program and Verify - Load the code file (Intel hex format) into FLIP buffer - Click on Run button - Click on Start Application button 3-12 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 15 E2PROM must be programmed by external programmer or by a specific code which is programmed in CRAM and which behaves as a bootloader. This code programs the E2PROM by the code received from FLIP. AT89STK-03 Hardware User Guide 3-13 7609B–SCR–11/06...
  • Page 16 - Reset the MCU by means of RESET switch to execute the code programmed in the external E2P. (If external E2P is present, the bootloader downloads the code from external E2P and execute it) 3-14 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 17 - Reset the MCU by means of RESET switch to execute the code programmed in the external E2P. (If external E2P is present, the bootloader downloads the code from external E2P and execute it) AT89STK-03 Hardware User Guide 3-15 7609B–SCR–11/06...
  • Page 18: Isp Mode (In System Programming )

    PLCC68 is only available in CRAM version. For the others packages, order the appropriate part as the E2PROM is implemented inside the package. 2. The programming of internal or external E2PROM is automatically handled by the bootloader. 3-16 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 19 (Refer to bootloader datasheet) - Only security bit can be applied to this part version - Select Whole buffer in buffer options menu - Click on Run button - Click on CRAM Start Application button (FLASH Start Application is not applicable) AT89STK-03 Hardware User Guide 3-17 7609B–SCR–11/06...
  • Page 20 - Select Whole buffer in buffer options menu - Click on Run button - Click on FLASH Start Application button to execute the user code - Check if E2P code is correctly executed after a power on or a reset operation 3-18 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 21 - Select Whole buffer in buffer options menu - Click on Run button - Select reset option (if this option is not selected, the user code is not executed) - Click on Start Application button AT89STK-03 Hardware User Guide 3-19 7609B–SCR–11/06...
  • Page 22 - Select reset option (if this option is not selected, the user code is not executed) - Click on the start application button to execute the user code - Check if E2P code is correctly executed after a power on or reset operation 3-20 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 23: Isp Mode

    PLCC68 is only available in CRAM version. For the others packages, order the appropriate part as the E2PROM is implemented inside the package. 2. The programming of internal or external E2PROM is automatically handled by the bootloader AT89STK-03 Hardware User Guide 3-21 7609B–SCR–11/06...
  • Page 24 - Click on Start Application button or press the reset switch to execute the code Note : it is necessary to program the part after each power off as the CRAM is a volatile program memory 3-22 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 25 The only way to remove the protection mode is to erase the part. - Click on the start application button or press the reset switch or power the demo board off and on to execute the code AT89STK-03 Hardware User Guide 3-23 7609B–SCR–11/06...
  • Page 26 - Click on Start Application button or press the reset switch to execute the code Note : it is necessary to program the part after each power off as the CRAM is a volatile program memory 3-24 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 27 The only way to remove the protection mode is to erase the part. - Click on the start application button or press the reset switch or power the demo board off and on to execute the code AT89STK-03 Hardware User Guide 3-25 7609B–SCR–11/06...
  • Page 28 Section 4 Schematics AT89STK-03 Hardware User Guide 4-27 7609B–SCR–11/06...
  • Page 29 Schematics Figure 4-1. Power Supply Section 4-28 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 30 Schematics Figure 4-2. PLCC68 CPU Section AT89STK-03 Hardware User Guide 4-29 7609B–SCR–11/06...
  • Page 31 Schematics Figure 4-3. PLCC28_VQFP64 CPU Section 4-30 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 32 Schematics Figure 4-4. Smart Card Schema AT89STK-03 Hardware User Guide 4-31 7609B–SCR–11/06...
  • Page 33 Schematics Figure 4-5. E2P LEDs Section 4-32 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 34 Schematics Figure 4-6. Comm Interfaces Section AT89STK-03 Hardware User Guide 4-33 7609B–SCR–11/06...
  • Page 35 Schematics Figure 4-7. C51 Generic Bus 4-34 AT89STK-03 Hardware User Guide 7609B–SCR–11/06...
  • Page 36 Smart Card Full Size ITT CCM01 SIM Connector ITT CCM03 Crystal 8 Mhz FUSE 500mA SMD FUSE 500mA TPS2041AD Current Limit Switches MAX603CSA 5V Adj. Regulator PLCC68 THole Socket PLCC68 Through Hole PLCC28 CMS Socket PLCC28 CMS AT89STK-03 Hardware User Guide 4-35 7609B–SCR–11/06...
  • Page 37 Section 5 Document Revision History Changes from 4302A to 4302B 1. Updated document to reflect version 1.2.0 of MCU demonstration board. AT89STK-03 Hardware User Guide 5-37 7609B–SCR–11/06...
  • Page 38 Atmel does not make any commitment to update the information contained herein. Unless specifically providedot- herwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as compo- nents in applications intended to support or sustain life.

Table of Contents