參數(shù)資料
型號: MC68HC08JK3EMDW
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: Microcontrollers
中文描述: 微控制器
文件頁數(shù): 31/180頁
文件大小: 1018K
代理商: MC68HC08JK3EMDW
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁當(dāng)前第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁
Flash Program Operation
MC68HC908JL3E Family Data Sheet, Rev. 4
Freescale Semiconductor
31
2.10 Flash Program Operation
Programming of the Flash memory is done on a row basis. A row consists of 32 consecutive bytes starting
from addresses $XX00, $XX20, $XX40, $XX60, $XX80, $XXA0, $XXC0 or $XXE0. Use this step-by-step
procedure to program a row of Flash memory (
Figure 2-5
shows a flowchart of the programming
algorithm):
1.
Set the PGM bit. This configures the memory for program operation and enables the latching of
address and data for programming.
2.
Write any data to any Flash location within the address range of the row to be programmed.
3.
Wait for a time, t
nvs
(10
μ
s).
4.
Set the HVEN bit.
5.
Wait for a time, t
pgs
(5
μ
s).
6.
Write data to the byte being programmed.
7.
Wait for time, t
PROG
(30
μ
s).
8.
Repeat step 6 and 7 until all the bytes within the row are programmed.
9.
Clear the PGM bit.
10.
Wait for time, t
nvh
(5
μ
s).
11.
Clear the HVEN bit.
12.
After time, t
rcv
(1
μ
s), the memory can be accessed in read mode again.
This program sequence is repeated throughout the memory until all data is programmed.
NOTE
The time between each Flash address change (step 6 to step 6), or the time
between the last Flash addressed programmed to clearing the PGM bit
(step 6 to step 10), must not exceed the maximum programming time,
t
PROG
max.
NOTE
Programming and erasing of Flash locations cannot be performed by code
being executed from the Flash memory. While these operations must be
performed in the order shown, other unrelated operations may occur
between the steps.
2.11 Flash Protection
Due to the ability of the on-board charge pump to erase and program the Flash memory in the target
application, provision is made to protect blocks of memory from unintentional erase or program operations
due to system malfunction. This protection is done by use of a Flash Block Protect Register (FLBPR). The
FLBPR determines the range of the Flash memory which is to be protected. The range of the protected
area starts from a location defined by FLBPR and ends to the bottom of the Flash memory ($FFFF). When
the memory is protected, the HVEN bit cannot be set in either ERASE or PROGRAM operations.
相關(guān)PDF資料
PDF描述
MC68HC08JK8CDW Microcontrollers
MC68HC08JL3H Microcontrollers
MC68HC08JT8 M68HC08 Microcontrollers
MC68HC08KH12A Microcontrollers
MC68HC08LT8 Microcontrollers
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC08JK3EMP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08JK8 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08JK8CDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08JK8CP 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Addendum to MC68HC908JL8 Technical Data
MC68HC08JK8MDW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers