Freescale Semiconductor EETX4Kの取扱説明書

46ページ 0.44 mb
ダウンロード

ページに移動 of 46

Summary
  • Freescale Semiconductor EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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 EETX4K - 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. .. ...

メーカー Freescale Semiconductor カテゴリー Computer Accessories

Freescale Semiconductor EETX4Kのメーカーから受け取ることができるドキュメントは、いくつかのグループに分けられます。その一部は次の通りです:
- #BRANDの図面#
- EETX4Kの取扱説明書
- Freescale Semiconductorの製品カード
- パンフレット
- またはFreescale Semiconductor EETX4Kの消費電力シール
それらは全部重要ですが、デバイス使用の観点から最も重要な情報は、Freescale Semiconductor EETX4Kの取扱説明書に含まれています。

取扱説明書と呼ばれる文書のグループは、Freescale Semiconductor EETX4Kの取り付け説明書、サービスマニュアル、簡易説明書、またはFreescale Semiconductor EETX4Kのユーザーマニュアル等、より具体的なカテゴリーに分類されます。ご必要に応じてドキュメントを検索しましょう。私たちのウェブサイトでは、Freescale Semiconductor EETX4Kの製品を使用するにあたって最も人気のある説明書を閲覧できます。

Freescale Semiconductor EETX4Kデバイスの取扱説明書はどのようなものですか?
取扱説明書は、ユーザーマニュアル又は単に「マニュアル」とも呼ばれ、ユーザーがFreescale Semiconductor EETX4Kを使用するのを助ける技術的文書のことです。説明書は通常、全てのFreescale Semiconductor EETX4Kユーザーが容易に理解できる文章にて書かれており、その作成者はその分野の専門家です。

Freescale Semiconductorの取扱説明書には、基本的な要素が記載されているはずです。その一部は、カバー/タイトルページ、著作権ページ等、比較的重要度の低いものです。ですが、その他の部分には、ユーザーにとって重要な情報が記載されているはずです。

1. Freescale Semiconductor EETX4Kの説明書の概要と使用方法。説明書にはまず、その閲覧方法に関する手引きが書かれているはずです。そこにははFreescale Semiconductor EETX4Kの目次に関する情報やよくある質問、最も一般的な問題に関する情報を見つけられるはずです。つまり、それらはユーザーが取扱説明書に最も期待する情報なのです。
2. 目次。Freescale Semiconductor EETX4Kに関してこのドキュメントで見つけることができる全てのヒントの目次
3. Freescale Semiconductor EETX4Kデバイスの基本機能を使うにあたってのヒント。 Freescale Semiconductor EETX4Kのユーザーが使い始めるのを助けてくれるはずです。
4. トラブルシューティング。Freescale Semiconductor EETX4Kに関する最も重要な問題を診断し、解決するために役立つ体系化された手続き
5. FAQ。よくある質問
6. 連絡先。一人では問題を解決できない場合に、その国におけるFreescale Semiconductor EETX4Kのメーカー/サービスへの連絡先に関する情報。

Freescale Semiconductor EETX4Kについてご質問がありますか?

次のフォームを使用してください

見つけた説明書を読んでもFreescale Semiconductor EETX4Kの問題を解決できない場合、下記のフォームを使用して質問をしましょう。ユーザーのどなたかがFreescale Semiconductor EETX4Kで同様の問題を抱えていた場合、その解決方法を共有したいと考えるかもしれません。

画像のテキストを入力してください

コメント (0)