|
COP8AME9_14 Datasheet, PDF (28/102 Pages) Texas Instruments – COP8AME9 8-Bit CMOS Flash Microcontroller with 8k Memory, Dual Op Amps, Virtual EEPROM, Temperature Sensor, 10-Bit A/D and Brownout Reset | |||
|
◁ |
COP8AME9, COP8ANE9
SNOS930F â MARCH 2001 â REVISED MARCH 2013
Table 10. PGMTIM Register Format
PGMTIM
Register Bit
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
1
1
1
0
0
0
0
1
0
0
0
0
0
0
0
1
0
1
1
0
0
0
0
1
1
1
1
0
0
0
1
0
0
0
1
0
0
0
1
0
1
1
1
0
0
0
1
1
1
0
1
0
0
1
0
0
1
1
1
0
0
1
0
1
1
1
1
0
0
1
1
1
1
1
1
0
1
0
0
0
1
1
1
0
1
0
0
1
0
0
0
0
1
0
0
1
0
1
1
0
1
0
0
1
1
1
1
0
1
0
1
0
1
0
0
0
1
0
1
1
0
1
1
0
1
1
0
0
0
1
1
0
1
1
0
1
1
1
1
0
1
1
1
1
0
1
1
R
R/W
R/W
R/W
R/W
R/W
R/W
R/W
www.ti.com
CKI Frequency Range
25 kHzâ33.3 kHz
37.5 kHzâ50 kHz
50 kHzâ66.67 kHz
62.5 kHzâ83.3 kHz
75 kHzâ100 kHz
100 kHzâ133 kHz
112.5 kHzâ150 kHz
150 kHzâ200 kHz
200 kHzâ266.67 kHz
225 kHzâ300 kHz
300 kHzâ400 kHz
375 kHzâ500 kHz
500 kHzâ666.67 kHz
600 kHzâ800 kHz
800 kHzâ1.067 MHz
1 MHzâ1.33 MHz
1.125 MHzâ1.5 MHz
1.5 MHzâ2 MHz
2 MHzâ2.67 MHz
2.625 MHzâ3.5 MHz
3.5 MHzâ4.67 MHz
4.5 MHzâ6 MHz
6 MHzâ8 MHz
7.5 MHzâ10 MHz
MANEUVERING BACK AND FORTH BETWEEN FLASH MEMORY AND BOOT ROM
When using ISP, at some point, it will be necessary to maneuver between the flash program memory and the
Boot ROM, even when using customized ISP routines. This is because it's not possible to execute from the flash
program memory while it's being programmed.
Two instructions are available to perform the jumping back and forth: Jump to Boot (JSRB) and Return to Flash
(RETF). The JSRB instruction is used to jump from flash memory to Boot ROM, and the RETF is used to return
from the Boot ROM back to the flash program memory. See Instruction Set for specific details on the operation of
these instructions.
The JSRB instruction must be used in conjunction with the Key register. This is to prevent jumping to the Boot
ROM in the event of run-away software. For the JSRB instruction to actually jump to the Boot ROM, the Key bit
must be set. This is done by writing the value shown in Table 11 to the Key register. The Key is a 6 bit key and,
if the key matches, the KEY bit will be set for 8 instruction cycles. The JSRB instruction must be executed while
the KEY bit is set. If the KEY does not match, then the KEY bit will not be set and the JSRB will jump to the
specified location in the flash memory. In emulation mode, if a breakpoint is encountered while the KEY is set,
the counter that counts the instruction cycles will be frozen until the breakpoint condition is cleared. If an interrupt
occurs while the key is set, the Key will expire before interrupt service is complete. It is recommended that the
software globally disable interrupts before setting the key and re-enable interrupts on completion of Boot
ROM execution. The Key register is a memory mapped register. Its format when writing is shown in Table 11.
28
Submit Documentation Feedback
Copyright © 2001â2013, Texas Instruments Incorporated
Product Folder Links: COP8AME9 COP8ANE9
|
▷ |