FR Possible to write in the flash by unit of Half-Word

Answer:

FLASH MCU for F2 MC-16LX family is possible to program with half-word unit by issuing command as following on RAM. Erase is sector unit.

FLASH Memory Writing Command

example: MB91260A series

                                                                                                              
Command Sequence1st bus
    Write cycle
2nd bus
    Write cycle
3rd bus
    Write cycle
4th bus
    Write cycle
AddressDataAddressDataAddressDataAddressData
Write ProgramD5557AACAAAB55D5557A0Write
    address
Write
    data

Command Program sample (Execute on RAM) 

                                                                                                                                                                                                                                              
LDI:20#D5557H,R2; FLASH Write Command 1st cycle
LDI:8#AAH,R3 
STBR3,@R2 
LDI:20LDI:20; FLASH Write Command 2nd cycle
LDI:8#55H,R3 
STBR3,@R2 
LDI:20#D5557H,R2; FLASH Write Command 3rd cycle
LDI:8#A0H,R3 
STBR3,@R2 
LDI:20#C0000H,R2; C0000h ← "55AAh" write
LDI:20#55AAH,R3 
STBR3,@R2 
 .
    .
    Sequence check
    .
    .