z8fmc16100 ZiLOG Semiconductor, z8fmc16100 Datasheet - Page 226

no-image

z8fmc16100

Manufacturer Part Number
z8fmc16100
Description
Z8 Encore Motor Control Flash Mcus
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8fmc16100AKEG
Manufacturer:
LT
Quantity:
151
Part Number:
z8fmc16100AKEG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100AKSG
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8fmc16100QKEG
Manufacturer:
TOREX
Quantity:
2 000
PS024611-0408
Caution:
Page Erase
Mass Erase
User code cannot program Flash Memory on a page which lies in a protected sector. When
user code writes memory locations, only addresses located in the unlocked page are
programmed. Memory Writes outside of the unlocked page are ignored.
Each memory location must not be programmed more than twice before an erase is
required.
Follow the steps below to program Flash memory from user code:
1. Write
2. Write the page of memory to be programmed to the Page Select register.
3. Write the first unlock command
4. Write the second unlock command
5. rewrite the page written in
6. Write Program Memory using LDC or LDCI instructions to program Flash.
7. Repeat
8. Write
Flash memory can be erased one page (512 bytes) at a time. Page-erasing Flash memory
sets all bytes in that page to the value
be erased. While the Flash Controller executes the Page Erase operation, the eZ8 CPU
idles, but the system clock and on-chip peripherals continue to operate. The eZ8 CPU
resumes operation after the Page Erase operation completes. Interrupts which occur when
the Page Erase operation is in progress are serviced after the Page Erase operation is
complete. When the Page Erase operation is complete, the Flash Controller returns to its
locked state. Only pages located in unprotected sectors can be erased.
Follow the steps below to perform a Page Erase operation:
1. Write
2. Write the page to be erased to the Page Select register.
3. Write the first unlock command (
4. Write the second unlock command
5. Rewrite the page written in
6. Write the Page Erase command (
The Flash memory cannot be mass-erased by user code.
00h
00h
00h
Step 6
to the Flash Control register to reset the Flash Controller.
to the Flash Control register to lock the Flash Controller.
to the Flash Control register to reset the Flash Controller.
to program additional memory locations on the same page.
Step 2
Step 2
73h
95h
73h)
to the Page Select register.
FFh
to the Page Select register.
8Ch
8Ch
) to the Flash Control register.
to the Flash Control register.
. The Page Select register identifies the page to
to the Flash Control register.
to the Flash Control register.
to the Flash Control register.
Z8FMC16100 Series Flash MCU
Product Specification
Page Erase
214

Related parts for z8fmc16100