ix
第 30 章 双操作闪存 .................................................................................... 659
30.1 双操作闪存的概要 ............................................................................................................ 660
30.2 闪存扇区 / 组的配置 ......................................................................................................... 662
30.3 闪存寄存器 ....................................................................................................................... 663
30.3.1 闪存状态寄存器 2 (FSR2) ........................................................................................... 664
30.3.2 闪存状态寄存器 (FSR) ................................................................................................ 666
30.3.3 闪存扇区编程控制寄存器 (SWRE0) ............................................................................ 669
30.3.4 闪存状态寄存器 3 (FSR3) ........................................................................................... 671
30.4 启动闪存自动算法 ............................................................................................................ 678
30.5 检查自动算法执行状态 ..................................................................................................... 680
30.5.1 数据轮询标志 (DQ7) ................................................................................................... 682
30.5.2 跳转位标志 (DQ6) ....................................................................................................... 683
30.5.3 执行超时标志 (DQ5) ................................................................................................... 684
30.5.4 扇区擦除定时器标志 (DQ3) ........................................................................................ 685
30.6 写 / 擦闪存 ....................................................................................................................... 686
30.6.1 闪存进入读取 / 复位状态 ............................................................................................. 687
30.6.2 闪存编程数据的步骤 ................................................................................................... 688
30.6.3 擦除闪存的全部数据 ( 芯片擦除 ) ................................................................................ 690
30.6.4 擦除闪存任意数据 ( 扇区擦除 ) ................................................................................... 691
30.6.5 暂停闪存扇区擦除 ....................................................................................................... 693
30.6.6 恢复闪存扇区擦除命令 ................................................................................................ 694
30.7 双操作闪存的操作 ............................................................................................................ 695
30.8 闪存加密 .......................................................................................................................... 697
30.9 双操作闪存的使用注意事项 ............................................................................................. 698
第 31 章 串行编程连接示例 ......................................................................... 699
31.1 串行编程连接的基本配置 ................................................................................................. 700
31.2 串行编程连接示例 ............................................................................................................ 702
第 32 章 非易失性寄存器 (NVR) 功能 .......................................................... 705
32.1 NVR 接口的概要 .............................................................................................................. 706
32.2 NVR 接口的配置 .............................................................................................................. 707
32.3 NVR 接口的寄存器 ........................................................................................................... 708
32.3.1 主 CR 时钟调节寄存器 ( 高位 ) (CRTH) ...................................................................... 709
32.3.2 主 CR 时钟调节寄存器 ( 低位 ) (CRTL) ....................................................................... 711
32.3.3 监视定时器选择 ID 寄存器 (WDTH, WDTL) ................................................................ 712
32.4 主 CR 时钟调节的注意事项 .............................................................................................. 714
32.5 NVR 的使用注意事项 ....................................................................................................... 716
附录 ........................................................................................................................ 717
附录 A I/O 映射 ................................................................................................................. 718
附录 B 中断源一览表 ........................................................................................................ 729
附录 C 存储器映射 ............................................................................................................ 730
附录 D MB95310L/370L 系列的引脚状态 ......................................................................... 731
附录 E 指令概要 ................................................................................................................ 734
E.1 寻址 ................................................................................................................................. 737
E.2 特殊指令 .......................................................................................................................... 741
E.3 位操作指令 (SETB, CLRB) .............................................................................................. 745
E.4 F
2
MC-8FX 指令 ............................................................................................................... 746