English
Language : 

Z8FMC16MCU Datasheet, PDF (3/14 Pages) Zilog, Inc. – Z8 Encore-R Motor Control Series
Z8FMC16 MCU
Programming Specification
1
Flash Memory Programming Overview
The Z8 Encore!® Z8FMC16 Motor Control features a Flash program memory selections
of 8KB or 16KB. By using Flash memory, you have the ability to easily update the code.
The Z8 Encore!® features an on-chip Flash controller that typically manages the timing of
Flash control signals for programming, page erase, and mass erase operations. The Flash
controller can also be bypassed to allow direct control of Flash signals via the general
purpose input/output (GPIO) pins. Flash memory can be programmed faster by controlling
the Flash memory signals directly. Bypassing the Flash controller is beneficial when
programming a large number of devices, and is most likely to be used by third party
vendors who are developing the multi-site gang programmers.
Bypassing the Flash Controller
Flash controller bypass mode is enabled by writing the following three bytes of instruction
to the on-chip debugger (OCD) via the DBG interface:
1. 80H - This instruction initiates auto-baud calculation of the DBG interface data and
clock rate.
2. F0H - OCD writes testmode register command.
3. 04H - Data to be written to the testmode register. This data enables the Flash
controller bypass mode.
Flash Memory Control Signals
Depending on the size (number of bytes) available in the Flash memory, the Flash memory
uses fourty two signals for its direct interfacing.
• 16 signals for the address lines.
• 8 signals for data input.
• 8 signals for data output.
• 10 signals for control operations.
The Flash memory control signals are listed and described in Table 1
PRS000502-1005
PRELIMINARY
Flash Memory Programming Overview