Rev. 1.60
50
August 20, 2019
Rev. 1.60
51
August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
Write
Flash Memory
Flash Memory
Write Function
Enable Procedure
Set FWT=1
FWT=0 ?
Yes
No
Set Block Erase address: FARH/FARL
Set FMOD [2:0]=001 & FWT=1
Select
“
Block Erase mode
”
& Initiate write operation
FWT=0 ?
Yes
No
END
Write Finish ?
Yes
No
Clear CFWEN=0
Set FMOD [2:0]=000
Select
“
Write Flash Mode
”
Set Write starting address: FARH/FARL
Write data to data register:
FD0L/FD0H, FD1L/FD1H,
FD2L/FD2H, FD3L/FD3H,
Write Flash Memory Procedure – BS66F340