SSCI HSS4NG Скачать руководство пользователя страница 1

C

C

I

I

ommunications  

omputer ntelligence  

nteg ration

CCII Systems (Pty) Ltd Registration No. 1990/005058/07

User Manual

for the

4-Channel New Generation

and

8-Channel High-Speed Serial I/O Adapters

Windows NT 4 Software Driver

C²I² Systems Document No.

CCII/HSS8/6-MAN/004

Document Issue

1.2

Issue Date

2009-08-31

Print Date

2009-09-03

File Name

W:\HSS8\TECH\MAN\CH8MAN04.WPD

Distribution List No.

© C²I² Systems The copyright of this document is the property of C²I² Systems. The document is issued for the sole

purpose for which it is supplied, on the express terms that it may not be copied in whole or part, used by
or disclosed to others except as authorised in writing by C²I² Systems.

Document prepared by C²I² Systems, Cape Town

Содержание HSS4NG

Страница 1: ...6 MAN 004 Document Issue 1 2 Issue Date 2009 08 31 Print Date 2009 09 03 File Name W HSS8 TECH MAN CH8MAN04 WPD Distribution List No C I Systems The copyright of this document is the property of C I Systems The document is issued for the sole purpose for which it is supplied on the express terms that it may not be copied in whole or part used by or disclosed to others except as authorised in writi...

Страница 2: ......

Страница 3: ...ue 1 2 CH8MAN04 WPD Page ii of vii Signature Sheet Name Signature Date Completed by Project Engineer Board Level Products C I Systems Accepted by Project Manager Board Level Products C I Systems Accepted by Quality Assurance C I Systems ...

Страница 4: ...dment History Issue Description Date ECP No 0 1 First draft 2005 09 26 1 0 Updated after review by WRM 2005 10 20 1 1 Implemented ECP references to adapters made more generic 2006 06 29 CCII HSS8 6 ECP 026 1 2 Improve document naming consistency 2009 08 31 CCII HSS8 6 ECP 042 ...

Страница 5: ...k 6 4 3 3 SetCommMask 6 4 3 4 WaitCommEvent 7 4 3 5 Overlapped Writes 7 4 3 6 FlushFileBuffers 7 4 4 Structure Limitations 7 4 4 1 COMMCONFIG 7 4 4 2 COMMPROP 7 4 4 3 COMMTIMEOUTS 7 4 4 4 COMSTAT 7 4 4 5 DCB 7 5 HSS8 Windows NT 4 Software Driver Protocol Settings 8 5 1 Protocol Selection 8 5 2 Using the Control Panel to Change Channel Settings 8 5 3 Using the Control Panel to Obtain the Current Ve...

Страница 6: ...CCII HSS8 6 MAN 004 2009 08 31 Issue 1 2 CH8MAN04 WPD Page v of vii 7 2 Physical Address 26 7 3 Postal Address 26 7 4 Voice and Electronic Contacts 26 7 5 Product Support 26 ...

Страница 7: ... 1 Installation Wizard 4 Figure 2 Applet Icon 8 Figure 3 Driver Information Dialogue 9 Figure 4 UART Dialogue 10 Figure 5 UART Advanced Dialogue 10 Figure 6 HDLC Dialogue 14 Figure 7 HDLC Advanced Dialogue 14 Figure 8 BISYNC Dialogue 18 Figure 9 BISYNC Advanced Dialogue 18 Figure 10 SMC Dialogue 23 ...

Страница 8: ... project HSS8 8 Channel High Speed Serial I O Adapter I O Input Output ISA Industry Standard Architecture MSDN Microsoft Developer Network PC Personal Computer PCI Peripheral Component Interconnect PMC Peripheral Component Interconnect Mezzanine Card PnP Plug and Play SCC Serial Communications Controller SDK Software Development Kit SDLC Synchronous Data Link control SIO Serial Input Output SMC Se...

Страница 9: ...er is a low level device dependent interface for transferring data over a C I Systems HSS8 Adapter The HSS8 Windows NT 4 Software Driver binaries are provided with explicit installation instructions The HSS8 Windows NT 4 Software Driver will also run as a legacy software driver under Windows 2000 or XP but does not support Plug and Play PnP Windows Management Instrumentation WMI or power managemen...

Страница 10: ...y Reference Manual MPC8260UM D Rev 1 dated May 2003 2 1 2 CCII HSS8 6 MAN 001 Hardware Reference Manual for the 4 Channel New Generation and 8 Channel High Speed Serial I O Adapters 2 1 3 DI IPSC 81443 Data Item Description for a Software User Manual 2 1 4 MSDN Communication Resources http msdn microsoft com en us library aa363196 VS 85 aspx 2 2 Reference Documents None ...

Страница 11: ...B299340 and KB309283 During the installation of Windows 2000 or XP press the F5 key when the text Setup is inspecting appears Select the Standard PC HAL from the list of options To change the HAL after installation of Windows 2000 or XP with an ACPI HAL 1 Go to the Control Panel 2 Click the Administrative Tools icon 3 Click the Computer Management icon 4 Select Device Manager 5 Expand the Computer...

Страница 12: ...tware driver is installed the corresponding firmware revision on the device is identical There might be incompatibilities between different software driver and firmware versions The Engine version reported by the control panel applet must match the firmware version of all devices in the system The flash update application is located in the Program Files C2I2 HSS8 folder Before running the applicat...

Страница 13: ...ve tool Event Viewer can be used to inspect the event logs The HSS8 Windows NT 4 Software Driver logs certain information and fatal errors to the event log Refer to the event log when an operation does not function as expected 1 Go to the Control Panel 2 Click the Administrative Tools icon 3 Click the Event Viewer icon ...

Страница 14: ...by the HSS8 Windows NT 4 Software Driver C BuildCommDCB C BuildCommDCBAndTimeouts C ClearCommError C CommConfigDialog C GetCommConfig C GetCommMask C GetCommProperties C GetCommState C GetCommTimeouts C GetDefaultCommConfig C PurgeComm C SetCommConfig C SetCommMask C SetCommState C SetCommTimeouts C SetDefaultCommConfig C SetupComm C WaitCommEvent C CreateFile C ReadFile C WriteFile C CloseHandle ...

Страница 15: ...used by the HSS8 Windows NT 4 Software Driver This paragraph will mention all the exceptions 4 4 1 COMMCONFIG dwProviderSubType none of the types makes provision for a device that is both RS 232 and RS 422 capable No provider specific data is supplied 4 4 2 COMMPROP dwProvSubType dwProvSpec1 dwProvSpec2 and wcProvChar are not supported 4 4 3 COMMTIMEOUTS ReadIntervalTimeout is not supported The wr...

Страница 16: ...ntrol Panel from the Settings option Click on the icon shown in Figure 2 Figure 2 Applet Icon 5 2 Using the Control Panel to Change Channel Settings The control panel applet selection boxes list available options for the specific protocols Options that are not available for the selected protocol are grayed out All the options including the options in the Advanced dialogue must be entered to create...

Страница 17: ...river itself It has the format X Y Z A change in X would indicate that the HSS8 Windows NT 4 Software Driver has an added feature Y would mean that a new software driver engine is used in the software driver Z indicates any corrections to problems in the HSS8 Windows NT 4 Software Driver The Engine version must be identical to the firmware version for all cards in the PC Normally this would only b...

Страница 18: ...is protocol may only be used with the eight SCC Channels HSS8_1 to HSS8_8 See Paragraph 5 7 1 for the settings for the SMC Channels The UART dialogue window is shown in Figures 4 and 5 The settings are described in Paragraph 5 4 1 Figure 4 UART Dialogue Figure 5 UART Advanced Dialogue ...

Страница 19: ...RT When transmit clock is set to CLOCK_BRG 1 4 then receive clock is still set to CLOCK_EXT 1 4 for Ports 1 4 and Ports 5 8 For asynchronous UART Transmit and receive clocks can be set to one of CLOCK_BRG 1 4 or CLOCK_EXT 1 4 Note There are four BRGs and four clock input pins per PowerQUICC II processor CLOCK_BRG1 CLOCK_BRG2 CLOCK_BRG3 CLOCK_BRG4 BRGs 1 4 BRG1 for Ports 1 and 5 BRG2 for Ports 2 an...

Страница 20: ...ected internally The value on RxD CTS and CD is ignored The transmitter and receiver share the same clock source ECHO T h e t r a n s m i t t e r automatically resends received data bit by bit LOOPBACK_ECHO Loopback and echo o p e r a t i o n o c c u r simultaneously Max RX Bytes 1 to 16 384 default Maximum number of bytes that may be copied into a buffer Max Idle Characters 0 to 16 384 default Ma...

Страница 21: ... 8 These characters can be used to delimit received messages 6 bits Reserved Initialise to zero cccccccc 8 bits Defines control characters to be compared to the incoming character RX Control Character Mask 0b11 00000000 Ignore these bits when comparing incoming character 0b11 11111111 Enable comparing the incoming character to cc n Receive control character mask A one enables comparison and a zero...

Страница 22: ...Page 14 of 26 5 5 HDLC Mode This protocol may only be used with the eight SCC ports HSS8_1 to HSS8_8 The HDLC dialogue windows is shown in Figures 6 and 7 The settings are described in Paragraph 5 5 1 Figure 6 HDLC Dialogue Figure 7 HDLC Advanced Dialogue ...

Страница 23: ...BRG 1 4 or CLOCK_EXT 1 4 Note There are four BRGs and four clock input pins per PowerQUICC II processor CLOCK_BRG1 CLOCK_BRG2 CLOCK_BRG3 CLOCK_BRG4 BRG 1 4 BRG1 for Ports 1 and 5 BRG2 for Ports 2 and 6 BRG3 for Ports 3 and 7 BRG4 for Ports 4 and 8 CLOCK_EXT1 CLOCK_EXT2 CLOCK_EXT3 CLOCK_EXT4 External Clocks connected on CLK_IN Pins Note CLOCK_EXT 1 2 can only be used for Ports 1 and 2 and 5 a n d 6...

Страница 24: ...68 and address_mask should contain 0xFFFF For 8 bit addresses clear the eight high order address bits Flags between Frames 0 15 Minimum number of flags between or before frames Enable Retransmit Enable re transmit Enable Flag Sharing Enable flag sharing Disable RX while TX Disable receive during transmit Enable Bus Mode Enable bus mode Enable RTS Mode Enable special RTS operation in HDLC bus mode ...

Страница 25: ... 17 of 26 5 5 2 Preamble Requirements Decoding Method Preamble Pattern Minimum Preamble Length Required NRZI Mark All zeros 8 bit NRZI Space All ones 8 bit FM0 All ones 8 bit FM1 All zeros 8 bit Manchester 101010 10 8 bit Differential Manchester All ones 8 bit ...

Страница 26: ... of 26 5 6 BISYNC Mode This protocol may only be used with the eight SCC ports Ports HSS8_1 to HSS8_8 The BISYNC dialogue windows is shown in Figures 8 and 9 The settings are described in Paragraph 5 6 1 Figure 8 BISYNC Dialogue Figure 9 BISYNC Advanced Dialogue ...

Страница 27: ...input pins per PowerQUICC II processor CLOCK_BRG1 CLOCK_BRG2 CLOCK_BRG3 CLOCK_BRG4 BRGs 1 4 BRG1 for Ports 1 and 5 BRG2 for Ports 2 and 6 BRG3 for Ports 3 and 7 BRG4 for Ports 4 and 8 CLOCK_EXT1 CLOCK_EXT2 CLOCK_EXT3 CLOCK_EXT4 External Clocks connected on CLK_IN Pins Note CLOCK_EXT 1 2 can only be used for Ports 1 and 2 and 5 and 6 while CLOCK_EXT 3 4 can only be used for Ports 3 and 4 and 7 and ...

Страница 28: ...W EVEN HIGH Receive and transmit parity Parity is ignored unless crc_select LRC Diagnostics Mode NORMAL Normal operation Use this for external loopback Set diagnostic mode External loopback RS 422 485 Connect TxD to RxD TxD to RxD CLK_OUT to CLK_IN and CLK_OUT to CLK_IN External loopback RS 232 Connect TxD to RxD CLK_OUT to CLK_IN and RTS to CTS and CD LOOPBACK Internal loopback TxD and RxD are co...

Страница 29: ...s DLE character This character tells the receiver that the next character is text Control Characters 8 0b0bh cccccccc Valid entry 0b1bh cccccccc Entry not valid and is not used Control character 1 to 8 5 bits Reserved Initialise to zero b Block check sequence expected A maskable interrupt is generated after the buffer is closed b 0 The character is written into the receive buffer and the buffer is...

Страница 30: ... mask A one enables comparison and a zero masks it Sync Character 0xssss 2 bytes SYNC character Should be programmed with the sync pattern Syn Length 8 16 SYNL_8 Should be chosen to implement mono sync protocol The receiver synchronizes on an 8 bit sync pattern in sync SYNL_16 The receiver synchronizes on a 16 bit sync pattern stored in sync Enable flags syncs Send either idles or flags syncs betw...

Страница 31: ...5 7 1 SMC UART Protocol Information Members Name Options Description Baud Rate 1 200 115 2 kbit s RS 232 RS 422 485 Any values permissible The equation to calculate the actual baud rate for the SMC UART is as follows Actual baud rate 100 MHz 16 ROUND 100 MHz 16 Desired baud rate Where ROUND implies that the result is rounded to the nearest integer Used to specify a single baud rate for both transm...

Страница 32: ...e connected internally The value on RxD is ignored ECHO The transmitter automatically resends received data bit by bit LOOPBACK_ECHO Loopback and echo operation occur simultaneously Max RX Bytes 1 to 16 384 default Maximum number of bytes that may be copied into a buffer Max Idle Characters 0 to 16 384 default Maximum idle characters When a character is received the receiver begins counting idle c...

Страница 33: ...mState h_device and dcb memset tx_buffer sizeof tx_buffer WriteFile h_device tx_buffer sizeof tx_buffer and bytes_send NULL CloseHandle h_device 6 2 Overlapped Read Operation HANDLE h_device char rx_buffer 100 DWORD bytes_read OVERLAPPED overlap DWORD wait_event h_device CreateFile HSS8_1 GENERIC_READ GENERIC_WRITE 0 NULL OPEN_EXISTING FILE_ATTRIBUTE_NORMAL FILE_FLAG_OVERLAPPED NULL overlap Offset...

Страница 34: ...smead Centre 67 Rosmead Avenue Kenilworth Cape Town 7708 South Africa 7 3 Postal Address C I Systems P O Box 171 Rondebosch 7701 South Africa 7 4 Voice and Electronic Contacts Tel 27 0 21 683 5490 Fax 27 0 21 683 5435 Email info ccii co za Email support ccii co za URL http www ccii co za 7 5 Product Support Support on C I Systems products is available telephonically between Monday and Friday from ...

Отзывы: