How to Reprogramming using Dual Mode
The dual mode executes flash reprogramming using the flash memory reprogramming routine located in specified
block on the users' set.
For example, while a program is executing on FLASH I/F 0, another area (such as Area 4 of FLASH I/F 2: data
flash) of the flash memory, on which instructions are not executed, can be programmed/erased. (The opposite case
is also possible.) Programming/erasing of the flash memory cannot be executed on the same FLASH I/F of the flash
memory. Use different areas for programming/erasing of the flash memory.
When you use an exception in a dual mode, please mind not to perform accidentally the area which performs
programming/erasing of a flash memory.
6.7.1. Example of Flash Memory Reprogramming Procedure
6.7.1.1. Step-1
A user determines the conditions (e.g., pin status) to enter the on-board programming and the target FLASH I/F in
Flash memory to be programmed or erased. Then suitable circuit design and program are created along to the users'
conditions.
(a) Mode determination routine: A program to determine to switch to user boot mode
(b) Programming routine:
2018-06-05
A program to download new program from the host controller and
reprogram Flash memory.
( FLASH I/F 0 )
( FLASH I/F 1 )
Figure 6.25 Reprogramming using Dual Mode (1)
108 / 120
TXZ Family
Flash Memory
Rev. 2.0