Manuale per l’uso Freescale Semiconductor Block Guide

46 pagine 0.44 mb
Scarica

Vai alla pagina of 46

Summary
  • Freescale Semiconductor Block Guide - page 1

    Motorola reserves the right to make changes without further notice to any products herein. Motorola makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does Motorola assume any liability arising out of the application or use of any product or circuit, and specifically disclaims an ...

  • Freescale Semiconductor Block Guide - page 2

    Block Guide — S12EETX4KV0 V00.04 2 Revision History Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. .. ...

  • Freescale Semiconductor Block Guide - page 3

    Block Guide — S12EETX4KV0 V00.04 3 Table of Contents Section 1 Introduction 1.1 Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.1.1 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.2 Feature ...

  • Freescale Semiconductor Block Guide - page 4

    Block Guide — S12EETX4KV0 V00.04 4 4.4 Background Debug Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.5 EEPROM Module Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 4.5.1 Unsecuring the MCU in Special Single Chip Mode via the BDM . . . . . . ...

  • Freescale Semiconductor Block Guide - page 5

    Block Guide — S12EETX4KV0 V00.04 5 List of Figures Figure 1-1 Module Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Figure 3-1 EEPROM Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Figure 3-2 EEPROM Clock Divider Register (ECLKDIV) . . . . . . . ...

  • Freescale Semiconductor Block Guide - page 6

    Block Guide — S12EETX4KV0 V00.04 6 Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. .. ...

  • Freescale Semiconductor Block Guide - page 7

    Block Guide — S12EETX4KV0 V00.04 7 List of Tables Table 3-1 EEPROM Configuration Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Table 3-2 EEPROM Register Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 3-3 EEPROM Protection Address Range . . . . . . . . . . . . . ...

  • Freescale Semiconductor Block Guide - page 8

    Block Guide — S12EETX4KV0 V00.04 8 Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. .. ...

  • Freescale Semiconductor Block Guide - page 9

    Block Guide — S12EETX4KV0 V00.04 9 Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. .. ...

  • Freescale Semiconductor Block Guide - page 10

    Block Guide — S12EETX4KV0 V00.04 10 Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. .. ...

  • Freescale Semiconductor Block Guide - page 11

    Block Guide — S12EETX4KV0 V00.04 11 Section 1 Introduction 1.1 Overview This document describes the EETX4K module which includes a 4K byte EEPROM (Non-Volatile) memory. The EEPROM memory may be read as either bytes, aligned words or misaligned words. Read access time is one bus cycle for bytes and aligned words, and two bus cycles for misaligned ...

  • Freescale Semiconductor Block Guide - page 12

    Block Guide — S12EETX4KV0 V00.04 12 1.4 Block Diagram A block diagram of the EEPROM module is shown in Figure 1-1 . Figure 1-1 Module Block Diagram EETX4K EEPROM 2K * 16 Bits sector 0 sector 1 sector 1023 Oscillator Clock Divider Clock Command Interrupt Request EECLK Protection Command Pipeline cmd2 addr2 data2 cmd1 addr1 data1 Registers EEPROM I ...

  • Freescale Semiconductor Block Guide - page 13

    Block Guide — S12EETX4KV0 V00.04 13 Section 2 External Signal Description 2.1 Overview The EEPROM module contains no signals that connect off-chip. Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. .. ...

  • Freescale Semiconductor Block Guide - page 14

    Block Guide — S12EETX4KV0 V00.04 14 Section 3 Memory Map and Registers 3.1 Overview This section describes the memory map and registers for the EEPROM module. 3.2 Module Memory Map A linear EEPROM memory map is shown in Figure 3-1 . The HCS12X architecture actually places the EEPROM memory addresses between logical addresses $0800 and $1000 with ...

  • Freescale Semiconductor Block Guide - page 15

    Block Guide — S12EETX4KV0 V00.04 15 Figure 3-1 EEPROM Memory Map EEPROM Registers ADDRESS OFFSET = $_00 EEPROM Configuration Field ADDRESS OFFSET = $_0B EEPROM BASE + $_000 EEPROM BASE + $_FFF + $_FC0 + $_F80 EEPROM Memory Protected Region 64, 128, 192, 256, 320, 384, 448, 512 bytes EEPROM Memory 3584 bytes (up to 4032 b ytes) 12 bytes 16 bytes ...

  • Freescale Semiconductor Block Guide - page 16

    Block Guide — S12EETX4KV0 V00.04 16 The EEPROM module also contains a set of 12 control and status registers located between EEPROM register address offsets $_00 and $_0B. A summary of the EEPROM module registers is given in Table 3-2 while their accessibility is detailed in section 3.3 . NOTE: Register Address = EEPROM Control Register Base Addr ...

  • Freescale Semiconductor Block Guide - page 17

    Block Guide — S12EETX4KV0 V00.04 17 3.3 Register Descriptions 3.3.1 ECLKDIV — EEPROM Clock Divider Register The ECLKDIV register is used to control timed events in program and erase algorithms. Figure 3-2 EEPROM Clock Divider Register (ECLKDIV) All bits in the ECLKDIV register are readable, bits 6-0 are write once and bit 7 is not writable. EDI ...

  • Freescale Semiconductor Block Guide - page 18

    Block Guide — S12EETX4KV0 V00.04 18 3.3.3 RESERVED2 This register is reserved for factory testing and is not accessible. Figure 3-4 RESERVED2 All bits read zero and are not writable. 3.3.4 ECNFG — EEPROM Configuration Register The ECNFG register enables the EEPROM interrupts. Figure 3-5 EEPROM Configuration Register (ECNFG) CBEIE and CCIE bits ...

  • Freescale Semiconductor Block Guide - page 19

    Block Guide — S12EETX4KV0 V00.04 19 3.3.5 EPROT — EEPROM Protection Register The EPROT register defines which EEPROM sectors are protected against program or erase operations. Figure 3-6 EEPROM Protection Register (EPROT) All bits in the EPROT register are readable and writable except for RNV[6:4] which are only readable. The EPOPEN and EPDIS b ...

  • Freescale Semiconductor Block Guide - page 20

    Block Guide — S12EETX4KV0 V00.04 20 3.3.6 ESTAT — EEPROM Status Register The ESTAT register defines the operational status of the module. Figure 3-7 EEPROM Status Register (ESTAT) CBEIF, PVIOL and ACCERR are readable and writable, CCIF and BLANK are readable and not writable, remaining bits read zero and are not writable. CBEIF — Command Buff ...

  • Freescale Semiconductor Block Guide - page 21

    Block Guide — S12EETX4KV0 V00.04 21 The CCIF flag indicates that there are no more commands pending. The CCIF flag is cleared when CBEIF is clear and sets automatically upon completion of all active and pending commands. The CCIF flag does not set when an active commands completes and a pending command is fetched from the command buffer. Writing ...

  • Freescale Semiconductor Block Guide - page 22

    Block Guide — S12EETX4KV0 V00.04 22 Figure 3-8 EEPROM Command Register (ECMD) All CMDB bits are readable and writable during a command write sequence while bit 7 reads zero and is not writable. CMDB[6:0] — Valid EEPROM commands are shown in Table 3-4 . Writing any command other than those listed in Table 3-4 sets the ACCERR flag in the ESTAT re ...

  • Freescale Semiconductor Block Guide - page 23

    Block Guide — S12EETX4KV0 V00.04 23 3.3.9 EADDR — EEPROM Address Registers The EADDRHI and EADDRLO registers are the EEPROM address registers. Figure 3-10 EEPROM Address High Register (EADDRHI) Figure 3-11 EEPROM Address Low Register (EADDRLO) All EABHI and EABLO bits read zero and are not writable in normal modes. All EABHI and EABLO bits are ...

  • Freescale Semiconductor Block Guide - page 24

    Block Guide — S12EETX4KV0 V00.04 24 Figure 3-13 EEPROM Data Low Register (EDATALO) All EDHI and EDLO bits read zero and are not writable in normal modes. All EDHI and EDLO bits are readable and writable in special modes. Address Offset: $_0B 76543210 R EDLO W Reset: 00000000 = Unimplemented or Reserved Frees cale Semiconductor, I Freescale Semico ...

  • Freescale Semiconductor Block Guide - page 25

    Block Guide — S12EETX4KV0 V00.04 25 Section 4 Functional Description 4.1 EEPROM Command Operations Write and read operations are both used for the program, erase, erase verify, sector erase abort, and sector modify algorithms described in this section. The program, erase, and sector modify algorithms are controlled by a state machine whose timeba ...

  • Freescale Semiconductor Block Guide - page 26

    Block Guide — S12EETX4KV0 V00.04 26 then 182kHz. In this case, the EEPROM program and erase algorithm timings are increased over the optimum target by: NOTE: "4"Program and erase command execution time will increase proportionally with the period of EECLK. NOTE: Because of the impact of clock synchronization on the accuracy of the funct ...

  • Freescale Semiconductor Block Guide - page 27

    Block Guide — S12EETX4KV0 V00.04 27 Figure 4-1 Determination Procedure for PRDIV8 and EDIV Bits PRDIV8=1 yes no PRDIV8=0 (reset) 12.8MHz? EECLK=(PRDCLK)/(1+EDIV[5:0]) PRDCLK=oscillator_clock PRDCLK=oscillator_clock/8 PRDCLK[MHz]*(5+Tbus[ µ s]) no EDIV[5:0]=PRDCLK[MHz]*(5+Tbus[ µ s])-1 yes START Tbus < 1 µ s? an integer? EDIV[5:0]=INT(PRDCLK ...

  • Freescale Semiconductor Block Guide - page 28

    Block Guide — S12EETX4KV0 V00.04 28 4.1.2 Command Write Sequence The EEPROM command controller is used to supervise the command write sequence to execute program, erase, erase verify, sector erase abort, and sector modify algorithms. Before starting a command write sequence, the ACCERR and PVIOL flags in the ESTAT register must be clear (see sect ...

  • Freescale Semiconductor Block Guide - page 29

    Block Guide — S12EETX4KV0 V00.04 29 NOTE: The user should not program an EEPROM word without first erasing the sector in which that word resides. 4.1.3.1 Erase Verify Command The erase verify operation will verify that the EEPROM memory is erased. An example flow to execute the erase verify operation is shown in Figure 4-2 . The erase verify comm ...

  • Freescale Semiconductor Block Guide - page 30

    Block Guide — S12EETX4KV0 V00.04 30 Figure 4-2 Example Erase Verify Command Flow 4.1.3.2 Program Command The program operation will program a previously erased word in the EEPROM memory using an embedded algorithm. An example flow to execute the program operation is shown in Figure 4-3 . The program command write sequence is as follows: 1. Write ...

  • Freescale Semiconductor Block Guide - page 31

    Block Guide — S12EETX4KV0 V00.04 31 2. Write the program command, $20, to the ECMD register. 3. Clear the CBEIF flag in the ESTAT register by writing a “1” to CBEIF to launch the program command. If a word to be programmed is in a protected area of the EEPROM memory, the PVIOL flag in the ESTAT register will set and the program command will n ...

  • Freescale Semiconductor Block Guide - page 32

    Block Guide — S12EETX4KV0 V00.04 32 Figure 4-3 Example Program Command Flow 4.1.3.3 Sector Erase Command The sector erase operation will erase both words in a sector of EEPROM memory using an embedded algorithm. Write: EEPROM Address Write: ECMD register Program Command $20 Write: EST A T register Clear CBEIF $80 1. 2. 3. Clear ACCERR/PVIOL $30 W ...

  • Freescale Semiconductor Block Guide - page 33

    Block Guide — S12EETX4KV0 V00.04 33 An example flow to execute the sector erase operation is shown in Figure 4-4 . The sector erase command write sequence is as follows: 1. Write to an EEPROM memory address to start the command write sequence for the sector erase command. The EEPROM address written determines the sector to be erased while global ...

  • Freescale Semiconductor Block Guide - page 34

    Block Guide — S12EETX4KV0 V00.04 34 Figure 4-4 Example Sector Erase Command Flow 4.1.3.4 Mass Erase Command The mass erase operation will erase all addresses in an EEPROM block using an embedded algorithm. An example flow to execute the mass erase operation is shown in Figure 4-5 . The mass erase command write sequence is as follows: 1. Write to ...

  • Freescale Semiconductor Block Guide - page 35

    Block Guide — S12EETX4KV0 V00.04 35 If the EEPROM memory to be erased contains any protected area, the PVIOL flag in the ESTAT register will set and the mass erase command will not launch. Once the mass erase command has successfully launched, the CCIF flag in the ESTAT register will set after the mass erase operation has completed unless a new c ...

  • Freescale Semiconductor Block Guide - page 36

    Block Guide — S12EETX4KV0 V00.04 36 1. Write to any EEPROM memory address to start the command write sequence for the sector erase abort command. The address and data written are ignored. 2. Write the sector erase abort command, $47, to the ECMD register. 3. Clear the CBEIF flag in the ESTAT register by writing a “1” to CBEIF to launch the se ...

  • Freescale Semiconductor Block Guide - page 37

    Block Guide — S12EETX4KV0 V00.04 37 Figure 4-6 Example Sector Erase Abort Command Flow 4.1.3.6 Sector Modify Command The sector modify operation will erase both words in a sector of EEPROM memory followed by a reprogram of the addressed word using an embedded algorithm. An example flow to execute the sector modify operation is shown in Figure 4-7 ...

  • Freescale Semiconductor Block Guide - page 38

    Block Guide — S12EETX4KV0 V00.04 38 2. Write the sector modify command, $60, to the ECMD register. 3. Clear the CBEIF flag in the ESTAT register by writing a “1” to CBEIF to launch the sector erase command. If an EEPROM sector to be modified is in a protected area of the EEPROM memory, the PVIOL flag in the ESTAT register will set and the sec ...

  • Freescale Semiconductor Block Guide - page 39

    Block Guide — S12EETX4KV0 V00.04 39 1. Writing to an EEPROM address before initializing the ECLKDIV register. 2. Writing a byte or misaligned word to a valid EEPROM address. 3. Starting a command write sequence while a sector erase abort operation is active. 4. Writing to any EEPROM register other than ECMD after writing to an EEPROM address. 5. ...

  • Freescale Semiconductor Block Guide - page 40

    Block Guide — S12EETX4KV0 V00.04 40 4.2 Wait Mode If a command is active (CCIF=0) when the MCU enters the WAIT mode, the active command and any buffered command will be completed. The EEPROM module can recover the MCU from WAIT if the CBEIF and CCIF interrupts are enabled (see section 4.7 ). 4.3 Stop Mode If a command is active (CCIF = 0) when th ...

  • Freescale Semiconductor Block Guide - page 41

    Block Guide — S12EETX4KV0 V00.04 41 BDM status register. This BDM action will cause the MCU to override the Flash security state and the MCU will be unsecured. Once the MCU is unsecured, BDM commands will be enabled and the Flash security byte may be programmed to the unsecure state. 4.6 Resets 4.6.1 EEPROM Reset Sequence On each reset, the EEPRO ...

  • Freescale Semiconductor Block Guide - page 42

    Block Guide — S12EETX4KV0 V00.04 42 Figure 4-8 EEPROM Interrupt Implementation For a detailed description of the register bits, refer to the EEPROM Configuration register and EEPROM Status register sections (see sections 3.3.4 and 3.3.6 respectively). EEPROM Command Interrupt Request CBEIE CBEIF CCIE CCIF Frees cale Semiconductor, I Freescale Sem ...

  • Freescale Semiconductor Block Guide - page 43

    Block Guide — S12EETX4KV0 V00.04 43 Index –A– ACCERR 21 –B– Background Debug Mode 40 BLANK 21 –C– CBEIE 18 CBEIF 20 CCIE 18 CCIF 20 CMDB 22 Command Write Sequence 11 –E– EDIV 17 EDIVLD 17 EPDIS 19 EPOPEN 19 EPS 19 –I– Illegal EEPROM Operations 38 –K– KEYACC 19 –P– PRDIV8 17 PVIOL 21 –R– Registers EADDR 23 ECLKDIV 1 ...

  • Freescale Semiconductor Block Guide - page 44

    Block Guide — S12EETX4KV0 V00.04 44 Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. .. ...

  • Freescale Semiconductor Block Guide - page 45

    Block Guide — S12EETX4KV0 V00.04 45 Block Guide End Sheet Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. .. ...

  • Freescale Semiconductor Block Guide - page 46

    Block Guide — S12EETX4KV0 V00.04 46 FINAL PAGE OF 46 PAGES Frees cale Semiconductor, I Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com nc. .. ...

Fabbricante Freescale Semiconductor Categoria Computer Accessories

I documenti che otteniamo dal fabbricante del dispositivoFreescale Semiconductor Block Guide possono essere suddivisi in diversi gruppi. Questi sono tra gli altri:
- disegni tecnici Freescale Semiconductor
- manuali per l’uso Block Guide
- schede prodotto Freescale Semiconductor
- opuscoli
- o etichette energetiche Freescale Semiconductor Block Guide
Tutti sono importanti, ma le informazioni più importanti dal punto di vista di utilizzo del dispositivo possono essere trovate nel manuale per l’uso Freescale Semiconductor Block Guide.

Un gruppo di documenti denominato manuali per l’uso, è anche suddiviso in tipi più specifici, come: Manuali di installazione Freescale Semiconductor Block Guide, manuali di manutenzione, brevi manuali o manuali utente Freescale Semiconductor Block Guide. A seconda delle esigenze, si dovrebbe cercare il documento necessario. Nel nostro sito web, puoi visualizzare il manuale più popolare per l'uso del prodotto Freescale Semiconductor Block Guide.

Manuale completo del dispositivo Freescale Semiconductor Block Guide, come deve essere?
Il manuale per l’uso, denominato anche istruzioni per l’uso, o semplicemente il manuale è un documento tecnico progettato per aiutare ad utilizzare Freescale Semiconductor Block Guide dagli utenti. I manuali sono di solito scritti da uno scrittore tecnico, ma in un linguaggio accessibile a tutti gli utenti Freescale Semiconductor Block Guide.

Il manuale per l’uso completo Freescale Semiconductor, dovrebbe includere vari elementi di base. Alcuni di loro sono meno importanti, come ad esempio: copertina / pagina del titolo o pagina di autore. Tuttavia, la parte rimanente, dovrebbe fornire informazioni importanti dal punto di vista dell'utente.

1. Introduzione e la guida su come utilizzare il manuale Freescale Semiconductor Block Guide - All'inizio di ogni manuale, dovremmo trovare indizi su come utilizzare il documento. Dovrebbe contenere informazioni sulla posizione dell’indice Freescale Semiconductor Block Guide, FAQ o i problemi più comuni : i punti che sono più spesso cercati dagli utenti di ogni manuale
2. Indice - elenco di tutti i suggerimenti per Freescale Semiconductor Block Guide che possono essere trovati nel documento corrente
3. Suggerimenti su come utilizzare le funzioni di base del dispositivo Freescale Semiconductor Block Guide - che ci dovrebbe aiutare nei primi passi durante l'uso Freescale Semiconductor Block Guide
4. Troubleshooting - sequenza sistematica delle attività che vi aiuterà a diagnosticare e, successivamente, risolvere i problemi più importanti del Freescale Semiconductor Block Guide
5. FAQ - domande più frequenti
6. Dettagli di contatto Informazioni su dove cercare il contatto con il fabbricante / servizio Freescale Semiconductor Block Guide in un dato paese, se il problema non può essere risolto da noi stessi.

Hai una domanda su Freescale Semiconductor Block Guide?

Utilizza il modulo sottostante

Se non hai risolto il problema con Freescale Semiconductor Block Guide con l'aiuto del manuale che hai trovato, fai una domanda utilizzando il modulo sottostante. Se un utente ha avuto un problema simile con Freescale Semiconductor Block Guide è probabile che voglia condividere il modo di risolverlo.

Riscrivi il testo dall’immagine

Commenti (0)