Datasheet

V850ES/JG3 CHAPTER 27 FLASH MEMORY
R01UH0015EJ0300 Rev.3.00 Page 744 of 870
Sep 30, 2010
27.5.4 Flash functions
Table 27-10. Flash Function List
Function Name Outline Support
FlashInit Self-programming library initialization
FlashEnv Flash environment start/end
FlashFLMDCheck FLMD pin check
FlashStatusCheck Hardware processing execution status check
FlashBlockErase Block erase
FlashWordWrite Data write
FlashBlockIVerify Internal verification of block
FlashBlockBlankCheck Blank check of block
FlashSetInfo Flash information setting
FlashGetInfo Flash information acquisition
FlashBootSwap Boot swap execution
27.5.5 Pin processing
(1) FLMD0 pin
The FLMD0 pin is used to set the operation mode when reset is released and to protect the flash memory from
being written during self rewriting. It is therefore necessary to keep the voltage applied to the FLMD0 pin at 0 V
when reset is released and a normal operation is executed. It is also necessary to apply a voltage of V
DD level to
the FLMD0 pin during the self programming mode period via port control before the memory is rewritten.
When self programming has been completed, the voltage on the FLMD0 pin must be returned to 0 V.
Figure 27-18. Mode Change Timing
RESET signal
FLMD0 pin
V
DD
0 V
V
DD
0 V
Self programming mode
Normal
operation mode
Normal
operation mode
Caution Make sure that the FLMD0 pin is at 0 V when reset is released.