22
SMSC EVK-2074/84 SOFTWARE OPERATION MANUAL Revision 1.1 (03-31-06) CircLink TM EVB Software Operation Manual 1 Overview This manual explains how to install and operate the CircLink TM EVB Software. This software is used to control a TMC2084 IO Node from a TMC2074 Host Node. This software was written using Visual Studio VC++ 6.0 and is intended to run on a PC with a Windows 2000 or Windows XP operating system. This software does not use interrupt handling. Editing this software requires a Visual Studio VC++ 6.0 development environment. Correct operation of this software requires a CircLink evaluation environment consisting of the following: Exactly one host node, consisting of a PCM-2074 evaluation board with TMC2074 Dual Mode CircLink Controller installed. At least one IO node, consisting of an EVB-2084 evaluation board with TMC2084 IO Node CircLink Controller installed. The CircLink TM EVB Software comes configured for two IO nodes. This application does not access the PCM-2074 directly, but indirectly through a device driver. For instructions on installation of this device driver, refer to Chapter 4. 1.1 Software File Listings The CircLink TM EVB Software is shipped on one disk, consisting of the files outlined in Table 1.1 below: Table 1.2 below lists all of the source and header files associated with the CircLink TM EVB Software. Table 1.1 CircLink TM EVB Software Installation Disks ITEM FILE/FOLDER NAME CONTENTS NOTES 1 <EcTest2000> Source files VC++ 6.0 2 EcTest.EXE Executable file 3 EcNetPcm.inf INF File for PCM-2074 Device Driver (Win2000/XP) 4 CLIoDRV.sys PCM-2074 Device Driver (Win2000/XP) Table 1.2 CircLink TM EVB Software Source Files ITEM FILE NAME CONTENTS NOTES 1 EcDriverIF.cpp Device driver I/F function 2 Ecnet.cpp CircLink related functions 3 EcTest.cpp Visual Studio auto-generation file 4 EcTestDlg.cpp Main dialogs of sample program

CircLinkTM EVB Software Operation Manual

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CircLinkTM EVB Software Operation Manual

SMSC EVK-2074/84 SOFTWARE OPERAT

CircLinkTM EVB Software Operation Manual

1 OverviewThis manual explains how to install and operate the CircLinkTM EVB Software. This software is usedto control a TMC2084 IO Node from a TMC2074 Host Node. This software was written using VisualStudio VC++ 6.0 and is intended to run on a PC with a Windows 2000 or Windows XP operatingsystem. This software does not use interrupt handling. Editing this software requires a Visual StudioVC++ 6.0 development environment. Correct operation of this software requires a CircLink evaluationenvironment consisting of the following:

Exactly one host node, consisting of a PCM-2074 evaluation board with TMC2074 Dual Mode CircLink Controller installed.

At least one IO node, consisting of an EVB-2084 evaluation board with TMC2084 IO Node CircLink Controller installed. The CircLinkTM EVB Software comes configured for two IO nodes.

This application does not access the PCM-2074 directly, but indirectly through a device driver. Forinstructions on installation of this device driver, refer to Chapter 4.

1.1 Software File ListingsThe CircLinkTM EVB Software is shipped on one disk, consisting of the files outlined in Table 1.1 below:

Table 1.2 below lists all of the source and header files associated with the CircLinkTM EVB Software.

Table 1.1 CircLinkTM EVB Software Installation Disks

ITEM FILE/FOLDER NAME CONTENTS NOTES

1 <EcTest2000> Source files VC++ 6.0

2 EcTest.EXE Executable file

3 EcNetPcm.inf INF File for PCM-2074 Device Driver (Win2000/XP)

4 CLIoDRV.sys PCM-2074 Device Driver (Win2000/XP)

Table 1.2 CircLinkTM EVB Software Source Files

ITEM FILE NAME CONTENTS NOTES

1 EcDriverIF.cpp Device driver I/F function

2 Ecnet.cpp CircLink related functions

3 EcTest.cpp Visual Studio auto-generation file

4 EcTestDlg.cpp Main dialogs of sample program

ION MANUAL Revision 1.1 (03-31-06)

Page 2: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

Table 1.3 below shows the project files automatically generated by Visual Studio. Editing the followingfiles may cause the software not to run correctly; please do not edit them.

5 HostSet.cpp Host (PCM-2074) configuration dialog

6 IoSet.cpp I/O Node (EVB-2084) configuration dialog

7 Memory.cpp Host (PCM-2074) memory dialog

8 StdAfx.cpp Visual Studio auto-generation file

9 EcDemo.h Demo sample data Demo1, Demo2

10 Ecnet.h Header file for CircLink

11 EcnetReg.h Header file for CircLink

12 EcTest.h Visual Studio auto-generation file

13 EcTestDlg.h Visual Studio auto-generation file

14 HostSet.h Visual Studio auto-generation file

15 IoSet.h Visual Studio auto-generation file

16 Memory.h Visual Studio auto-generation file

17 Resource.h Visual Studio auto-generation file

18 StdAfx.h Visual Studio auto-generation file

Table 1.3 CircLinkTM EVB Software Source Files

ITEM FILE NAME CONTENTS NOTES

1 EcTest.aps Visual Studio auto-generation file

2 EcTest.ncb Visual Studio auto-generation file

3 EcTest.opt Visual Studio auto-generation file

4 EcTest.dsp Visual Studio auto-generation file

5 EcTest.dsw Visual Studio auto-generation file

6 EcTest.rc Visual Studio auto-generation file

7 EcTest.clw Visual Studio auto-generation file

8 Resource.hm Visual Studio auto-generation file

Table 1.2 CircLinkTM EVB Software Source Files (continued)

ITEM FILE NAME CONTENTS NOTES

Revision 1.1 (03-31-06) 2 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 3: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

2 Operating InstructionsOperating instructions for the CircLinkTM EVB Software are described below. The screenshots are fromWindows 2000; however, they apply to Windows XP as well.

2.1 Starting the CircLinkTM EVB SoftwareThe CircLinkTM EVB Software is started by invoking EcTest.exe. The screen shown in Figure 2.1 isdisplayed, showing that the CircLinkTM EVB Software has started and is in the idle/configuration state.This screen is the Main Screen for the CircLinkTM EVB Software. From this screen, the host and IOnodes can be configured, along with CircLinkTM EVB Software operational parameters.

The CircLinkTM EVB Software is designed to be used with one PCM-2074 Host Node and a maximumof 14 EVB-2084 IO Nodes. The table below shows allowed values for various configuration parametersfor the host and IO Nodes. Note that for some parameters, the PCM-2074 has possible values thatare not allowed when it is used with EVB-2084 devices.

Figure 2.1 Main Screen for CircLinkTM EVB Software

Table 2.1 Configuration Settings for CircLink Nodes

NO PARAMETER ALLOWED SETTINGS NOTES

1 Node ID 1-15 (16-31 not allowed) Each node must have a unique Node ID

2 Max ID 1-15 (16-31 not allowed) Must be the same for all nodes.

3 Clock Master ID 1-15 (16-31 not allowed) Typically is the host node ID

4 Page Size 64 or 128 (32 and 256 not allowed) Must be the same for all nodes.

5 Speed 312.5 Kbps to 5Mbps Must be the same for all nodes

SMSC EVK-2074/84 3 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 4: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

2.2 Confirming the Version LevelClicking Help on the menu bar causes the version of the CircLinkTM EVB Software to be displayed asshown in the window below.

2.3 Configuring the CircLinkTM EVB Software to Match the Evaluation Environment

When the CircLinkTM EVB Software is started, it assumes it has one host node and two IO nodes,configured as shown in Table 2.2. If the nodes are configured differently, follow the configuration stepsoutlined in Section 2.10 and Section 2.11 to ensure that the configuration assumed by the softwarematches that actually used by the nodes.

Note: The CircLinkTM EVB Software is designed to operate with only one PCM-2074 node; more thanone PCM-2074 node may not be added to the network.

If there is a mis-match between the configuration assumed by the CircLinkTM EVB Software and theconfiguration actually used by the nodes, the error message shown in Figure 2.3 will be displayed.Respond by clicking “No” twice, then follow the configuration steps explained in Section 2.10 andSection 2.11.

Figure 2.2 Software Version Level Window

Table 2.2 Default Configuration of PCM-2074 Node

NO PARAMETER PCM-2074 EVB-2084 #1 EVB-2084 #2

1 Node ID 1 2 3

2 Max Node ID 3 3 3

3 Clock Master ID 1 1 1

4 Page Size 64 Bytes/Page 64 Bytes/Page 64 Bytes/Page

5 Speed 2.5 Mbps 2.5 Mbps 2.5 Mbps

Figure 2.3 Error Message if Non-Standard Configuration is Used

Revision 1.1 (03-31-06) 4 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 5: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

2.4 Running the CircLinkTM EVB SoftwareClicking the I/O Start button causes the CircLinkTM EVB Software to begin running with the OutputData Type that has been chosen in the Output Data Selection. In the example in Figure 2.1 above,“Demo1” has been chosen as the Output Data Type. The Demo1 Output Data Type causes the displayto show the status of the inputs and outputs of the host node and all of the IO nodes as shown inFigure 2.4.

When the CircLinkTM EVB Software starts running, you will notice that the IO Start button changes toan IO Stop button, and certain configuration windows are grayed out. In general, these parameters canonly be changed when the CircLinkTM EVB Software is in the idle/configuration state.

Data from the host node (in the case above, Node 1) is displayed in white. Data from the IO nodes isdisplayed in green, yellow or red depending on its type, as shown in the table below:

In Figure 2.4 above, Ports A and B are outputs on all IO nodes, with a value of 0x7FFE. The lowerbits of Port D are also used as outputs on all IO nodes, with a value of 0x00. The upper bits of PortD are used as Flag Outputs on all nodes, with all flags set. Port C is an input on all IO nodes, but its

Figure 2.4 Display of IO Node Status

Table 2.3 Meaning of IO Node Status Indication Colors

COLOR MEANING

White Indicates corresponding Host Output is ON.

Red Indicates corresponding IO Node Output is ON

Green Indicates corresponding IO Node Input is ON

Yellow Indicates corresponding IO Node Flag Output is ON

Dark Gray Indicates corresponding Host/IO Node Output/Input is OFF

Light Gray Indicates nodes with Node ID < MAX ID that are not communicating.

SMSC EVK-2074/84 5 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 6: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

value varies from node to node. On Node 2, Port C has a value of 0x00. On Node 3 it has a value of0x03, on Node 4, or 0xB4, and so on.

2.5 Stopping the CircLinkTM EVB Software from RunningWhen the CircLinkTM EVB Software is running, it can be stopped by pressing the IO Stop button; thisreturns it to the idle/configuration state.

2.6 Exiting the CircLinkTM EVB SoftwareClicking Exit on the Menu bar causes the message below to be displayed. Clicking OK causes theprogram to quit; clicking Cancel allows the program to resume.

2.7 Setting the Data Transmission IntervalWhen the CircLinkTM EVB Software is in the idle/configuration state, the data transition interval can beset, using the pull-down menu just above the IO Start button. The data transition interval can be set tispecified values between 50ms and 1 sec. When the CircLinkTM EVB Software is in the Run stat, thedata transition pull-down menu is grayed out, and cannot be changed. Figure 2.6 below shows thewindows involved with changing the Data Transmission Interval.

Notes:

Selecting either “Host Settings” or “I/O Node Settings” from “Settings” on the menu bar while the software is running causes it to enter the idle/configuration state immediately.

Selecting a data transmission interval of 5, 10 or 20ms may disable communication depending on PC performance. For slow PCs, settings below 30ms may cause CPU utilization to go above 100%, which can be determined from the Windows task manager by using Ctrl + Shift + Esc.

Figure 2.5 Exit Confirmation Window

Figure 2.6 Configuring the Data Transmission Interval

A. Software Running;Data Transmission

Interval is grayed out (Cannot be changed)

B. Software Idle; Data Transmission

Interval can be changed

C. Possible valuesfor Data

Transmission Interval (right)

Revision 1.1 (03-31-06) 6 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 7: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

2.8 Selecting the Output Data TypeThe CircLinkTM EVB Software allows the user to select one of six programs, using the radio buttonsunder the box labelled “Output Data Selection”. Once the selection is made, it has to be confirmedusing the Select button. The window for configuring the “DEMO 1” Output Data Type is shown belowin Figure 2.7.

Table 2.4 below summarizes the six Output Data Types.

2.8.1 Using the Bit Assign Output Data Type

Figure 2.8 shows how to assign bits in the Bit Assign Output Data Type. A blue box indicates that thecorresponding bit is set to 1; a dark gray box means the corresponding bit is set to 0. In the examplebelow, Ports A and B are both set to “0x55h” respectively. Note that the ON/OFF state is changed bya single click of the left mouse button; double clicking a particular box results in no change of theON/OFF state.

Figure 2.7 Configuring the “DEMO1” Output Data Type

Table 2.4 Table of Output Data Types

NO. TYPE DESCRIPTION PORTSAFFECTED

1 Demo1 16 bits are assigned “Demo Data” pattern A, B

2 Demo2 16 bits are assigned to light a 2-digit, 7-segment LED display A, B

3 Bit Assign 16 bits are manually assigned (see description below) A, B

4 Bit Shift 32-bit shifting pattern (8 bits at a time) All

5 Increment 32-bit incrementing pattern All

6 Random 32-bit random pattern All

Figure 2.8 Configuring the “Bit Assign” Output Data Type

Selected OutputData Type

SelectedNode

PA0PA7PB0PB7

SMSC EVK-2074/84 7 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 8: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

2.8.2 Selecting the Output Data Type for a particular target node

The examples so far have shown how to set the Output Data Type for all nodes simultaneously,because the Node ID window is set to All. The Output Data Type can also be set for one node at atime by specifying a particular node in this window, as shown in Figure 2.9 below.

In order for the output data type to be changed, the Select button must also be clicked. If the Selectbutton is not clicked after a change is made, the change does not take effect. Also if the Node ID ofthe Host Node is specified in the Node Selection window, data transmission will not take place to theIO nodes.

2.9 Displaying Status InformationThe IO Node Status Box, located in the lower left-hand corner of the main display window, showsstatus information pertaining to a particular node that is selected using a pull-down menu. The IO NodeStatus Box shows the current status for a variety of node parameters; each parameter has its ownstatus button. Yellow indicates that a particular parameter is “1”; gray indicates “0”. Figure 2.10 belowshows the status window for the Host node at initialization and after reset. Note that two parameters- RCPUM and OPICDONE - are invalid, and can be ignored, in the case of the Host Node.

Figure 2.9 Selecting the Output Data Type for a Particular Node

Figure 2.10 Status Windows for the Host Node: A)At Initialization, B)After Reset

For MaxID = 4

A. Status Window after Initialization of a PCM-2074 B. Status Window after Reset of a PCM-2074

Invalid for PCM-2074

Revision 1.1 (03-31-06) 8 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 9: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

Figure 2.11 below shows the Status Windows for a EVB-2084 IO Node at initialization and after reset.

The meanings of the status window flags are given in Table 2.5 below:

The drop-down menu can be used to change the node for which the status is displayed. Note that thestatus information for an IO node is not updated until the host node actually communicates with thatnode. Selecting a non-participating IO node causes all status information to be displayed in yellow.

2.10 Configuring the PCM-2074 Host NodeTo configure the Host node, click “Settings” on the menu bar, then select “Host Settings” using the dropdown menu. This is shown below in Figure 2.12. The dialog box for the Host Node Settings is thendisplayed as shown in and Figure 2.13. This dialog box allows the user to change the configuration ofthe Host Node. Note that if the Host Settings Dialog box is activated while the CircLinkTM EVB Softwareis running, the software will immediately enter the idle state; the START button has to be clicked inorder for execution to resume.

Figure 2.11 Status Windows for an IO Node: A)At Initialization, B)After Reset

Table 2.5 Meanings of Status Flags

NO. FLAG MEANING NOTE

1 RXERR Error detected during packet reception

2 CMIECC Error correction occurred during CMI decoding.

3 NSTUNLOC NST was in the unlock state

4 MRCV Unicast packet was received normally

5 TKNRETF Token retry detected

6 RCPUM Received packet had a control pointer not = 0x38h or 0x78h. Not valid for PCM-2074

7 POR Hardware or Software Reset occurred

8 MYRECON The RECON timer expired.

9 OPICDONE Output Port Initialization command completed Not valid for PCM-2074

Figure 2.12 Activating the Host Node Settings Dialog Box

A. Status Window after Initialization of a EVB-2084 B. Status Window after Reset of a EVB-2084

Select

SMSC EVK-2074/84 9 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 10: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

Figure 2.13 below shows the status of the Host Node at the moment the window is created. Thewindow is not updated by the system and does not reflect changes in status that occur after it iscreated. The status of individual bits/pins is shown through check boxes.

Referring to the figures above, you will notice in the Initialize Node box that you have a choice betweenExt Pin Assign and Register Assign. For a PCM-2074 Host Node, Register Assign is the best choiceas shown above, because it allows you to update the Node ID, Max ID and CKP parameters. Onceyou have made all your configuration changes, click Set Node to have them take effect. To put theCircLinkTM EVB Software back in run mode, click the Start Button.

Side effects - note that the Page Size affects the pull-down menu choices for Node ID and Max ID.When the Page Size is set to 64 Bytes/Page, the Node ID and Max ID pull-down windows allowchoices of 1 to 15. When the Page Size is set to 128 Bytes/Page, these windows allow choices of 1to 7. Also the choice of Page Size for the Host Node must match the Page Size set by JP4 on all ofthe EVB-2084 IO Nodes. Any mismatches will cause communication errors.

Figure 2.14 below shows the configuration window when the Initialize Node box is set to Ext PinAssign. Note that the Node ID, Max ID and CKP parameters are grayed out and cannot be changed.

Figure 2.13 Configuring the Host Node

Figure 2.14 Configuring the Host Node in Ext. Pin Assign Mode

Always use “Register Assign”for the Host Node All of these parameters can be changed

For the Host Node,these windows alwaysreflect the registervalues

These parameters cannot be changed.

Revision 1.1 (03-31-06) 10 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 11: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

2.11 Configuring EVB-2084 IO NodesTo configure IO nodes, click “Settings” on the menu bar, then select “IO Node Settings” using the dropdown menu. This is shown below in Figure 2.15. The dialog box for the Host Node Settings is thendisplayed as shown in Figure 2.16. This dialog box allows the configuration of the IO Nodes to bechanged. Note that if the IO Node Settings Dialog box is activated while the CircLinkTM EVB Softwareis running, the software will immediately enter the idle state; the START button has to be clicked inorder for execution to resume.

The configuration window (below) shows the status of a particular IO Node that is chosen by the IONode Select pull-down menu. Whenever this pull-down menu is changed, the configuration window isupdated with the current configuration of the IO node. The window is not updated after that by thesystem.

Note that for IO Node, certain parameters such as Node ID and MAX ID are determined by externalconfiguration pins only and cannot be changed via configuration registers. Therefore these parameterscannot be updated using the IO Node Configuration Window shown above. Once you have made allyour configuration changes, click Set Node to have them take effect on the node chosen. You can alsoapply a configuration to all nodes at once by clicking the Set All Node button. The Reset buttonrefreshes the window with the current configuration state of the chosen IO node. Clicking Reset beforeSet Node or Set All Node will cause any changes you have made to be lost. Clicking Reset after SetNode or Set All Node can be used to confirm that the IO Node reflects the changes you just made.The Cancel button exits the IO Node Configuration Window.

Figure 2.15 Activating the IO Node Settings Dialog Box

Figure 2.16 Configuring an IO Node

Select

This pull-down changes whichIO Node is displayed.

SMSC EVK-2074/84 11 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 12: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

Table 2.6 summarizes the changes that can be made to the I/O Node Configuration.

The control buttons for the IO Node Configuration Window are summarized below.

Table 2.6 Changes that can be made to the IO Node Configuration

NO NAME DESCRIPTION POSSIBLE VALUES DEFAULT

1 I/O Node Chooses Node Displayed in Window 1-15 Lowest ID

2 Clock Master ID Specifies Node ID of Clock Master 0-15 (0=Asynchronous) 1

3 MAX ID Specifies MAX ID 1-15 3

4 TX TRIGGER TXTRG3:0 - Packet Transmit Trigger 0-F 0

5 NST Resolution NSTPRE2:0 - NST Resolution 1.6us to 204.8us 1.6us

6 NST Carry Cycle NST Carry Output Selection NSTPRE x 2 to NSTPRE x 216

NSTPRE x 2

7 Carry Out Duty 50% Duty Cycle on Carry Output On/Off On

8 Broadcast Enable Enable/Disable Broadcast Reception On/Off On

9 Hi-Z@MyRecon Output port state when a “MyRecon” event occurs

Tri-state / Hold previous level (high or low)

Tri-state

10 Discard Pac@ CMI Error

Packet Discard on CMI Error On/Off On

11 Output Burst@MyRecon

Enable Output Burst on MyRecon On/Off On

12 Port A Open Drain Port A Output OpenDrain / Pushpull OpenDrain

13 Port B Open Drain Port B Output OpenDrain / Pushpull OpenDrain

14 Port C Open Drain Port C Output OpenDrain / Pushpull OpenDrain

15 Output Delay Output Delay Strobe Time 11*Tx / 43*Tx 11*Tx

16 Output@Rcv Only Strobe Output Mode Rcv Only / Rcv & Init Rcv & Init

17 PD4 Flag selection nNSTCOUNT

18 PD5 Flag selection nTXDONE

19 PD6 Flag selection nPOSTR

20 FOSL Flag Output Selection 0000 to 1001 0000

Table 2.7 Summary of Control Buttons in the IO Node Configuration Window

No Button Usage

1 Set Node Configures the specified node with the current contents of the window.

2 Set All Nodes Configures all nodes with the current contents of the window

3 Reset Resets the window to the current configuration of the chosen node

4 Cancel Exits the configuration window.

Revision 1.1 (03-31-06) 12 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 13: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

2.12 Dumping the Memory Contents of the PCM-2074Returning to the Main Window of the CircLinkTM EVB Software, in Figure 2.1, clicking “Memory” on themenu bar at the top of the window causes the PCM-2074 Host Node to dump its memory contents.The display format depends on the Page Size chosen (64 or 128 bytes). Both formats are illustratedbelow.

Each page in the memory dump shows the configuration information for the corresponding IO node.The information is a snapshot made when the memory dump window is opened; the information is notupdated. The vertical scroll bar can be used to scroll through all the pages.

3 Error MessagesIf errors are detected at start-up or during run-time, appropriate error messages will be displayed bythe software. There are three types of errors that can be displayed:

System Errors - show errors returned by the Windows O/S.

Communication Errors - Detected when packets are being transmitted or received

Operation Errors - Detected during operation of the CircLinkTM EVB Software.

3.1 System Error MessagesThese messages are displayed when a Windows system function that is called by the CircLinkTM EVBSoftware detects an error. System functions that are used include open/close functions and I/O requestcalls to the device drivers. The message indicates the type of error and asks whether the softwareshould quit or continue. The example show below occurs when there is an error opening the devicedriver. In this particular case, click “Yes” (close) and confirm that the device driver has been correctlyinstalled before re-invoking the CircLinkTM EVB Software.

Figure 2.17 Memory Dump Formats

Figure 3.1 System Error Message

Memory Dump Format for PageSize=64 Memory Dump Format for PageSize=128

SMSC EVK-2074/84 13 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 14: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

3.2 Communication Error MessagesThese kinds of errors cause a message like the one below to be displayed. Common causes ofcommunication errors include:

Mismatch in settings between the Host Node and one or more IO Nodes

Attempting to communicate with a non-existent node.

3.3 Operation Error MessagesCommon causes of these kinds of errors are choosing invalid or incompatible configuration settings.the figure below shows two typical examples. In the first case, choose a different node ID. In thesecond case, change the Flag settings.

4 Device Driver InstallationThis chapter describes how to install the PCM-2074 device driver that is used by the CircLinkTM EVBSoftware from CD-ROM.

4.1 Installing to Windows 2000Follow this procedure:

1. Install the PCM-2074 in an unused PCMCIA Type II Slot

2. The dialog box shown in Figure 4.1 is displayed, showing that the hardware has been recognized.

Figure 3.2 Typical Communication Error Message

Figure 3.3 Typical Operation Error Messages

Figure 4.1 PCM-2074 Card Detected Window

Revision 1.1 (03-31-06) 14 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 15: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

The dialog box shown in Figure 4.2 is displayed. Click Next>.

3. The dialog box in Figure 4.3 is displayed, select “Search for a suitable driver for my device(recommended)” and click Next>.

Figure 4.2 Driver Installation Welcome Window

Figure 4.3 Driver Installation Selection Window

SMSC EVK-2074/84 15 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 16: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

4. Insert the CD containing the software in the CD-ROM driver, and in the dialog box shown inFigure 4.4, check “CD-ROM drives” and click Next>.

5. In the dialog box in Figure 4.5, click “Browse”.

Figure 4.4 Specifying which Drives to Look In

Figure 4.5 Specifying which File to Open

Revision 1.1 (03-31-06) 16 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 17: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

In the dialog box in Figure 4.6 select the “EcNetPCM.INF” file and click “Open.

6. The dialog box in Figure 4.5 is now re-displayed. Click OK.

7. The dialog box in Figure 4.7 is now displayed. Click Next>.

Figure 4.6 Browsing for the File

Figure 4.7 Confirming the Driver File

SMSC EVK-2074/84 17 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 18: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

8. The dialog box in Figure 4.8 is now displayed. Click Finish.

4.1.1 Verifying Driver Installation

To verify that the driver has been installed, start Window’s Device Manager, and confirm that the SMSCCircLink (TMC2074) PCM-2074 PCMCIA Adaptor is recognized as shown in Figure 4.9.

Figure 4.8 Installation Complete Window

Figure 4.9 Windows Device Driver Listing

Revision 1.1 (03-31-06) 18 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 19: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

To further confirm correct installation, double click “SMSC CircLink (TMC2074) PCM-2074 PCMCIAAdapter” to display the property dialog box as shown in Figure 4.10 below. Verify the status of thedriver.

4.2 Installing to Windows XPThe installation procedure for Windows XP is as follows:

1. Install the PCM-2074 to an unused Type II PCMCIA slot.

2. The dialog box shown inFigure 4.11 is displayed. Click Next>.

Figure 4.10 SMSC Driver Window

Figure 4.11 Installation Start-up Window

SMSC EVK-2074/84 19 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 20: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

The system automatically searches for the device driver and displays the message shown inFigure 4.12.

Once the driver installation is complete, the dialog shown in Figure 4.13 is displayed. Click Finish.

Driver installation is now complete. To verify proper installation, refer to the steps listed in section 4.1.1.

Figure 4.12 System-search window

Figure 4.13 Installation Complete Window

Revision 1.1 (03-31-06) 20 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL

Page 21: CircLinkTM EVB Software Operation Manual

CircLinkTM EVB Software Operation Manual

5 ReferencesFurther information about the CircLink controllers, evaluation boards and related application notes canbe found in the following documents. The latest versions are available from the SMSC website.

Table 5.1 CircLink Controllers

PRODUCT DOCUMENT NAME TYPE

EVK-2074/84 Instruction Manual for the EVK2074/84 Evaluation Board Kit pdf

PCM-2074 Instruction Manual for the PCM-2074 Evaluation Board pdf

EVB-2084 Instruction Manual for the EVB-2084 Evaluation Board pdf

TMC2074 Datasheet for the TMC2074 CircLink Controller pdf

TMC2084 Datasheet for the TMC2084 CircLink Controller pdf

CircLinkTM EVB Software

Operation Manual (this document) pdf

SMSC EVK-2074/84 21 Revision 1.1 (03-31-06)SOFTWARE OPERATION MANUAL

Page 22: CircLinkTM EVB Software Operation Manual

80 ARKAY DRIVE, HAUPPAUGE, NY 11788 (631) 435-6000, FAX (631) 273-3123

Copyright © 2006 SMSC or its subsidiaries. All rights reserved.Circuit diagrams and other information relating to SMSC products are included as a means of illustrating typical applications. Consequently, complete informationsufficient for construction purposes is not necessarily given. Although the information has been checked and is believed to be accurate, no responsibility isassumed for inaccuracies. SMSC reserves the right to make changes to specifications and product descriptions at any time without notice. Contact your localSMSC sales office to obtain the latest specifications before placing your product order. The provision of this information does not convey to the purchaser of thedescribed semiconductor devices any licenses under any patent rights or other intellectual property rights of SMSC or others. All sales are expressly conditionalon your agreement to the terms and conditions of the most recently dated version of SMSC's standard Terms of Sale Agreement dated before the date of yourorder (the "Terms of Sale Agreement"). The product may contain design defects or errors known as anomalies which may cause the product's functions to deviatefrom published specifications. Anomaly sheets are available upon request. SMSC products are not designed, intended, authorized or warranted for use in any lifesupport or other application where product failure could cause or contribute to personal injury or severe property damage. Any and all such uses without priorwritten approval of an Officer of SMSC and further testing and/or modification will be fully at the risk of the customer. Copies of this document or other SMSCliterature, as well as the Terms of Sale Agreement, may be obtained by visiting SMSC’s website at http://www.smsc.com. SMSC is a registered trademark ofStandard Microsystems Corporation (“SMSC”). Product names and company names are the trademarks of their respective holders. SMSC DISCLAIMS AND EXCLUDES ANY AND ALL WARRANTIES, INCLUDING WITHOUT LIMITATION ANY AND ALL IMPLIED WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND AGAINST INFRINGEMENT AND THE LIKE, AND ANY AND ALL WARRANTIES ARISING FROM ANY COURSEOF DEALING OR USAGE OF TRADE. IN NO EVENT SHALL SMSC BE LIABLE FOR ANY DIRECT, INCIDENTAL, INDIRECT, SPECIAL, PUNITIVE, OR CONSEQUENTIALDAMAGES; OR FOR LOST DATA, PROFITS, SAVINGS OR REVENUES OF ANY KIND; REGARDLESS OF THE FORM OF ACTION, WHETHER BASED ON CONTRACT;TORT; NEGLIGENCE OF SMSC OR OTHERS; STRICT LIABILITY; BREACH OF WARRANTY; OR OTHERWISE; WHETHER OR NOT ANY REMEDY OF BUYER IS HELDTO HAVE FAILED OF ITS ESSENTIAL PURPOSE, AND WHETHER OR NOT SMSC HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Revision 1.1 (03-31-06) 22 SMSC EVK-2074/84SOFTWARE OPERATION MANUAL