Z8F64200100KIT Zilog, Z8F64200100KIT Datasheet

no-image

Z8F64200100KIT

Manufacturer Part Number
Z8F64200100KIT
Description
DEV KIT FOR Z8 ENCORE 16K TO 64K
Manufacturer
Zilog
Series
Z8 Encore!®r
Type
MCUr

Specifications of Z8F64200100KIT

Contents
Evaluation Board, Cable, Power Supply, Software and Documentation
Processor To Be Evaluated
Z8F642
Data Bus Width
8 bit
Interface Type
I2C, UART
For Use With/related Products
Z8 Encore!™
For Use With
269-4661 - KIT ACC ETHERNET SMART CABLE
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
269-3249
Abstract
This application note describes Flash Loader utility
for the Zilog’s Z8 Encore! XP
operated through the UART0 console. The goal of
this document is to provide a tool for program
On-Chip Flash memory on the Z8 Encore! XP MCU
using the Flash Loader and/or application
software (firmware).
This Flash Loader implementation expects an Intel
hexadecimal file (IHX file) to be created and
uploaded by Zilog Developer Studio II (ZDS II). No
other tools are required to convert output files to
another format. Access all function modules and
integrate a different method to upload IHX files or
read/write bytes to Flash memory.
Z8 Encore! XP
Microcontrollers
Zilog’s Z8 Encore! XP products are based on the new
eZ8™ CPU and introduce Flash memory to Zilog’s
extensive line of 8-bit microcontrollers. Flash
memory in-circuit programming capability allows for
faster development time and program changes in the
field. The high-performance register-to-register
based architecture of the eZ8 core maintains
backward compatibility with Zilog’s popular Z8
MCU.
Z8 Encore! XP MCUs combine a 20 MHz core with
Flash memory, linear-register SRAM, and an
extensive array of On-Chip peripherals. These
peripherals make the Z8 Encore! XP MCU suitable
Note:
The source code file associated with
this application note, AN0118-SC01
i s a v a i l a b l e f o r d o w n l o a d o n
www.zilog.com.
®
Flash Loader Utility for the Z8 Encore!
XP
AN011806-0408
Application Note
Flash
®
Copyright ©2008 by Zilog
®
MCU
MCU that can be
www.zilog.com
®
, Inc. All rights reserved.
for a variety of applications including motor control,
security systems, home appliances, personal
electronic devices, and sensors.
General Overview
For all code development and debugging, the Z8F
Debug Port (OCD) is used in conjunction with ZDS
II. However, there might be a situation when some
bytes contained in Flash memory must be read from
or written to user application code when the core is
running. Flash Loader comes to the rescue in such a
situation.
The Flash Loader utility runs in On-Chip Flash to
self-program Flash memory. Flash Loader is
designed to operate (compile, link, and load) in the
ZDS II environment. The Flash Loader application is
loaded via On-Chip Debug port (Target Interface
Module) into Flash memory on the Z8 Encore! XP
MCU Development Board.
Flash Loader physically resides in Flash memory.
Access the functions of Flash Loader using a
standard dumb terminal program (HyperTerminal).
When Flash Loader is first launched, a menu appears
allowing to select from a set of choices. See
on page 5 and
Apart from downloading IHX files into the user
application space within Flash memory, Flash Loader
allows user Reads and Writes to the RAM and Flash
memory locations using the HyperTerminal program.
Loading code via Flash Loader through the ZDS II/
Target Interface Module is necessary only once.
Flash Loader is not ensured to be write-protected;
however, while downloading user application code, it
does ensure that the application code is not overwrite
the memory space occupied by the Flash Loader.
Figure 2
on page 5, respectively.
Figure 1

Related parts for Z8F64200100KIT

Z8F64200100KIT Summary of contents

Page 1

... Z8 Encore! XP Flash Microcontrollers Zilog’s Z8 Encore! XP products are based on the new eZ8™ CPU and introduce Flash memory to Zilog’s extensive line of 8-bit microcontrollers. Flash memory in-circuit programming capability allows for faster development time and program changes in the field. The high-performance register-to-register based architecture of the eZ8 core maintains backward compatibility with Zilog’ ...

Page 2

... Loader, including its multiple software layers. For a complete listing of all functions and source code associated with the Flash Loader application, refer to the source code file AN0118-SC01 available for download at www.zilog.com. Theory of Operation The Flash Loader can be used to program a user’s application software into a Flash device via Hyper- Terminal interface, eliminating the requirement for ZDS installed on the host machine ...

Page 3

Loader project settings and Appendix B—User Application Code Generation on page 13 for user code relocation. The user can move from USER APPLICATION mode to FLASH LOADER mode by pressing the special sequence key and pressing the Reset button on ...

Page 4

... Testing The Flash Loader program discussed in this application note was tested successfully with the Z8 Encore! XP Z8F642 MCU Development Kit (Z8F64200100KIT). ZDS II for Z8 Encore! family of microcontrollers is used to build the Flash Loader. With this setup, IHX file downloads can be efficiently executed. Equipment Used • ...

Page 5

Z8 Encore! XP Board. 7. Press the space key on the second PC and press the Reset button on the Evaluation board to see the Boot Loader prompt in HyperTerminal. Figure 2. Flash Loader Screen Displays Help ...

Page 6

Examine the RAM and Flash Read/Write set- tings in Figure 3, Figure 4, and Figure 3. Flash Loader Screen Displays RAM Read/Write Capability Figure 4. Flash Loader Screen Displays Flash Read Capability AN011806-0408 Flash Loader Utility for the Z8 ...

Page 7

Figure 5. Flash Loader Screen Displays Flash Write Capability Downloading Application Code Using the Flash Loader Utility Press the L key to load the hex file, as displayed in Appendix B—User Application Code Generation Figure 6. Flash Loader Screen Displays ...

Page 8

As displayed in Figure 7, choose the Send Text File option from the Transfer menu to download the hex file. Figure 7. Transferring HEX File Using Hyper Terminal AN011806-0408 Flash Loader Utility for the Z8 Encore! XP ® MCU Page ...

Page 9

... MCU available at www.zilog.com below: • eZ8 CPU User Manual (UM0128) • Z8 Encore! XP F64XX Series Product Specifi- cation (PS0199) • Z8 Encore! XP F64XX Series Development Kit User Manual (UM0151) • Zilog Developer Studio II—Z8 Encore! XP User Manual (UM0130) ® MCU ® are provided Page ...

Page 10

Appendix A—Project Settings After connecting a serial cable from the ZDS II COM port to the Target Interface Module (On-Chip Debug ® port) of the Z8 Encore! XP Evaluation board, configure the project settings for compiling and loading to Flash ...

Page 11

Figure 10. ZDS II C-Compiler Code Generation Settings Figure 11. ZDS II C-Compiler Optimizations Settings AN011806-0408 Flash Loader Utility for the Z8 Encore! XP ® MCU Page ...

Page 12

Figure 13. ZDS II Target Settings for Flash Loader AN011806-0408 Flash Loader Utility for the Z8 Encore! XP Figure 12. Input Directive Settings ® MCU Page ...

Page 13

Appendix B—User Application Code Generation This section discusses code relocation and the Intel HEX file format. Code Relocation Upon defining certain settings in ZDS II, application code can be relocated to the user application area starting at address location . ...

Page 14

Figure 15 displays the Project Settings dialog box, with the Linker tab selected and a Category selection of Input. Clicking the Add Directives button opens the Additional Linker Directives dialog box, into which is added the directive ORDER_VECTORS,STARTUP AN011806-0408 Flash ...

Page 15

Figure 16 displays the Project Settings dialog box, with the Linker tab selected and a Category selection of Output. To generate a hex file of the user application with ZDS II, check the box for hex code generation. The hex ...

Page 16

Table 3. Intel Standard Hex File Format (Continued) Position Description 8–9 Record Type: This field indicates the type of record for this line. The possible values are Register contains normal data End of File. 10–? Data ...

Page 17

... TECHNOLOGY DESCRIBED HEREIN OR OTHERWISE. The information contained within this document has been verified according to the general principles of electrical and mechanical engineering. Z8, Z8 Encore!, Z8 Encore! XP, and eZ8 are trademarks or registered trademarks of Zilog, Inc. All other product or service names are the property of their respective owners. ...

Related keywords