M89 FAMILY In-System Programmable (ISP) Multiple-Memory and Logic FLASH+PSD Systems for MCUs

Similar documents
STA2051E VESPUCCI 32-BIT SINGLE CHIP BASEBAND CONTROLLER FOR GPS AND TELEMATIC APPLICATIONS 1 FEATURES. Figure 1. Packages

FL_101 USER MANUAL. FlashLink User Manual. CONTENTS (Introduction on next page)

STEVAL-ISA001V1. 6W Dual Output Supply using VIPer12A. Features. Blue angel. Applications

8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI

Obsolete Product(s) - Obsolete Product(s)

GM60028H. DisplayPort transmitter. Features. Applications

GM68020H. DisplayPort receiver. Features. Applications

GM69010H DisplayPort, HDMI, and component input receiver Features Applications

MEMS Module STMEMSDQ-EVAL1

L7208. Portable consumer electronics spindle and VCM motor controller. General features. Spindle driver. Description. VCM driver.

STEVAL-CCM003V1. Graphic panel with ZigBee features based on the STM32 and SPZBE260 module. Features. Description

STEVAL-ILL029V1. Front panel demonstration board based on the STLED325 and STM8S. Features. Description

FLI30x02 Single-chip analog TV processor Features Application

STEVAL-ICB004V1. Advanced resistive touchscreen controller demonstration board based on the STMPE811. Features. Description

HCF4054B 4 SEGMENT LIQUID CRYSTAL DISPLAY DRIVER WITH STROBED LATCH FUNCTION

AN1185 APPLICATION NOTE Designing for Compatibility between ST and AMD NOR Flash Memories

Multi-channel LED driver with integrated boost controller for medium, large LCD panel backlight based on LED7708 and STM32F103C6T6A

Obsolete Product(s) - Obsolete Product(s)

VT5365. Single-chip optical mouse sensor for wireless applications. Features. Applications. Technical specifications. Description.

Explorer Edition FUZZY LOGIC DEVELOPMENT TOOL FOR ST6

EMIF QCF 4 LINE LOW CAPACITANCE EMI FILTER AND ESD PROTECTION IPAD

HD1530FX. High Voltage NPN Power Transistor for High Definition and New Super-Slim CRT Display. Features. Applications. Internal Schematic Diagram

Obsolete Product(s) - Obsolete Product(s)

IEC compliant smart meter system for AMI applications based on STM32, ST7570 PLM, and STPMC1/STPMS1 chipset

ROBOT-M24LR16E-A. Evaluation board for the M24LR16E-R dual interface EEPROM. Features. Description

STEVAL-ILL015V1. High brightness RGB LED array with LED error detection based on the STP24DP05 and STM32. Features. Description

AN555 APPLICATION NOTE AUTOMOTIVE PROTECTION WITH THE RBOxx SERIES

Technical Article. TD350 IGBT driver IC including advanced control and protection functions. Introduction. Device description

STEVAL-IHM024V W 3-phase inverter using the L6390 and STGDL6NC60DI for vector control. Features. Applications. Description

TEA6425 VIDEO CELLULAR MATRIX

UHF, EPCglobal Class-1 Generation-2, Contactless Memory Chip 432 bit with Multi-session Protocol, Anti-collision and Kill functions

STEVAL-CCH002V2. HDMI and video switches demonstration board. Features. Description

Obsolete Product(s) - Obsolete Product(s)

M24LR04E-R, M24LR16E-R, M24LR64E-R Errata sheet

STEVAL-IME002V1. Multi-lead electrocardiogram (ECG) and body impedance demonstration board. Features. Description

SPC564A80CAL176 SPC564A70CAL176

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

STEVAL-IHM021V W, 3-phase inverter based on the L6390 and UltraFASTmesh MOSFET for speed FOC of 3-phase PMSM motor drives. Features.

STANC0. Stereo HD-PA digitally programmable active noise cancelling audio engine. Features. System. Input and output.

STEVAL-IHM043V1. 6-step BLDC sensorless driver board based on the STM32F051 and L6234. Features. Description

L9822E OCTAL SERIAL SOLENOID DRIVER

Obsolete Product(s) - Obsolete Product(s)

AN2421 Application note

STEVAL-ISB008V1. Standalone USB Li-Ion battery charger demonstration board based on the STw4102 and STM32F103C6. Features.

ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32

STEVAL-IHT005V2. Demonstration board with full 3.3 V ACS/Triac control using the STM32F100. Description. Features

HCF40193B PRESETTABLE UP/DOWN COUNTERS (DUAL CLOCK WITH RESET) BINARY TYPE

STEVAL-TDR007V1. 3 stage RF power amplifier demonstration board using: PD57002-E, PD57018-E, 2 x PD57060-E. Features. Description

Configuring FLASHlogic Devices

Obsolete Product(s) - Obsolete Product(s)

HCF4027B DUAL J-K MASTER SLAVE FLIP-FLOP

L CHANNEL LOW POWER PREAMPLIFIER

Symbol Parameter Value Unit V CES Collector-Emitter Voltage (V BE = 0) 700 V V CEO Collector-Emitter Voltage (I B = 0) 400 V Emitter-Base Voltage

TA0311 TECHNICAL ARTICLE High Temperature Electronics 1 Introduction 2 Why the need for high-temperature semiconductors?

AN442 APPLICATION NOTE

Order code Package Connection. SPDC400FC12M0.60 Open frame Comb. October 2007 Rev 1 1/9

EVALPM8803-FWD. EVALPM8803-FWD: IEEE802.3at compliant demonstration kit with synchronous active clamp forward PoE converter. Features.

STDP4020. DisplayPort receiver. Features. Applications

STi5105 High-performance advanced SD decoder for set-top box Features

STEVAL-ILL043V1. High end, 75 W high power factor flyback LED driver based on the L6562A with two dimmable strings. Features.

Order code Marking Package Packing. STA5630TR STA5630 VFQFPN32 Tape and reel STA5630ATR (1) September 2013 Doc ID Rev 4 1/8

Obsolete Product(s) - Obsolete Product(s)

STDP2650 Advanced DisplayPort to HDMI converter Features Applications

STEVAL-ILH004V1. 70 W electronic ballast for metal halide lamp (HID) based on the L6382D5 and ST7FLITE49K2. Features. Description

TDA2320 PREAMPLIFIER FOR INFRARED REMOTE CONTROL SYSTEMS

STEVAL-ISA121V1. Wide range single-output demonstration board based on the VIPER37LE. Features. Description

AN3075 Application note

STEVAL-IFN003V1. PMSM FOC motor driver based on the L6230 and STM32F103. Features. Description

M24SR-DISCOVERY. Discovery kit for the M24SR series Dynamic NFC/RFID tag. Features

PRODUCT/PROCESS CHANGE NOTIFICATION

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

PRODUCT/PROCESS CHANGE NOTIFICATION

ST10F273M Errata sheet

STW High voltage fast-switching NPN power transistor. Features. Application. Description

PRODUCT/PROCESS CHANGE NOTIFICATION

Description. Table 1. Device summary. Order codes Temperature range [ C] Package Packing. LPS2HBTR -30 to +105 HLGA - 10L

BUL128 HIGH VOLTAGE FAST-SWITCHING NPN POWER TRANSISTOR

STEVAL-IHM038V1. BLDC ceiling fan controller based on the STM32 and SLLIMM-nano. Description. Features

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

BUL1203EFP HIGH VOLTAGE FAST-SWITCHING NPN POWER TRANSISTOR

Using the XC9500/XL/XV JTAG Boundary Scan Interface

Obsolete Product(s) - Obsolete Product(s)

DB W. 60W / 26V / MHz PA using 1x PD57070S The LdmoST FAMILY. General Features. Description. Order Code

STM32-PRIMER/LAB. Raisonance EvoPrimer-LAB to monitor STM32 applications and standalone STM32 Flash programming. Features

STEVAL-IHM008V1. BLDC & AC motor control Power board SEMITOP 2 1kW. Features. Applications

PRODUCT/PROCESS CHANGE NOTIFICATION

EVAL-RHF1009A. EVAL-RHF1009A product evaluation board. Description. Features

EMIF02-USB05F2 IPAD. 2 line EMF filter including ESD protection. Main application. Description. Pin configuration (bump side) Benefits

STEVAL-SPBT2ATV2. USB Dongle for the Bluetooth class 2 SPBT2532C2.AT module. Features. Description

STEVAL-IKR001V7D. Sub Ghz transceiver daughterboard with power amplifier based on the SPIRIT1. Features. Description

STEVAL-CCA043V1. 25 Watt mono BTL class-d audio amplifier demonstration board based on the TDA7491MV. Features. Description

STV6110A. 8PSK/QPSK low-power 3.3 V satellite tuner IC. Description. Features

PRODUCT INFORMATION LETTER

BAL-NRF01D3. 50 ohm balun transformer for 2G45 ISM matched Nordic s chipset: nrf24le1 QFN32, nrf24ap2-1ch and nrf24ap2-8ch. Features.

EMIF02-SPK01F2 2 LINE EMI FILTER AND ESD PROTECTION Low-pass Filter Input Output Ri/o = 10 Ω Cline = 200 pf GND GND GND

STA3005. Dual-IF AM/FM digital radio receiver. Feature summary. Order codes

Transcription:

In-System Programmable (ISP) Multiple-Memory and Logic FLASH+PSD Systems for MCUs DATA BRIEFING Single Supply Voltage: 5V±10% for M9xxFxY 3 V (+20/ 10%) for M9xxFxW 1 or 2 Mbit of Primary Flash Memory ( uniform sectors, 16K x, or 32K x ) A second non-volatile memory: 256 Kbit (32K x ) EEPROM (for M913F1x) PQFP52 (T) or Flash memory (for M9x3F2x) 4 uniform sectors (K x ) SRAM (16 Kbit, 2K x ; or 64 Kbit, K x ) Over 2,000 Gates of PLD: DPLD and GPLD 27 Reconfigurable I/O ports Enhanced JTAG Serial Port Programmable power management Stand-by current: 50 µa for M9xxFxY 25 µa for M9xxFxW High Endurance: PLCC52 (K) 100,000 Erase/Write Cycles of Flash Memory 10,000 Erase/Write Cycles of EEPROM 1,000 Erase/Write Cycles of PLD Figure 1. Logic Diagram VCC Table 1. Signal Names PA0-PA7 Port-A PA0-PA7 PB0-PB7 PC0-PC7 Port-B Port-C PC2 = Voltage Stand-by CNTL0-3 16 FLASH+PSD PB0-PB7 PD0-PD2 Port-D AD0-AD15 PC0-PC7 AD0-AD15 Address/Data 3 CNTL0- Control PD0-PD2 Reset V CC Supply Voltage V SS Ground V SS AI0256 June 2000 Complete data available on Data-on-Disc CD-ROM or at www.st.com 1/7

Figure 2A. PLCC Connections Figure 2B. PQFP Connections PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 CNTL1 CNTL0 47 4 49 50 51 52 2 3 4 5 6 7 PD2 PD1 PD0 PC7 PC6 PC5 PC4 VCC PC3 PC2 PC1 PC0 9 10 11 12 13 14 15 16 17 1 19 20 1 46 45 44 43 42 41 40 39 3 37 36 35 34 AD15 AD14 AD13 AD12 AD11 AD10 AD9 AD VCC AD7 AD6 AD5 AD4 PD2 1 PD1 2 PD0 3 PC7 4 PC6 5 PC5 6 PC4 7 V CC 9 PC3 10 PC2 11 PC1 12 PC0 13 39 AD15 3 AD14 37 AD13 36 AD12 35 AD11 34 AD10 33 AD9 32 AD 31 V CC 30 AD7 29 AD6 2 AD5 27 AD4 14 15 16 17 1 19 20 21 22 23 24 25 26 21 22 23 24 25 26 27 2 29 30 31 32 33 52 51 50 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 AD0 AD1 AD2 AD3 49 4 47 46 45 44 43 42 41 40 PB0 PB1 PB2 PB3 PB4 PB5 PB6 PB7 CNTL1 CNTLO AI0257 PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 AD0 AD1 AD2 AD3 AI025 DESCRIPTION The FLASH+PSD family of memory systems for microcontrollers (MCUs) brings In-System- Programmability (ISP) to Flash memory and programmable logic. The result is a simple and flexible solution for embedded designs. FLASH+PSD devices combine many of the peripheral functions found in MCU based applications. FLASH+PSD provides a glueless interface to most commonly-used ROMless MCUs. Table 2 summarizes all the devices in the M9 Family. The FLASH+PSD device includes a JTAG Serial Programming interface, to allow In-System Programming (ISP) of the entire device. This feature reduces development time, simplifies the manufacturing flow, and dramatically lowers the cost of field upgrades. Using ST s special Fast- JTAG programming, a design can be rapidly programmed into the FLASH+PSD. The innovative FLASH+PSD family solves key problems faced by designers when managing discrete Flash memory devices, such as: Complex address decoding In-System (first-time) Programming (ISP) Concurrent EEPROM or Flash memory programming (IAP). The JTAG Serial Interface block allows In-System Programming (ISP). Embedded dual-bank memories eliminates the need for an external Boot Table 2. Product Range 1 Part Number Primary Flash Memory Secondary NVM SRAM 2 I/O Ports Voltage Range Access Time M913F1Y 1 Mbit 256 Kbit EEPROM 16 Kbit 27 M913F2Y 1 Mbit 256 Kbit Flash memory 16 Kbit 27 M934F2Y 2 Mbit 256 Kbit Flash memory 64 Kbit 27 M913F1W 1 Mbit 256 Kbit EEPROM 16 Kbit 27 4.5-5.5 V 90 ns or 150 ns M913F2W 1 Mbit 256 Kbit Flash memory 16 Kbit 27 2.7-3.6 V 150 ns M934F2W 2 Mbit 256 Kbit Flash memory 64 Kbit 27 Note: 1. All products support: JTAG serial ISP, MCU parallel ISP, ISP Flash memory, ISP GPLD, Security features, Power Management Unit (PMU), Automatic Power-down (APD) 2. SRAM may be backed up using an external battery. 2/7

Figure 3. FLASH+PSD Block Diagram CNTL0, CNTL1, MCU BUS INTRF. ADIO GLOBAL CONFIG. & SECURITY PLD INPUT BUS 57 57 PAGE REGISTER ADDRESS/DATA/CONTROL BUS EMBEDDED ALGORITHM 1 OR 2 MBIT MAIN FLASH MEMORY SECTORS FLASH DECODE PLD (DPLD) SECTOR SELECTS 256 KBIT SECONDARY FLASH MEMORY (BOOT OR DATA) 4 SECTORS SECTOR SELECTS SRAM SELECT 16 OR 64 KBIT BATTERY BACKUP SRAM CSIOP RUNTIME CONTROL AND I/O REGISTERS FLASH ISP PLD (GPLD) GPLD OUTPUT GPLD OUTPUT GPLD OUTPUT I/O PLD INPUT PLD, CONFIGURATION & FLASH MEMORY LOADER JTAG SERIAL CHANNEL POWER MANGMT UNIT A B C D VSTDBY (PC2) PA0 PA7 PB0 PB7 PC0 PC7 AD0 AD15 PD0 PD2 AI03765 Sometimes computers try to be too clever for their own good. Take this illustration for instance. Just because so many of the labels are rotated through ninety degrees, FrameMaker seems to want to insist on telling the postscript file that I would find it more convenient to see this page displayed in landscape, rotated by ninety degrees. Well I wouldn t. So I am putting in all this text just to weight the average in this direction. 3/7

EPROM or Flash memory, or an external programmer. To simplify Flash memory updates, program execution is performed from a secondary Flash memory (for the M9xxF2x) or EEPROM (for the M913F1x) while the primary Flash memory is being updated. This solution avoids the complicated hardware and software overhead necessary to implement IAP. ST makes available a software development tool, PSDsoft Express, that generates ANSI-C compliant code for use with your target MCU. This code allows you to manipulate the non-volatile memory (NVM) within the FLASH+PSD. Code examples are also provided for: Flash memory IAP via the UART of the host MCU Memory paging to execute code across several FLASH+PSD memory pages FLASH+PSD ARCHITECTURAL OVERVIEW FLASH+PSD devices contain several major functional blocks. Figure 3 shows the architecture of the M9 FLASH+PSD device family. The functions of each block are described briefly in the following sections. Many of the blocks perform multiple functions and are user configurable. Memory The 1 or 2 Mbit (12K x, or 256K x ) Flash memory is the primary memory of the FLASH+PSD. It is divided into eight equally-sized sectors that are individually selectable. The 256 Kbit (32K x ) secondary EEPROM or Flash memory is divided into four equally-sized sectors. Each sector is individually selectable. The SRAM is intended for use as a scratch-pad memory or as an extension to the MCU SRAM. If an external battery is connected to Voltage Standby (VSTBY, PC2), data is retained in the event of power failure. Each sector of memory can be located in a different address space as defined by the user. The access times for all memory types includes the address latching and DPLD decoding time. The M913F1x has 64 bytes of OTP memory for product identifiers, serial numbers, calibration constants, etc.. Page Register The -bit Page Register expands the address range of the MCU by up to 256 times. The paged address can be used as part of the address space to access external memory and peripherals, or internal memory and I/O. The Page Register can also be used to change the address mapping of sectors of the Flash memories into different memory spaces for IAP. PLDs The device contains two PLDs, the Decode PLD (DPLD) and the General PLD (GPLD), each optimized for a different function, as shown in Table 3. The functional partitioning of the PLDs reduces power consumption, optimizes cost/ performance, and eases design entry. The Decode PLD (DPLD) is used to decode addresses and to generate chip selects for the FLASH+PSD internal memory and registers. The DPLD has 14 combinatorial outputs, which are used to select memory sectors and internal registers. The General PLD (GPLD) can be used to implement user-defined external chip select signals and other combinatorial logic functions. The PLDs consume minimal power. The speed and power consumption of the PLD is controlled by the Turbo bit in the PMMR0 register and other bits in the PMMR2 registers. These registers are set by the MCU at run-time. There is a slight penalty to PLD propagation time when invoking the power management features. I/O Ports The FLASH+PSD has 27 individually configurable I/O pins distributed over the four ports (Port A, B, C, and D). Each I/O pin can be individually configured for different functions. Ports can be configured as standard MCU I/O ports, PLD I/O, or latched address outputs for MCUs using multiplexed address/data buses. Ports A and B can be configured to be open drain. The JTAG pins can be enabled on Port C for In- System Programming (ISP). Port A can also be configured as a data port for a non-multiplexed bus. MCU Bus Interface FLASH+PSD interfaces easily with most -bit MCUs that have either multiplexed or nonmultiplexed address/data buses. The device is configured to respond to the MCU s control signals, which are also used as inputs to the PLDs. For examples, please see the full data sheet. JTAG Port In-System Programming (ISP) can be performed through the JTAG signals on Port C. This serial interface allows complete programming of the entire FLASH+PSD device. A blank device can be completely programmed for the first time after it is soldered to the board. The JTAG signals (TMS, TCK, TSTAT, TERR, TDI, TDO) can be multiplexed with other functions on Port C. Table 4 indicates the JTAG pin assignments. Four-pin JTAG is also fully supported. In-System Programming (ISP) Using the JTAG signals on Port C, the entire FLASH+PSD device can be programmed or 4/7

Table 3. PLD I/O Name Inputs Outputs Product Terms Decode PLD (DPLD) 57 14 39 General PLD (GPLD) 57 19 114 erased without the use of the MCU. The primary Flash memory can also be programmed in-system by the MCU executing the programming algorithms out of the secondary memory, or SRAM. The secondary memory can be programmed the same way by executing out of the primary Flash memory. The PLD or other FLASH+PSD Configuration blocks can be programmed through the JTAG port or a device insertion programmer. Table 5 indicates which programming methods can program different functional blocks of the FLASH+PSD. Power Management Unit (PMU) The Power Management Unit (PMU) gives the user control of the power consumption on selected functional blocks based on system requirements. The PMU includes an Automatic Power-down (APD) Unit that turns off device functions during MCU inactivity. The APD Unit has a Power-down mode that helps reduce power consumption. The FLASH+PSD also has some bits that are configured at run-time by the MCU to reduce power consumption of the GPLD. The Turbo bit in the PMMR0 register can be reset to 0 and the GPLD latches its outputs and goes to sleep until the next transition on its inputs. Additionally, bits in the PMMR2 register can be set by the MCU to block signals from entering the GPLD to reduce power consumption. Please see the full data sheet for details. Table 4. JTAG SIgnals on Port C Port C Pins JTAG Signal PC0 PC1 PC3 PC4 PC5 PC6 TMS TCK TSTAT TERR TDI TDO accessed from the MCU. The only way a security bit can be cleared is to erase the entire chip. The contents of the sectors of the primary and secondary NVM blocks can be protected using bits in the Protection Registers. These bits are accessible from the MCU in the application code, or from a programmer during the set-up procedure. SECURITY AND NVM SECTOR PROTECTION A security bit in the Protection Register enables the software project, coded in the FLASH+PSD, to be locked up. This bit is only accessible by the system designer from the JTAG serial port, or from a parallel insertion programmer. It cannot be Table 5. Methods of Programming Different Functional Blocks of the FLASH+PSD Functional Block JTAG Programming Device Programmer IAP Primary Flash Memory Yes Yes Yes Secondary EEPROM or Flash memory Yes Yes Yes PLD Array (DPLD and GPLD) Yes Yes No FLASH+PSD Configuration Yes Yes No OTP Row No Yes Yes 5/7

Table 6. Ordering Information Scheme Example: M9 1 3 F 1 W 15 T 1 T SRAM Capacity Option 1 16 Kbit T Tape & Reel Packing 3 64 Kbit Temperature Range Flash Memory Capacity 1 0to 70 C (commercial) 3 1 Mbit (12K x ) 6 40 to 5 C (industrial) 4 2 Mbit (256K x ) 2nd Non Volatile Memory Package 1 256 Kbit EEPROM K PLCC52 2 256 Kbit Flash memory T PQFP52 Operating Voltage Speed Y 4.5 V to 5.5 V -90 90 ns 1 W 2.7 V to 3.6 V -15 150 ns Note: 1. Available on the 4.5 to 5.5 V range, only. ORDERING INFORMATION SCHEME When delivered from ST, the FLASH+PSD device has all bits in the memory and PLDs set to 1. The FLASH+PSD Configuration Register bits are set to 0. The code, configuration, and PLD logic are loaded using the programming procedure. Information for programming the device is available directly from ST. Please contact your local sales representative. The notation used for the device number is as shown in Table 6. For a list of available options (speed, package, etc.) or for further information on any aspect of this device, please see the full data sheet (please consult our pages on the world wide web: www.st.com/flashpsd). Alternatively, please contact your nearest ST Sales Office. 6/7

Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. 2000 STMicroelectronics - All Rights Reserved The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. STMicroelectronics GROUP OF COMPANIES Australia - Brazil - China - Finland - France - Germany - Hong Kong - India - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A. http://www.st.com 7/7