How to write modification file to v850e2/fg4-L ?

I have read originals bin file (D-FLASH, P-FLASH and OPBT0) .After I modification data map in bin file (P-FLASH) and write back to MCU. But MCU Not Operation.
Please advise me. how to modification bin file and checksum of V850.