AN2400 Freescale Semiconductor / Motorola, AN2400 Datasheet - Page 46
AN2400
Manufacturer Part Number
AN2400
Description
HCS12 NVM Guidelines
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
1.AN2400.pdf
(48 pages)
- Current page: 46 of 48
- Download datasheet (792Kb)
AN2400/D
46
10. Write $00 to the FCNFG register to select Flash block 0.
11. Write $10 to the FTSTMOD register ($0102) to set the WRALL bit, so the
12. Write $FF to the FPROT register to disable protection.
13. Write $30 to the FSTAT register to clear the PVIOL and ACCERR bits.
14. Write $0000 to the FDATA register ($010A–$010B)
15. Write $0000 to the FADDR register ($0108–$0109)
16. Write $41 (Mass Erase) to the FCMD register.
17. Write $80 to the FSTAT register to clear CBEIF.
18. Wait until all CCIF flags are set.
19. Reset back into Special Single Chip mode
20. Write an appropriate value to the FCLKDIV register for correct timing.
21. Write $00 to the FCNFG register to select Flash block 0.
22. Write $FF to the FPROT register to disable protection.
23. Write $FFBE to Flash address $FF0E
24. Write $20 (Program) to the FCMD register.
25. Write $80 to the FSTAT register to clear CBEIF.
26. Wait until the CCIF flag in FSTAT is are set.
27. Reset into any mode.
7. Write $41 (Mass Erase) to the ECMD register.
8. Write $80 to the ESTAT register to clear CBEIF.
9. Write an appropriate value to the FCLKDIV register for correct timing.
Freescale Semiconductor, Inc.
For More Information On This Product,
following writes affect all flash blocks.
Go to: www.freescale.com
HCS12 NVM Guidelines
MOTOROLA
Related parts for AN2400
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
An Overview og the Phase Locked Loop
Manufacturer:
Philips
Datasheet:
Part Number:
Description:
AN OVERVIEW OF THE LPC FLASH INTERFACE
Manufacturer:
STMicroelectronics
Part Number:
Description:
An Evaluation System Interfacing the MPX2000 Series Pressure Sensors to a Microprocessor
Manufacturer:
Motorola / Freescale Semiconductor
Part Number:
Description:
An FM-IF system for DECT and other high speed GFSK applications
Manufacturer:
Philips Semiconductors / NXP Semiconductors
Part Number:
Description:
An 8 x 8 Discrete Cosine Transform on the StarCore SC140/SC1400 Cores
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Overview of the HCS12 ATD Module
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An Introduction to the External Bus Interface on the HCS12X
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
An RF Data Link Using Tango3 and Romeo2 RF Modules
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 44-HSOP
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
IC POWER SUPPLY MULT-OUT 54-SOIC
Manufacturer:
Freescale Semiconductor
Datasheet:
Part Number:
Description:
Low-Cost 16-Bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller and 10/100 Mbps Ethernet MAC
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Low-Cost 16-bit DSP with DDR Controller
Manufacturer:
Freescale Semiconductor / Motorola
Datasheet:
Part Number:
Description:
Functional Pin Difference Between the MSC8101 and MPC8260 Communications Processor Modules
Manufacturer:
Freescale Semiconductor / Motorola