Datasheet
V850ES/JG3-H, V850ES/JH3-H CHAPTER 31 FLASH MEMORY
R01UH0042EJ0500 Rev.5.00 Page 1385 of 1513
Aug 12, 2011
31.5.4 Flash functions
Table 31-11. 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
√
31.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 31-19. 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.