9
rev. 5.2/将 01
HY29F400
这 程序 为 sector unprotection 是 illustrated
在 这 流动 chart 在 图示 2, 和 定时 specifica-
tions 和 波形 是 给 在 这 终止 的 这个
文档.
便条 那 至 unprotect 任何 sector, 所有
unprotected sectors 必须 第一 是 保护 较早的
至 这 第一 unprotect 写 循环.
sectors 能 也 是
temporarily
unprotected 作
描述 在 这 next 部分.
temporary sector unprotect 运作
这个 特性 准许 temporary unprotection 的 前-
viously 保护 sectors 至 准许 changing 这
数据 在-系统. temporary sector unprotect
模式 是 使活动 用 设置 这 reset# 管脚 至
V
ID
. 当 在 这个 模式, formerly 保护 秒-
tors 能 是 编写程序 或者 erased 用 invoking
这 适合的 commands (看 设备 com-
mands 部分). once v
ID
是 移除 从 re-
set#, 所有 这 先前 保护 sectors 是 pro-
tected 又一次. 图示 3 illustrates 这 algorithm.
开始
便条: 所有 sectors 必须 是
先前 保护.
设置: trycnt = 1
设置: a[9] = ce# = oe# = v
ID
设置: reset# = v
IH
we# = v
IL
wait t
WPP2
设置:
a[9] = v
ID
oe# = ce# = v
IL
读 数据
数据 = 0x00?
nsec = 10?
YES
trycnt = 1000?
非
increment trycnt
非
YES
设备 失败
非
YES
除去 v
ID
从 a[9]
sector unprotect
完全
应用 v
CC
设置 sector 地址:
a[17:12] = sector nsec
a[0] = a[6] = v
IL
a[1] = v
IH
nsec = nsec + 1
设置: nsec = 0
we# = v
IH
图示 2. sector unprotect 程序
开始
reset# = v
ID
(所有 保护 sector groups
变为 unprotected)
执行 程序 或者 擦掉
行动
reset# = v
IH
(所有 先前 保护
sector groups 返回 至
保护 状态)
temporary sector
unprotect 完全
图示 3. temporary sector unprotect