| 数据搜索系统,热门电子元器件搜索 |
|
HC705P6AGRS/D 数据表(PDF) 94 Page - NXP Semiconductors |
|
|
|||||||||||||||||||||||||||||
HC705P6AGRS/D 数据表(HTML) 94 Page - NXP Semiconductors |
|
94 / 134 page ![]() Mask Option Register (MOR) General Release Specification MC68HC705P6A — Rev. 1.0 Mask Option Register (MOR) 11.4 MOR Programming The contents of the MOR should be programmed in bootloader mode using the hardware shown in Figure 10-2. In order to allow programming, all the implemented bits in the MOR are essentially read- write bits in bootloader mode as shown in Figure 11-1. The programming of the MOR is the same as user EPROM. 1. Set the ELAT bit in the EPROG register. 2. Write the desired data to the desired MOR address. 3. Set the EPGM bit in the EPROG. 4. Wait for the programming time (tEPGM). 5. Clear the ELAT and EPGM bits in the EPROG. 6. Remove the programming voltage from the IRQ/VPP pin. A sample routine to program a byte of EPROM is shown in Table 11-2. Once the MOR bits have been programmed, the options are not loaded into the MOR registers until the part is reset. Table 11-2. MOR Programming Routine 001C 00FF 0023 1EFF 1F00 0000 EPROG DATA2 DATA1 MOR2 MOR1 EPGM EQU $1C EQU $FF EQU #23 EQU $1EFF EQU $1F00 EQU $00 PROGRAMMING REG SAMPLE MOR VALUES MOPR ADDRESSES EPGM BIT IN EPROG REG 00E0 ORG $E0 00E0 00E2 00E4 00E6 00E9 00EB 00ED 00EF A6 04 B7 1C A6 FF C7 1E FF 12 1C AD 03 3F 1C 81 LDA #$04 STA EPROG LDA #DATA2 STA MOR2 BSET EPGM,EPROG BSR DELAY CLR EPROG RTS SET ELAT BIT IN EPGM REG AT $1C DATA BYTE WRITE IT TO MOR LOC TURN ON PGM VOLTAGE WAIT 4 ms MINIMUM CLR EPGM REGISTER Freescale Semiconductor, Inc. For More Information On This Product, Go to: www.freescale.com |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |