DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

C167CR-16F 查看數據表(PDF) - Siemens AG

零件编号
产品描述 (功能)
生产厂家
C167CR-16F Datasheet PDF : 63 Pages
First Prev 21 22 23 24 25 26 27 28 29 30 Next Last
C167CR-16F
06May97@14:10h Intermediate Version
After entering writing mode the first erase or programming operation must not be started for at least
10 µs. This absolute (!) delay time is required to set up the internal high voltage. In general, Flash
write operations need a 12 V external VPP voltage to be applied to the VPP pin.
It is not possible to erase or to program the Flash memory via code executed from the Flash memory
itself. The respective code must reside within the on-chip RAM or within external memory.
When programming or erasing ‘on-line’ in the target system, some considerations have to be taken:
While these operations are in progress, the Flash memory cannot be accessed as usual. Therefore
care must be taken that no branch is taken into the Flash memory and that no data reads are
attempted from the Flash memory during programming or erasure. If the Flash memory is mapped
to segment 0, it must especially be ensured that no interrupt or hardware trap can occur, because
this would implicitly mean such a ‘forbidden’ branch to the Flash memory. Correct Flash operation
is not guaranteed in this case.
The UNLOCK sequence is a specific key code sequence, which is required to enable the writing
modes of the C167CR-16F. The UNLOCK sequence must use identical values (see example
below) and the two accesses must not be interrupted:
MOV
MOV
CALL
FCR, Rwn
[Rwn], Rwn
cc_UC, WAIT_10
;Dummy write to the FCR
;Both operands use the same GPR
;Delay for 10 µs (may be realized also by
;instructions other than a delay loop
where Rwn can be any word GPR (R0…R15). [Rwn] and FCR must point to even addresses within
the active address space of the Flash memory.
Note: Data paging and Flash segment mapping, if active, must be considered in this context.
In Flash Erase Mode (FEE=’1’, FWE=’1’) the C167CR-16F is prepared to erase the bank selected
by the Bank Erase (BE) bit field in the FCR. The width of the erase pulses generated internally is
defined by the Internal Flash Timer Clock Control (CKCTL) bit field of the FCR. The maximum
number of erase pulses (ENmax) applied to the Flash memory is determined by software in the Flash
erase algorithm. The chosen values for CKCTL and ENmax must guarantee a maximum cumulated
erase time of 30 s per bank and a maximum erase pulse width of 10 ms.
The Flash bank erase operation will not start before the erase command is given. This provides
additional security for the erase operation. The erase command can be any write operation to a
Flash location, where the data and the even address written to must be identical:
MOV
[Rwn], Rwn
; Both operands use the same GPR
Upon the execution of this instruction, the Flash Busy (FBUSY) flag is automatically set to ‘1’
indicating the start of the operation. End of erasure can be detected by polling the FBUSY flag. VPP
must stay within the valid margins during the entire erase process.
At the end of erasure the Erase-Verify-Mode (EVM) is entered automatically. This mode allows to
check the effect of the erase operation (see description below).
Note: Before the erase algorithm can be properly executed, the respective bank of the Flash
memory must be programmed to all zeros (‘0000H’).
Semiconductor Group
18

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]