s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 344

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 16: DEBUGGER
328
(3) Erasing the flash memory
(4) Writing to the flash memory
Erase all or the specified sector range of the flash memory.
The contents of the flash memory change to 0xff.
Example:
First set the flash memory control register address. Normally it is the flash memory start address.
Then, specify the sector range to be erased. When the start and end numbers are specified as 0 and 0, the
flash memory will be all erased. If 1 and 3 are specified, only sectors 1 to 3 will be erased. The number of
sectors and sector size are different according to the device.
Be sure to execute the fle command after the fls command. To maintain the contents of the flash memory,
specify -1 and 0 as the sector range. The process except for erasing will be performed.
The lf or lh command is used to write data to the flash memory.
Example:
Data for the start and end addresses set by the fls command in Step (1) is sent to the write routine to
perform flash writing. Other data is written similar to writing to RAM. An error will result if a time-out
occurs during writing or the flash memory has not been erased (not 0xff).
The ew and eh commands can be used for writing as well as the lf and lh commands. For the flash memory
with 8-bit data width, the eb command can also be used.
EPSON
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
S5U1C33000C MANUAL

Related parts for s5u1c33000c