Freescale Semiconductor Block Guide, EETX4K Example Sector Erase Command Flow Mass Erase Command

Page 34

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

Block Guide — S12EETX4KV0 V00.04

START

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read: ECLKDIV register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Clock Register

 

 

 

 

 

 

 

 

 

 

 

NOTE: ECLKDIV needs to

EDIVLD

 

 

no

 

 

 

 

Written

 

 

 

 

 

 

Set?

 

 

 

 

 

 

 

 

be set once after each reset.

Check

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Write: ECLKDIV register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read: ESTAT register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Address, Data,

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CBEIF

no

 

 

 

Command

 

 

 

 

 

 

 

 

 

Set?

 

 

 

 

 

 

 

Buffer Empty Check

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

yes

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Access Error and

 

 

 

ACCERR/

yes

 

 

 

 

 

 

Write: ESTAT register

Protection Violation

 

 

 

PVIOL

 

 

 

 

Clear ACCERR/PVIOL $30

 

 

 

 

 

 

 

 

 

 

Set?

 

 

 

 

Check

 

 

 

 

 

 

 

 

 

 

 

 

 

no

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1.

Write: EEPROM Sector Address

 

 

 

and Dummy Data

 

 

 

NOTE: command write sequence

 

 

 

 

 

 

 

 

 

 

2.

Write: ECMD register

aborted by writing $00 to

Sector Erase Command $40

 

ESTAT register.

 

 

 

 

 

 

 

 

 

 

NOTE: command write sequence

 

Write: ESTAT register

3.

aborted by writing $00 to

Clear CBEIF $80

 

ESTAT register.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Read: ESTAT register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit Polling for

Command Completion CCIFno

Set?

Check

yes

EXIT

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 an EEPROM memory address to start the command write sequence for the mass erase command. The address and data written will be ignored.

2.Write the mass erase command, $41, to the ECMD register.

3.Clear the CBEIF flag in the ESTAT register by writing a “1” to CBEIF to launch the mass erase command.

34

For More Information On This Product,

Go to: www.freescale.com

Image 34
Contents Freescale Semiconductor, Inc Original Release Date 7 JUL Revised 30 OCT Motorola, IncRevision History Table of Contents Freescale Semiconductor, Inc List of Figures Freescale Semiconductor, Inc List of Tables Freescale Semiconductor, Inc Freescale Semiconductor, Inc Freescale Semiconductor, Inc Overview FeaturesIntroduction Modes of OperationClock Block DiagramInterface DividerExternal Signal Description Module Memory Map Memory Map and RegistersEeprom Configuration Field Eeprom Memory Map Address Register Name Normal Mode Offset Access Eeprom Register MapRegister Descriptions Eclkdiv Eeprom Clock Divider RegisterEcnfg Eeprom Configuration Register RESERVED2Eprot Eeprom Protection Register Eeprom Protection Register EprotEstat Eeprom Status Register Eeprom Protection Address RangeEcmd Eeprom Command Register Eeprom Command Register Ecmd Valid Eeprom Command ListEaddr Eeprom Address Registers Edata Eeprom Data Registers13 Eeprom Data Low Register Edatalo Functional Description Eeprom Command OperationsWriting the Eclkdiv Register 200 -182 ⁄ 200 × 100 = 9% Determination Procedure for PRDIV8 and Ediv Bits Eeprom Commands Command Write SequenceEeprom Command Description Erase Verify Command SectorExample Erase Verify Command Flow Program Command Freescale Semiconductor, Inc Example Program Command Flow Sector Erase Command Freescale Semiconductor, Inc Example Sector Erase Command Flow Mass Erase Command Example Mass Erase Command Flow Sector Erase Abort Command Freescale Semiconductor, Inc Ccif Example Sector Modify Command Flow Illegal Eeprom Operations3.5 Background Debug Mode Wait ModeStop Mode Unsecuring the MCU in Special Single Chip Mode via the BDMReset While Eeprom Command Active ResetsEeprom Reset Sequence InterruptsEeprom Interrupt Implementation Index Freescale Semiconductor, Inc Block Guide End Sheet Final Pages

Block Guide, EETX4K specifications

Freescale Semiconductor, a global leader in embedded processing solutions, introduced the EETX4K, a revolutionary embedded processor designed to meet the growing demands of industrial applications. The EETX4K processor is specifically engineered for high-performance, low-power systems, offering an ideal balance between performance and power consumption.

One of the main features of the EETX4K is its high level of integration. This processor houses a powerful ARM Cortex-A9 core, which allows for efficient processing capabilities while maintaining a compact architecture. This ensures that the EETX4K can operate seamlessly in various applications, including automotive systems, industrial automation, and consumer electronics.

A standout characteristic of the EETX4K is its extensive connectivity options. It supports a range of communication interfaces, such as Ethernet, SPI, I2C, UART, and USB, enabling flexible integration into various networked environments. The processor is equipped with hardware Ethernet support for Real-Time Ethernet protocols, ensuring reliable and deterministic data transfer, which is crucial for time-sensitive applications.

In addition to its connectivity features, the EETX4K supports advanced graphical processing capabilities. With integrated 3D Graphics and Video Processing Units, it can handle demanding multimedia applications, making it suitable for user interfaces in industrial machines and smart devices. This makes the EETX4K an optimal choice for applications requiring rich graphics and advanced visualization.

Another important technological aspect of the EETX4K is its robust security features. It is designed with security in mind, incorporating hardware support for secure boot and secure data storage. This ensures that sensitive information is protected against potential threats and vulnerabilities, a critical requirement in today's interconnected world.

Furthermore, the EETX4K is optimized for energy efficiency, allowing for extended operational periods in battery-powered or energy-constrained environments. With its low thermal design power (TDP), it minimizes heat generation, ensuring that systems remain reliable and efficient under various operating conditions.

In summary, the Freescale Semiconductor EETX4K is a versatile embedded processor that combines high performance, comprehensive connectivity, advanced graphics capabilities, robust security features, and energy efficiency. These attributes make it an ideal solution for a wide range of applications, paving the way for innovation across multiple industries.