TXZ Family
Flash Memory
2018-06-05
83 / 120
Rev. 2.0
6.5.1. (1-A) Procedure that a Programming Routine Stored in Flash memory
6.5.1.1. Step-1
A user determines the conditions (e.g., pin status) to enter the user boot mode and the I/O to be used to transfer data.
Then suitable circuit design and program are created. Before installing the device on a printed circuit board,
programmed the following three program routines into an arbitrary flash block using programming equipment such
as a flash writer.
(a) Mode determination routine:
A program to determine to switch to user boot mode.
(b) Copy routine:
A program to copy the data described in (c) to the on-chip RAM.
(c) Flash programming routine:
A program to download new program from the external device and
reprogram Flash memory.
Figure 6.1 Procedure that a Programming Routine Stored in Flash memory (1)
(b) Copy routine
(c) Programming routine