TSC695. Application Note. Annulled Cycle Management on the TSC695. References

Similar documents
AT17 Series FPGA. Configuration Memory. Application Note. In-System Programming Circuits for AT17 Series Configurators with Atmel and Xilinx FPGAs

Section 1 ATAVRAUTOEK1 Getting Started

8051 Microcontrollers. Application Note. Migration from AT89C5131 & AT89C5131A-L to AT89C5131A-M

FPGA Configuration EEPROM Memory. Application Note. Programming Atmel s EEPROMs: AT17LV020(A) vs. AT17LV002(A) Introduction.

AT17(A) Series FPGA Configuration Memory. Application Note

Rad Hard FPGA. AT40KEL-DK Design Kit Content. Description. Kit Content. Reference Material. Support

AT89C5131 Starter Kit... Software User Guide

MARC4. Application Note. Hints and Tips for Hard- and Software Developments with MARC4 Microcontrollers

8-bit RISC Microcontroller. Application Note. AVR 305: Half Duplex Compact Software UART

MP3 Player Reference Design Based on AT89C51SND1 Microcontroller... User Guide

8-bit Microcontroller. Application Note. AVR031: Getting Started with ImageCraft C for AVR

CAN, 80C51, AVR, Microcontroller. Application Note

CAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison

AT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction

AT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

Application Note. Microcontrollers. Using Keil FlashMon Emulator with AT89C51CC01/03 AT89C51CC01/ Summary. 2. Background overview

AT89STK-09 Starter Kit for AT83C26... User Guide

8-bit Microcontroller. Application Note. AVR030: Getting Started with C for AVR

AT91 ARM Thumb Microcontrollers. Application Note. AT91M55800A Clock Switching Considerations using Advanced Power Management Controller.

Migration From AT89C51SND1C to AT83C51SDN1C. Application Note. MP3 Microcontrollers

System Designer. Programmable SLI AT94K/AT94S Series. Features. Description

Application Note Microcontrollers. C Flash Drivers for T89C51RC/RB/IC2 and AT89C51RC/RB/IC2 for Keil Compilers

FPGA Configurator Programming Kit (Enhanced) ATDH2200E. Features. Description

AT91 ARM Thumb Microcontrollers. Application Note. AT91 Host Flash Loader. 1. Package Contents. 2. Definition of Terms. 3.

AVR32 UC3 Software Framework... User Manual

ATAVRAUTO User Guide

8-bit Microcontroller. Application Note. AVR320: Software SPI Master

Interfacing the internal serial EEPROM

Two-wire Serial EEPROM Smart Card Modules 128K (16,384 x 8) 256 (32,768 x 8) AT24C128SC AT24C256SC. Features. Description VCC NC

ATAVRAUTO User Guide

AT94K Series Field Programmable System Level Integrated Circuit. Application Note. FPSLIC Baud Rate Generator

Programmable SLI AT40K AT40KAL AT94K. Application Note. Implementing a Single-coefficient Multiplier

8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier

DatasheetDirect.com. Visit to get your free datasheets. This datasheet has been downloaded by

256 (32K x 8) High-speed Parallel EEPROM AT28HC256N. Features. Description. Pin Configurations

Two-wire Serial EEPROM Smart Card Modules 1K (128 x 8) 2K (256 x 8) 4K (512 x 8) 8K (1024 x 8) 16K (2048 x 8)

Trusted Platform Module AT97SC3203S. SMBus Two-Wire Interface. Summary

2-Wire Serial EEPROM AT24C01. Features. Description. Pin Configurations. 1K (128 x 8)

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

hex file. The example described in this application note is written for the AT94K using the FPSLIC Starter Kit. Creating a New Project

SAM Boot Assistant (SAM-BA)... User Guide

AVR501: Replacing ATtiny15 with ATtiny25. 8-bit Microcontrollers. Application Note PRELIMINARY. Features. 1 Introduction

8-bit RISC Microcontroller. Application Note. AVR151: Setup And Use of The SPI

3-Wire Serial EEPROM AT93C46C

80C51 MCUs T89C51AC2. Errata Sheet

AT89STK-10 Starter Kit... Hardware User Guide

CryptoRF EEPROM Memory 8 Kbits

64K (8K x 8) Parallel EEPROM with Page Write and Software Data Protection AT28C64B. Features. Description. Pin Configurations

2-wire Serial EEPROM AT24C21. 2-Wire, 1K Serial EEPROM. Features. Description. Not Recommended for New Designs. Pin Configurations.

ARM7TDMI - based Microcontroller AT91RM3400. Errata Sheet

1-megabit (64K x 16) 3-volt Only Flash Memory AT49BV1024A AT49LV1024A

32-bit Secure. AT91SC CT-USB Summary. Microcontrollers. Features

256K (32K x 8) 5-volt Only Flash Memory AT29C256

256K (32K x 8) 5-volt Only Flash Memory AT29C256

2-wire Serial EEPROM Smart Card Modules AT24C32SC AT24C64SC

AT89C51CC03 UART Bootloader

Bluetooth General Information White Paper

Two-Wire Serial EEPROM AT24C164 (1)

T89C5115 UART Bootloader

T89C51AC2 UART Bootloader

GemCore Serial Lite PRO AT83C21GC. Summary

8-bit Microcontroller. Application Note. AVR033: Getting Started with the CodeVisionAVR C Compiler

AT89C51SND1 UART Bootloader

2-megabit (256K x 8) 5-volt Only Flash Memory AT29C020

64K (8K x 8) High Speed Parallel EEPROM with Page Write and Software Data Protection AT28HC64BF

When is Data Susceptible to Corruption

1-megabit (128K x 8) 5-volt Only Flash Memory AT29C010A

DIP Top View VCC A12 A14 A13 A6 A5 A4 A3 A2 A1 A0 A8 A9 A11 A10 I/O7 I/O6 I/O0 I/O1 I/O2 I/O5 I/O4 I/O3 GND. TSOP Top View Type 1 A11 A9 A8 A13 A14

1-megabit (64K x 16) 3-volt Only Flash Memory AT49LV1024 AT49LV1025

2-wire Serial EEPROM AT24C1024. Features. Description. Pin Configurations. 1M (131,072 x 8)

8-bit Microcontroller. Application Note. AVR032: Linker Command Files for the IAR ICCA90 Compiler

AT85DVK-07 Demonstration Firmware... User s Manual

2-megabit (256K x 8) 3-volt Only Flash Memory AT29LV020

Battery-Voltage. 4-megabit (512K x 8/ 256K x 16) Single 2.7-volt. Flash Memory AT49BV4096A AT49LV4096A

4-megabit (512K x 8) 3-volt Only 256-byte Sector Flash Memory AT29LV040A

512K (64K x 8) 5-volt Only Flash Memory AT29C512

UART. Embedded RISC Microcontroller Core Peripheral

4-megabit (512K x 8) Single 2.7-volt Battery-Voltage Flash Memory AT49BV040A

1-megabit (64K x 16) 5-volt Only Flash Memory AT49F1024 AT49F1025

1-megabit (128K x 8) 5-volt Only Flash Memory AT49F001A AT49F001AN AT49F001AT AT49F001ANT. Features. Description. Pin Configurations

2-wire Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 AT24C16

512K (64K x 8) 5-volt Only Flash Memory AT49F512

T89C51CC01 CAN Bootloader

1-megabit (128K x 8) Single 2.7-volt. Flash Memory AT49BV001A AT49BV001AN AT49BV001AT AT49BV001ANT. Battery-Voltage. Features.

Parallel EEPROM Die Products. Die Products. Features. Description. Testing

4-megabit (512K x 8) 5-volt Only 256-byte Sector Flash Memory AT29C040A

AT17LV(A) Series FPGA Configuration Memory. Application Note. Programming Specification for AT17LV(A) Series FPGA Configuration Memories

Atmel FPGA Integrated Development System (IDS)

8-bit Microcontroller. Application Note. AVR410: RC5 IR Remote Control Receiver

AT89C5122. Application Note. Preventing Windows XP from Displaying Unknown device Message at Startup

DIP Top View A18 A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND VCC A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3 VCC A18 A17

CryptoMemory 64 Kbit AT88SC6416C. Summary. Features. Table 1. Pin Configuration

4-megabit (512K x 8) Flash Memory AT49BV040B

Secure Microcontrollers for Smart Cards. AT90SC Summary

TMEB8704 RFID Application Kit. Application Note. RFID Application Kit TMEB Introduction. 2. Getting Started. 2.1 Minimum System Requirements

AVR32752: Using the AVR32 UC3 Static Memory Controller. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Interrupt Controlled UART

2-wire Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 AT24C16. Features. Description. Pin Configurations. 1K (128 x 8) 2K (256 x 8) 4K (512 x 8)

CryptoMemory 256 Kbit AT88SC25616C. Summary

Transcription:

Annulled Cycle Management on the TSC695 The aim of this application note is to provide TSC695 users with an overview of the annulled cycle management on the TSC695 processor. The indication of annulled cycle in the processor is output from the processor through the INULL signal. This information is required by some peripherals to correctly manage the transfers. Depending on the memory area accessed, the TSC695 processor does not handle the annulled cycles in the same way. TSC695 Application Note References TSC695 SPARC 32-bit Space Processor - User Manual Rev. 1

Annulled Cycle The TSC695 processor is able to indicate to its environment that nullified cycles are processed. The processor asserts its INULL signal to indicate that the current memory access is being nullified. INULL is used to disable memory exception generation for the current memory access. This means that MDS (MDS*) and MEXC (MEXC*) are not asserted for a memory access in which INULL = 1. INULL is asserted under the following conditions: During the second data cycle of any store instruction (including Atomic Load-Store) to nullify the second occurrence of the store address. On all traps, to nullify the third instruction fetch after the trapped instruction. For reset, it nullifies the error-producing address On a load in which the hardware interlock is activated On JMPL and RETT instructions The INULL signal is asserted during the first clock cycle of the transaction that is annulled. Any standard access to memory (not nullified) is carried out with INULL deasserted in the first cycle of the access. The state of INULL during the rest of the operation is not significant. Note: 1. When more than 0 Wait States are programmed in the "Waitstate Configuration Register" for RAM, the INULL signal is asserted not only in the first clock cycle of the nullified instruction, but also throughout the previous memory access except the first clock period (If 3 W.S. are programmed for RAM read, and a nominal RAM fetch that lasts 4 clock cycle is executed followed by a nullified instruction, the INULL signal is asserted starting from the second clock cycle of the fetch cycle, and deasserted at the end of the first clock cycle of the nullified instruction). 2 TSC695 Application Note

TSC695 Application Note INULL Management for RAM, ROM, I/O and Exchange Memory Areas In the memory area controlled by dedicated chip selects, the TSC695 processor takes into account the INULL behaviour before the generation of the memory control signals. The transfers are not carried out during annulled cycles. Figure 1 gives an example of store access during nominal activity while Figure 2 gives an example of INULL cycle management done directly by the TSC695 processor when a trap is taken. Figure 1. I/O Store Access - Nominal Figure 2. I/O store access - Annulled During a normal Store access to IO spaces, IOsel signal is set to 0. The chip select is correctly activated. The INULL signal is asserted in the second cycle of the transfer as expected for any store transfer. The store access is successful. The store access to the IO space is annulled by a trap occurence. IOsel signal remains high, no IO cycle is performed. The INULL signal is asserted in the first cycle of the transfer to be annulled. The cycle is correctly annulled by the processor. Please note that during such an access, some extra OE* assertions are provided by the processor. 3

INULL Management for Extended Memory Areas In the memory areas that are not controlled by dedicated chip selects, the user address decoder must take the INULL signal into account before allowing the access. Except if it could have side effects, generally it would not be harmful to perform an unnecessary read operation (the processor does not sample any the data). But extra write cycles should be strictly forbidden. Such peripheral memory write operation could result in an invalid data storage, due to a floating data bus. The following diagrams give examples of store access to a memory area where annulled cycles are not managed by the TSC695 processor. Figure 3. Extended I/O Store Access - Nominal s1 s2 s3 Figure 4. Extended I/O store access - Annulled s4 s5 s6 In Figure 4, the store access to the Extended IO space is annulled by a trap occurence. The INULL signal is asserted in the first cycle of the transfer to be annulled. However, the address and control signal to be decoded by an external decoder are already available in the bus. If the external decoder does not take into account the INULL signal, a write cycle will be generated. Please note that during such an access, the BUFFEN* behavior is different than in nominal case. Some extra BUFFEN* assertions are provided by the processor. Consequently, if undecoded memory areas are used to perform I/O accesses, the INULL signal should be used to determine whether or not to execute the cycle. If the I/O can tolerate spurious reads, INULL decoding for these reads is not necessary. 4 TSC695 Application Note

TSC695 Application Note Conclusion As described in the previous pages, the TSC695 INULL behaviour depends on the memory area addressed. Two memory types can be identified: The processor directly handles the areas that are managed through dedicated chip selects. In case no chip select is provided by the processor, it is user address and control decoder responsibility to manage the INULL signal before authorising the transfer. The decoder must verify the INULL signal status on the first cycle of the transfer to determine the validity of the transfer. As a consequence, if an external address decoder is used for memory areas where the chip select signals are usually provided by the processor, it is the additional decoders responsibility to manage the INULL behaviour correctly. 5

Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel: (41) 26-426-5555 Fax: (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel: (81) 3-3523-3551 Fax: (81) 3-3523-7581 Atmel Operations Memory 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France Tel: (33) 2-40-18-18-18 Fax: (33) 2-40-18-19-60 ASIC/ASSP/Smart Cards Zone Industrielle 13106 Rousset Cedex, France Tel: (33) 4-42-53-60-00 Fax: (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel: 1(719) 576-3300 Fax: 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland Tel: (44) 1355-803-000 Fax: (44) 1355-242-743 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany Tel: (49) 71-31-67-0 Fax: (49) 71-31-67-2340 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA Tel: 1(719) 576-3300 Fax: 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France Tel: (33) 4-76-58-30-00 Fax: (33) 4-76-58-34-80 Literature Requests www.atmel.com/literature Disclaimer: Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company s standard warranty which is detailed in Atmel s Terms and Conditions located on the Company s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. 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. Atmel Corporation 2004. All rights reserved. Atmel and combinations thereof are the trademarks of Atmel Corporation or its subsidiaries. SPARC is a registered trademark of SPARC, International Inc. Other terms and product names may be the trademarks of others. Printed on recycled paper. /0M