background image

CM7000

20 

s

 Getting Started

Programming Setup

Dynamic C, Z-World’s C-language development system, is used to develop
applications for the CM7000.  As a program compiles, Dynamic C down-
loads it directly to the CM7000’s memory via one of the PC COM ports.
Serial communication is normally at 19,200 bps, and can be as high as
57,600 bps.  The CM7000 remains connected to the PC in most instances
while a program is undergoing development.  The mechanics of connecting
a CM7000 and a PC vary depending on the CM7000 version and the
programming strategy.

The programming strategy for a CM7100 depends on the hardware setup.
Only one programming method is available for the CM7200 regardless of
whether the Developer’s Kit or in-target development is used.

CM7100

Four methods are available to program the CM7100.

1. Using the Prototyping Board.  This method is recommended for pro-

gramming the CM7110 supplied in the Evaluation Kit.  This CM7110 has
a special EPROM that contains the BIOS and sample programs.

Method 1 may also be used to program other CM7100s.  Since an
EPROM is not normally included with CM7100s, except for the
CM7110 in the Evaluation Kit, which comes with a special EPROM, a
custom EPROM with the contents of the Dynamic C 

2903.BIN

 file

must first be burned according to the details in the section “Program-
ming EPROMs” in Chapter 3, “System Development.”

2. Using the Development Board.  The Development Board is included in

the Developer’s Kit with full Dynamic C, and is also sold separately.

3. Using the Development Board with full Dynamic C, and with the

CM7100 embedded in your target system.

4. Directly in your system without a Development Board.  This method

requires some hardware setup and minor modifications to the Dynamic C
EPROM code.

Methods 1 and 2 are normally used for evaluation or experimentation.
Method 3 requires some hardware setup, and ultimately must be used to
program a working system.  Method 4 can be the fastest and most power-
ful.

Once program development has been completed, recompile the program
for EPROM.  An EPROM is burned in a separate operation and is then
installed in the EPROM socket on the CM7100.

Содержание CM7000 Series

Страница 1: ...ss mainly focus on the distribution of electronic components Line cards we deal with include Microchip ALPS ROHM Xilinx Pulse ON Everlight and Freescale Main products comprise IC Modules Potentiometer...

Страница 2: ...User s Manual Revision F C Programmable Core Module CM7000 Series...

Страница 3: ...n against consequences resulting from system failure is the buyer s responsibility This device is not approved for life support or medical systems All Z World products are 100 percent functionally tes...

Страница 4: ...Prototyping Board 21 CM7100 Method 2 Development Board 24 CM7100 Method 3 Embedded in System 27 CM7100 Method 4 In Target Direct Development 28 Safeguards 29 CM7200 30 CM7200 Method 1 Prototyping Boa...

Страница 5: ...are Support 61 Use of the Serial Ports 62 Attainable Baud Rates 63 Z180 Serial Ports 63 Asynchronous Serial Communication Interface 65 ASCI Status Registers 65 DCD0 Data Carrier Detect 65 TIE Transmit...

Страница 6: ...79 I O Addressing 80 Appendix A Troubleshooting 81 Out of the Box 82 Dynamic C Will Not Start 83 Dynamic C Loses Serial Link 83 CM7000 Repeatedly Resets 83 Common Programming Errors 84 Appendix B Spec...

Страница 7: ...ndix F Prototyping Board 109 Description 110 Interfaces 111 Power 112 Prototyping Area 113 Reset 114 Dimensions 115 Jumpers and Headers 116 Sample Circuits 119 Digital Input 119 Digital Output 120 App...

Страница 8: ...al Converter 140 Optically Isolated Switch Reader 143 Relay Circuit 144 24 Bit Parallel I O 146 8 Bit Digital to Analog Converter 147 SRAM Interface 149 Protection Circuits 150 Digital Noise Filter 15...

Страница 9: ...viii s Table of Contents CM7000 Blank...

Страница 10: ...mptions Assumptions are made regarding the user s knowledge and experience in the following areas Ability to design and engineer a target system that uses a CM7000 Understanding of the basics of opera...

Страница 11: ...ogrammable Read Only Memory LCD Liquid Crystal Display LED Light Emitting Diode NMI Nonmaskable Interrupt PIO Parallel Input Output Circuit Individually Programmable Input Output PRT Programmable Relo...

Страница 12: ...lipsis indicates that 1 irrelevant program text is omitted for brevity or that 2 preceding program text may be repeated indefinitely Brackets in a C function s definition or program segment indicate t...

Страница 13: ...CM7000 xii s About This Manual Blank...

Страница 14: ...CM7000 Overview s 13 CHAPTER 1 OVERVIEW...

Страница 15: ...factory installed flash EPROM is also available I O support six chip select lines supporting 64 addresses each control the application s hardware Low electromagnetic interference Software written for...

Страница 16: ...ard supplied with the Developer s Kit and the development EPROM are also available for separate purchase For help with upgrading to a full scale system call your Z World Sales Representative at 530 75...

Страница 17: ...p Side Microprocessor Side H2 H1 H1 CM7200 Series Table 1 2 lists the features of each model in the CM7200 Series A Developer s Kit is available for the CM7200 The Developer s Kit contains the followi...

Страница 18: ...al Interface Board 2 to one of the following places battery backed RAM ROM written on a separate EPROM programmer and then substituted for the Z World development EPROM or flash EPROM Dynamic C allows...

Страница 19: ...CM7000 18 s Overview Blank...

Страница 20: ...CM7000 Getting Started s 19 CHAPTER 2 GETTING STARTED...

Страница 21: ...s the BIOS and sample programs Method 1 may also be used to program other CM7100s Since an EPROM is not normally included with CM7100s except for the CM7110 in the Evaluation Kit which comes with a sp...

Страница 22: ...f the header and connector must match The CM7100 will hang over the battery on the Prototyping Board For maximum stability install the supplied standoff between the CM7100 and the Prototyping Board Fi...

Страница 23: ...J4 CM7000 connector Serial Port Programming Port CM7000 location Configuration Jumpers SmartCore Evaluation Board Figure 2 4 CM7100 Prototyping Board It is necessary to place jumpers across headers J...

Страница 24: ...ototyping Board Program Mode Jumper Settings 7 Connect the serial cable Con nect one end to the PC COM port Then connect the 10 pin end to header H4 of the Proto typing Board as shown in Fig ure 2 6 B...

Страница 25: ...ng Board Pins 1 of the header and connector must match The CM7100 will hang over the battery on the Prototyping Board For maximum stability install the supplied standoff between the CM7100 and the Pro...

Страница 26: ...igure 2 9 shows the locations of the relevant headers Figure 2 9 CM7100 Development Board Figure 2 10 shows the jumper settings for different RAM sizes operational modes and baud rates Figure 2 10 CM7...

Отзывы: