r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 954

no-image

r5f71374an80fpv

Manufacturer Part Number
r5f71374an80fpv
Description
32-bit Risc Microcomputer Superh?? Risc Engine Family
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F71374AN80FPV
Manufacturer:
TI
Quantity:
1 001
Section 22 Flash Memory
(2.11) Programming
(2.12) The return value in the programming program, FPFR (general register R0) is checked.
(2.13) Determine whether programming of the necessary data has finished.
(2.14) After programming finishes, clear FKEY and specify software protection.
Rev. 1.00 Sep. 21, 2007 Page 928 of 1124
REJ09B0402-0100
MOV.L #DLTOP+16,R1
JSR
NOP
The start address of the programming destination of the user MAT (FMPAR) is set to general
register R5. The start address of the program data storage area (FMPDR) is set to general
register R4.
There is an entry point of the programming program in the area from (download start address
set by FTDAR) + 16 bytes of on-chip RAM. The subroutine is called and programming is
executed by using the following steps.
 The general registers other than R0 are saved in the programming program.
 R0 is a return value of the FPFR parameter.
 Since the stack area is used in the programming program, a stack area of maximum 128
If more than 128 bytes of data are to be programmed, specify FMPAR and FMPDR in 128-
byte units, and repeat steps (2.10) to (2.13). Increment the programming destination address by
128 bytes and update the programming data pointer correctly. If an address which has already
been programmed is written to again, not only will a programming error occur, but also flash
memory will be damaged.
If this LSI is restarted by a power-on reset immediately after user MAT programming has
finished, secure a reset period (period of RES = 0) that is at least as long as the normal 100 µs.
• FMPAR setting
• FMPDR setting
bytes must be reserved in RAM.
FMPAR specifies the programming destination start address. When an address other
than one in the user MAT area is specified, even if the programming program is
executed, programming is not executed and an error is returned to the return value
parameter FPFR. Since the unit is 128 bytes, the lower eight bits (MOA7 to MOA0)
must be in the 128-byte boundary of H'00 or H'80.
If the storage destination of the program data is flash memory, even when the program
execution routine is executed, programming is not executed and an error is returned to
the FPFR parameter. In this case, the program data must be transferred to on-chip RAM
and then programming must be executed.
@R1
; Set entry address to R1
; Call programming routine

Related parts for r5f71374an80fpv