Home

Sapera CAB Programmer`s Manual

image

Contents

1. 223 TEE EE EE ROTE ae 54 55 57 Contents e ii Introduction Overview of the manual CAB System Describes the concepts behind the CAB and how it can be applied within imaging applications Sapera CAB Module API Describes the additional Sapera API required to control the CAB Typical CAB Configurations Demonstrates typical board and mode configuration CAB systems with related code examples Coreco Imaging Contact Information Contact sales and support information Appendix Dummy Buffer Type Describes the concept of dummy buffers and how they can be applied About the Manual This manual exists in printed Windows compiled HTML help and Adobe Acrobat PDF formats The Help and PDF formats make full use of hypertext cross references The PDF format offers links to Coreco Imaging s home page on the Internet located at http www imaging com Coreco Imaging s web site contains documents software updates demos errata utilities and more Using the Manual File names directories and Internet sites will be in bold text e g setup exe c windows http www imaging com Function parameters will be in italics e g x en Source code code examples text file listings and text that must be entered using the keyboard will be in typewriter style text e g PixelClock Menu and dialog actions will be indicated in bold text in the order of the instructions to be executed with each instru
2. T amp 6 1 A PA L Sapera CAB Programmer s Manual NON dd VV 2 5 89 M Vv M Mamba i Viper Quad Viper Quad Viper Quad Viper Quad Recover Port 8 Transmitter Transmitter Transmitter Transmitter lieti cdi ort I l H I 9 Port 8 Port 9 E Port 10 Port 11 sa 1 0 0 kii 0 heal 0 nds c MP E Port 10 2 EE EE EE iy a Port 11 Image i Image i Image i Image fh d 3 Data Data Data Data MEE Acquisition Acquisition Acquisition Acquisition Device Device Device Device Image AM A EAE TER a N E ae ear E Als Lam dd Data Data Data Data Data Frame Source s Source s Source s Source s Buffer Data Destination s Typical CAB Configurations e 50 Coreco Imaging Contact Information Sales Information Coreco Imaging contact information Corporate Headquarters Coreco Imaging 7075 Place Robert Joncas Suite 142 St Laurent Quebec Canada HAM 272 Tel 514 333 1301 Fax 514 333 1388 US Sales Office Coreco Imaging Inc Building 8 Floor 2 900 Middlesex Turnpike Billerica Ma 01821 Tel 978 670 2000 Fax 978 670 2010 Visit our web site Email Sapera CAB Programmer s Manual http www imaging com info corecoimaging
3. return 0 j void SetupTest3 void Sapera CAB Programmer s Manual Typical CAB Configurations e 45 The following commands assume that the users has reviewed the hardware architecture of the boards and is using the CAB Interface 0 of the boards Obtain handles to Board servers using name This allows code to be executed transparently either on the host or on the Mamba 1 Retrieve server handles by name CorManGetServerByName Viper Digital 1 amp hServer VD1 CorManGetServerByName Mamba 1 amp hServer Mambal CorManGetServerByName Mamba 2 amp hServer Mamba2 Retrieve CAB Interface 0 handle from the board server CorCabGetHandle hServer VD1 0 amp hCAB Intf0 VD1 CorCabGetHandle hServer Mambal 0 amp hCAB Intf0 Mambal Retrieve CAB Interface 1 handle from the board servers CorCabGetHandle hServer Mambal 0 amp hCAB Intfl Mambal CorCabGetHandle hServer Mamba2 1 amp hCAB Intf1 Mamba2 FEKKKKKKKKKKKKKKkKk Start of Transmitter Setup on CabSys 0 KKKAKKKKKKKKKKKKKKKKKKKKKKKKkKk Critical Parameters CORCAB_PRM_TRANSFER_MODE Multicast Required CORCAB PRM BLOCK SIZE not needed CORCAB PRM CHANNEL As needed Required CorCabSetPrm hCAB Intf0 VD1 CORCAB PRM TRANSFER MODE CORCAB VAL TRANSFER MODE MULTICAST CorCabSetPrm hCAB Intf0 VD1 CORCAB PRM CHANNEL CORCAB VAL CHANNEL 8 CORCAB VAL CHANNEL 9 x End Of Transmitter Setup on C
4. First source or receiving channel when the parameter CORCAB PRM TRANSFER MODE is setto CORCAB VAL TRANSFER MODE ROUND ROBIN UINT32 Numerical value within the range 0 15 representing the first source channel ID This parameter must be lower than or equal to the parameter CORCAB PRM SRC CHANNEL LAST CORCAB_PRM_SRC_CHANNEL_LAST Description Type Values Note This parameter is obsolete Use the parameter CORCAB PRM CHANNEL Last source or receiving channel when the parameter CORCAB PRM TRANSFER MODE is set to CORCAB VAL TRANSFER MODE ROUND ROBIN UINT32 Numerical value within the range 0 15 representing the last source channel ID This parameter must be greater than or equal to the parameter CORCAB PRM SRC CHANNEL FIRST Sapera CAB Programmer s Manual Sapera CAB Module API e 28 CORCAB_PRM_STATUS Description Type Values Note Returns information about the current status of the CAB system UINT32 CORCAB VAL STATUS GRANTED 0x00000001 The CAB system is considered GRANTED if a CAB transmitter has been granted transmission rights to the CAB system by the CAB arbitrator Only one CAB transmitter can be granted permission to transmit to the CAB system Once the CAB system is granted no CAB parameters can be changed The CAB system is granted to a CAB transmitter once it is connected using the function CorXferConnect the CAB transmitter being one of the destination pair s of the transfer module CORCAB VAL
5. CABSys N 1 Receiver Y to Receiver Y 1 Y 2 0 and Transmitter B CABSys 0 Receiver Z to Receiver Z 1 Z 2 0 and Transmitter C jy 2 Also notice how to CASCADE CAB Systems to add processing nodes Creates logical connections between the frame buffer the final destination of data and the Rx ports on the Receiver CorXferNewEx hServer Mamba2 hCAB Intfl Mamba2 0 hBuffer Mamba2 0 amp xferDesc amp hXfer Mamba2 CAB Intfl To Buffer0 CorXferConnect hXfer Mamba2 CAB Intfl To Bufferd End of Receiver Connection Setup for CABSys 1 XXXXXKXXXKXXXXXXX Sapera CAB Programmer s Manual Typical CAB Configurations e 47 Start of Receiver amp Cascading Connection Setup for CABSys 0 X X X X Cascading CABSYSO to CABSYS 1 IMPORTANT Notice the Rx port 0 of the CAB Interface 0 of Mamba 1 is cascading passing through the data to Tx Port 0 of the Mamba 1 Notice the user must assign channel number to Rx Port and Tx port however the channel numbers do not have to be identical for two reasons 1 Rx Port and Tx port belong to two separate CAB systems 2 The hardware performs physical connection between Rx port of CABSys 0 and Tx Port of CABSys1 creates logical mapping to connect the CAB interface 0 to CAB interface 1 of Mamba 1 passthrough mode CorXferNewEx hServer Mambal hCAB Intf0 Mambal 0 hCAB Intfl Mambal 0 NULL amp hXfer Mambal CAB
6. CorCabSetPrms page 33 CorCabSetPrmEx page 34 CorCabGetPrms page 31 CorCabSetPrms Set multiple CAB parameters of a CAB device Prototype CORSTATUS CorCabSetPrms CORCAB Cab CORPARAM AParam Description Sets multiple CAB parameter of a CAB device Input hCab CAB resource handle hParam Parameters resource handle Output None Return Value See Also CORSTATUS ARG INVALID VALUE internal hParam argument CORSTATUS ARG OUT OF RANGE internal hParam argument CORSTATUS INVALID HANDLE CORSTATUS PRM INVALID CORSTATUS PRM READ ONLY CorParamLoad function in the Sapera Basic Modules Reference Manual available as online version only Sapera CAB Programmer s Manual Sapera CAB Module API e 33 CorCabSetPrmEx Set a complex CAB parameter of a CAB device Prototype CORSTATUS CorCabSetPrmEx CORCAB ACab UINT32 prm const void value Description Sets a complex CAB parameter of a CAB device Input hCab CAB resource handle prm CAB parameter to set value New value of the parameter Output None Return Value CORSTATUS ARG INVALID VALUE CORSTATUS ARG NULL CORSTATUS ARG OUT OF RANGE CORSTATUS INVALID HANDLE CORSTATUS PRM INVALID CORSTATUS PRM READ ONLY Note A complex parameter is one whose size is greater than an UINT32 If the parameter size is UINT32 either CorCabSetPrm or CorCabSetPrmEx can be used See Also CorCabGetPrm page 31 CorCabSetPrm page 33 Sapera CAB Programmer s Manual Sapera CAB Module API e 34 Typical CAB Configu
7. How does it work In multicast mode each Mamba receives all camera data output via the CAB Each Mamba determines the specific data it receives This is accomplished by creating a list of buffers of varying size Some are dummies while the remainder are regular buffers Note that dummy buffers are not allocated in Mamba memory The transfer object requires the dummy buffers to know how much data it flushes from the Cab The Mamba CPU performance is not affected during this process because no memory cycles are performed to Mamba memory during the transfer of dummy buffers Sapera CAB Programmer s Manual Appendix Dummy Buffer Type e 53 How it looks in user applications Example A linescan camera outputs images 2k x 12k two Mambas each processing part of the image On Mamba 1 Create the appropriate buffers CorBufferNew hPC 2k 3K CORBUFFER VAL FORMAT MONO8 CORBUFFER PRM TYPE SCATTER GATHER amp hBufferil Now create the dummy buffer to skip the next 9k lines CorBufferNew hPC 2k 9K CORBUFFER VAL FORMAT MONOS CORBUFFER PRM TYPE DUMMY amp hBuffer2 Now create the Xfer objet CorXferNew hPC hCab hBufferl pXferDesc amp hXfer Xfer to the real buffer CorXferAppend hPC hCab hBuffer2 pXferDesc Xfer to dummy buffer On Mamba 2 Decide on a different configuration for each Mamba Each Mamba is independant Create the appropriate buffers 2 real buffers and 3 dummies Skip the first 1k line
8. Server UINT32 index CORCAB hCab hServer Server handle index Specifies which CAB device to select Valid values are in the range 0 count 1 where count is the value returned by CorCabGetCount hCab CAB resource handle CORSTATUS INVALID HANDLE CORSTATUS ARG NULL CORSTATUS NO MEMORY See Also CorCabGetCount page 30 CorCabRelease page 32 CorCabGetPrm Get CAB parameter value from a CAB device Prototype CORSTATUS CorCabGetPrm CORCAB hCab UINT32 prm void value Description Gets CAB parameter value from a CAB device Input hCab CAB resource handle CAB parameter requested Output value Current value of the parameter Return Value CORSTATUS INVALID HANDLE CORSTATUS ARG NULL CORSTATUS PRM INVALID See Also CorCabSetPrm page 33 CorCabGetPrms page 31 CorCabSetPrmEx page 34 CorCabSetPrms page 33 CorCabGetPrms Get multiple CAB parameters from a CAB device Prototype CORSTATUS CorCabGetPrms CORCAB ACab CORPARAM AParam Description Gets multiple CAB parameters from a CAB device Input h Cab CAB resource handle hParam Parameters resource handle Output None Return Value See Also CORSTATUS INVALID HANDLE CORSTATUS PRM INVALID CORSTATUS PRM READ ONLY CorParamSave function in the Sapera Basic Modules Reference Manual available as online version only Sapera CAB Programmer s Manual Sapera CAB Module API e 31 CorCabRelease Release handle to a CAB device Prototype CORSTATUS CorCabRelease CORCAB ACab D
9. CAB Sys0 i I Typical CAB Configurations e 43 CAB System View Viper Digital CLOCK GENERATOR Bus Arbitrator i CAB Sys 0 32 bits y Path Viper Digital Mamba 1 Transmitter Receiver Port 0 Ch8 9 Port 0 Ch8 Port 1 NA Port 1 Ch9 Port 2 NA Port 2 x Port 3 NA Port 3 x Image Data Acquisition Frame To CAB Device Buffer SYS 1 tenia T t Data Source s Data Destination s 1 i Data Destination s H Data Source s Ede Sas ES Be EED ER SE ER ER Ee I CAB Sys 1 Frame From CAB y Buffer SYS 0 Image Image Data Data x Port 3 x Porta x Port 2 E Pot2 x Port 1 X Port 1 Ch10 Port 0 Chto Poto Receiver Transmitter Mamba 2 Mamba l 32 bits Data Path p t Control pcm Bus Arbitrator GENERATOR Mamba 2 CAB Interface 1 N Legends NA Not Applicable x Don t Care Sapera CAB Programmer s Manual Typical CAB Configurations e 44 Assumes the following physical setup one Viper Digital two Mambas Cab interface of Viper is connect
10. CorBufferNew hPC 2k 1K CORBUFFER VAL FORMAT MONO8 CORBUFFER PRM TYPE DUMMY amp hBufferl Get the next 3K lines CorBufferNew hPC 2k 3K CORBUFFER VAL FORMAT MONOS CORBUFFER PRM TYPE SCATTER GATHER amp hBuffer2 Skip the next 2k lines CorBufferNew hPC 2k 2K CORBUFFER VAL FORMAT MONO8 CORBUFFER PRM TYPE DUMMY amp hBuffer3 Get the next 1K line CorBufferNew hPC 2k 1K CORBUFFER VAL FORMAT MONO8 CORBUFFER PRM TYPE SCATTER GATHER amp hBuffer4 Skip the next 5k lines the total lines must add up to 12K for this example CorBufferNew hPC 2k 5K CORBUFFER VAL FORMAT MONO8 CORBUFFER PRM TYPE DUMMY amp hBuffer5 Now create the Xfer object CorXferNew hPC hCab hBufferl pXferDesc amp hXfer Xfer to the dummy buffer CorXferAppend hPC hCab hBuffer2 pXferDesc Xfer to real buffer CorXferAppend hPC hCab hBuffer3 pXferDesc Xfer to dummy buffer CorXferAppend hPC hCab hBuffer4 pXferDesc Xfer to real buffer CorXferAppend hPC hCab hBuffer5 pXferDesc Xfer to dummy buffer Sapera CAB Programmer s Manual Appendix Dummy Buffer Type e 54 Glossary of Terms Channel A channel is a data path from a camera that includes an entire video line Complex Parameter A parameter with a size greater than an UINT32 Pixel A single picture element the smallest individual digital video component The number of pixels describes the number of digital samples taken of the analog video signal The n
11. Gets a handle to a CAB device CorCabGetPrm Gets CAB parameter value from a CAB device CorCabGetPrms Gets multiple CAB parameters from a CAB device CorCabRelease Releases handle to a CAB device CorCabReset Resets a CAB device CorCabResetModule Resets the resources associated with the server s CAB device s CorCabSetPrm Sets a simple CAB parameter of a CAB device CorCabSetPrms Sets multiple CAB parameters of a CAB device CorCabSetPrmEx Sets a complex CAB parameter of a CAB device CorCabGetCap Get CAB capability value from a CAB device Prototype CORSTATUS CorCabGetCap CORCAB hCab UINT32 cap void value Description Gets CAB capability value from a CAB device Input hCab CAB device handle cap The CAB device capability requested Output value Value of the capability Return Value CORSTATUS INVALID HANDLE CORSTATUS CAP INVALID CORSTATUS ARG NULL if value is NULL CorCabGetCount Get the number of CAB devices on a server Prototype CORSTATUS CorCabGetCount CORSERVER Server UINT32 count Description Gets the number of CAB devices on a server Input hServer Server handle Output count Number of CAB devices Return Value CORSTATUS INVALID HANDLE CORSTATUS ARG NULL if count is NULL Note The content of count is 0 when there is no CAB device available Sapera CAB Programmer s Manual Sapera CAB Module API e 30 CorCabGetHandle Get a handle to a CAB device Prototype Input Output Return Value CORSTATUS CorCabGetHandle CORSERVER
12. Image Acquisition k xx xx kkk kkk kkk k Notice the order in which Image acquisition and image transfer starts Initialize the receivers to receive from CAB before initializing Transmitter to send data to the CAB CorXferStart hXfer Mambal CAB IntfO To Buffer0 1 CorxferStart hXfer VDl Acqd To CAB Intf0 1 wait for the transfers to finish CorXferWait hXfer Mambal CAB Intf0 To Buffer0 2000 CorXferWait hXfer VD1 Acq To CAB Intf0 2000 CorXferDisconnect hXfer Mambal CAB Intf0 To Buffer0 CorXferDisconnect hXfer VD1 Acq To CAB Intf0 II x xx xxx kxkkxx kk End of Image Acquisition x xxxd kkk kkk eek CorXferFree hXfer Mambal CAB IntfO To Buffer0 CorXferEree hXfer VD1 Acq To CAB Intf0 j void CleanupTest1 void CorAcqRelease hAcq CorCabRelease hCAB Intf0 VD1 CorManReleaseServer hServer VD1 CorBufferFree hBuffer Mamball0 CorCabRelease hCAB Intf0 Mambal CorManReleaseServer hServer Mambal Sapera CAB Programmer s Manual Typical CAB Configurations e 38 Viper Digital and Mamba in Round Robin Mode Using Viper Digital and Mamba in Round Robin mode Single node architecture Hardware Connection Diagram V
13. Intf0 CORXFER hXfer Mambal CAB IntfO To Buffer0 CORXFER hXfer Mamba2 CAB Intfl To Buffero CORBUFFER hBuffer Mambal 4 CORBUFFER hBuffer Mamba2 CORXFER DESC xferDesc int main Used when transferring from a Mamba 100 Cab interface to a Mamba 100 buffer only xferDesc frame CORXFER VAL FRAME INTERLACED xferDesc fieldOrder CORXFER VAL FIELD ORDER ODD EVEN xferDesc widthByte 640 xferDesc height 480 xferDesc incByte 640 This example shows how to setup Multicast mode of transmission in a single CAB system configuration Test 1 assumes the following physical setup one Viper Digital one Mamba 100 Cab interface of Viper is connected to Cab interface 0 of Mamba 100 jy Transfer is multicast mode on Cab interface of Viper one buffer on port 0 of Cab interface 0 of the Mamba 100 SetupTest1 DoTest1 CleanupTest1 j void SetupTestl void The following commands assume that the users has reviewed the hardware architecture of the boards and is using the CAB Interface 0 of the boards Obtain handles to Board servers using name This allows code to be executed transparently either the host or on the Mamba 100 1 Retrieve Server handles CorManGetServerByName Viper Digital 1 amp hServer VD1 Sapera CAB Programmer s Manual Typical CAB Configurations e 36 CorManGetServerByName Mamba 1 amp hServer Mambal retrieve CAB
14. KK RK KKK KKK KKK KK e ke ke KKK kkkkkkkkkkkkkkkkkkkkk Start of Receiver Setup on CABSys 1 kkkkkkkkkkkkkkkkkkkkkkkxkk Critical Parameters CORCAB PRM TRANSFER MODE not needed CORCAB PRM BLOCK SIZE not needed CORCAB PRM CHANNEL One or more channels per Rx Port Channel number must correspond to one or more channels s programmed for one or more Tx Port Select the Rx port before initializing the Channel number CorCabSetPrm hCAB Intf1 Mamba2 CORCAB PRM PORT INDEX 0 CorCabSetPrm hCAB Intf1 Mamba2 CORCAB PRM CHANNEL CORCAB VAL CHANNEL 10 Start of Receiver Setup on CABSys 1 XXX kk k k k KKK AA EA AA KKK KK KK KK kkkkk k k k Start of Frame buffer allocation x xk kk kk kk kk kk The following section allocates the frame buffers and stores handles of the frame buffer in an array of handles CorBufferNew hServer Mambal 640 480 CORBUFFER VAL FORMAT MONOS CORBUFFER VAL TYPE CONTIGUOUS amp hBuffer Mambal1 0 CorBufferNew hServer Mamba2 640 480 CORBUFFER VAL FORMAT MONO8 CORBUFFER VAL TYPE CONTIGUOUS amp hBuffer Mamba2 kkkkkkkkk k End of Frame buffer allocation x x xxkkkkkk kk kk kx kk j void DoTest3 void k k Start of Receiver Connection Setup for CABSys 1 4 XXXXXKXXX X IMPORTANT 1 Notice the order in which connections are made CABSys N Receiver X to Receiver X 1 X 2 0 and Transmitter A Lf
15. STATUS CONNECTION SIGNAL 0x00000002 The connection signal bit is active if a CAB device connected to the CAB system has activated the signal using the parameter CORCAB PRM CONNECTION SIGNAL The connection signal status is useful in determining which CAB devices are connected to a CAB system when multiple CAB systems are present in a system The returned value is the ORed combination of the valid values This parameter is read only CORCAB_PRM_TRANS_MODE Description Obsolete Use instead the equivalent parameter CORCAB PRM TRANSFER MODE CORCAB_PRM_TRANSFER_MODE Description Type Values Note Controls CAB system data routing This parameter must be set by the CAB transmitter It has no meaning for a CAB receiver UINT32 CORCAB VAL TRANSFER MODE MULTICAST 0x00000000 One source to one or more simultaneous destinations CORCAB VAL TRANSFER MODE ROUND ROBIN 0x00000001 One source to 2 or more destinations in round robin fashion CORCAB VAL TRANSFER MODE POINT TO POINT 0x00000010 Multiple sources each going to a single destination This parameter applies to all the ports of a CAB transmitter Refer to the CAB User s manual for more information about the different types of transfer mode Sapera CAB Programmer s Manual Sapera CAB Module API e 29 Functions Function Description CorCabGetCap Gets CAB capability value from a CAB device CorCabGetCount Gets the number of CAB devices on a server CorCabGetHandle
16. To CAB Intf0 2000 4 2000 CorXferDisconnect hXfer Mambal CAB Intf0 To Buffer0 CorxierDisconnect hxfter VD1 Acg To CAB Inttf0 ff xxxxkkkxkkkxkk k End of Image Acquisition XXX dk kkk CorXferFree hXfer Mambal CAB IntfO To Buffer0 Sapera CAB Programmer s Manual Typical CAB Configurations e 42 CorXferFree hXfer VD1 Acq To CAB Intf0 void CleanupTest2 void CorAcqRelease hAcq CorCabRelease hCAB Intf0 VD1 CorManReleaseServer hServer VD1 CorBufferFree hBuffer Mambal CorBufferFree hBuffer Mambal CorBufferFree hBuffer Mambal CorBufferFree hBuffer Mambal CorCabRelease hCAB Intf0 Mambal CorManReleaseServer hServer Mambal 13 3 edd EA 135 0 1 2 3 Viper Digital with 2 Mambas in Multicast Mode Using Viper Digital with 2 Mambas in Multicast mode Multi node Architecture Hardware Connection Diagram Sapera CAB Programmer s Manual CAB Sys1 I I Mamba 1 Mamba 2 Viper Digital i Tx Port 0 Ch10 S cn Rx Port 0 Ch 10 i lt i i S i L Camera tron EA EL ET ES S E Rx Port 0 Ch8 E A ee AE EN NORA MEE EER 3 Q E E E Tepoto E 2 i x_Po E I iE Ch8 9 o Rx Port 0 Ch9 E oO FBO gt FBO
17. modes discussed later multiple channel numbers can be assigned to a single receive port e The TX ports can also be assigned multiple channels although seldom necessary e For the Point to Point transmission mode only one channel should be assigned to one TX port Clock Generator The synchronous nature of CAB devices implies the existence of a common clock for the bus arbitrator transmit port and receive ports The clock generator can be located either on the device containing the bus arbitrator the transmit port or the receive port Sapera CAB Programmer s Manual CAB System e 5 CAB Interface Transfer Modes The CAB transfer mode describes the way in which the data is sent and received on the CAB All modes are mutually exclusive meaning there can only be one transfer mode active per CAB Interface The CAB Interface supports 3 different kinds of transfer mode Multicast Mode Transfer The Multicast mode is a data transmission scheme where data is sent to more than one channel simultaneously Round Robin Mode Transfer The Round Robin mode of operation can be defined as the mode of data transmission where the destination channel number is incremented sequentially from the start channel to the end channel number Point to Point Mode Transfer This is a mode of data transmission where one transmit port sends data to one receive port at any given time Which transmit and or receive port where data will be exchanged is selected r
18. 0000100 CAB Channel 8 CORCAB VAL CHANNEL 9 0x00000200 CAB Channel 9 CORCAB VAL CHANNEL 10 0x00000400 CAB Channel 10 CORCAB VAL CHANNEL 11 0x00000800 CAB Channel 11 CORCAB VAL CHANNEL 12 0x00001000 CAB Channel 12 CORCAB VAL CHANNEL 13 0x00002000 CAB Channel 13 CORCAB VAL CHANNEL 14 0x00004000 CAB Channel 14 CORCAB VAL CHANNEL 15 0x00008000 CAB Channel 15 Note The values may be ORed if more than one channel is desired Sapera CAB Programmer s Manual Sapera CAB Module API e 26 CORCAB_PRM_CONNECTION_SIGNAL Description Type Values The connection signal is used to determine the CAB devices that are physically connected to the same CAB system By setting this parameter to TRUE one activates a signal on the CAB system that can be monitored by all the other CAB devices connected to the CAB system by reading the parameter CORCAB PRM STATUS and verifying if the CORCAB PRM STATUS CONNECTION SIGNAL bit is active UINT32 TRUE Activate the connection signal FALSE Deactivate the connection signal CORCAB_PRM_DST_CHANNEL Description Obsolete Use instead the equivalent parameter CORCAB PRM CHANNEL CORCAB_PRM_DST_CHANNEL_FIRST Description Type Values Note This parameter is obsolete Use the parameter CORCAB PRM CHANNEL First destination or transmission channel when the parameter CORCAB PRM TRANSFER MODE 1s set to CORCAB VAL TRANSFER MODE ROUND ROBIN UINT32 Numerical value within
19. CORECO IMAGING Coreco Imaging e 7075 Place Robert Joncas Suite 142 e St Laurent Quebec H4M 2Z2 e Canada http www imaging com Sapera CAB Programmer s Manual Edition 5 00 Part number OC SAPM CABPO NOTICE 2003 Coreco Inc All rights reserved This document may not be reproduced nor transmitted in any form or by any means either electronic or mechanical without the express written permission of Coreco Inc Every effort is made to ensure the information in this manual is accurate and reliable Use of the products described herein is understood to be at the user s risk Coreco Inc assumes no liability whatsoever for the use of the products detailed in this document and reserves the right to make changes in specifications at any time and without notice Microsoft and MS DOS are registered trademarks Windows and Windows NT are trademarks of Microsoft Corporation All other trademarks or intellectual property mentioned herein belong to their respective owners Printed on November 27 2003 Document Number OC SAPM CABPO Printed in Canada Contents INTRODUCTION OVER VIEW OF THE MANUAL able ABOUT THE MANUAL USING TEE MANUA E da CAB SYSTEM C AB INTEBEAOE lilla CAB SYSTEM S FUNCTIONAL ELEMENTS ee ee ee ee ee ee ee ee ee ee ee ee KEY CONCEPTS AND TERMINOLOGY eccesso enis BUS ATOUT OF aeta kite ledere lara CLOCK OT II ALOT ENTER E DE ED ei CAB Interface Transfer Mode s o a ai CAB INTERFACE A
20. DE Round Robin Required CORCAB PRM BLOCK SIZE frame size required CORCAB PRM CHANNEL Start and end channels Channel numbers between start and end channel numbers are incremented at the end of each transfer CorCabSetPrm hCAB Intf0 VD1 CORCAB PRM TRANSFER MODE CORCAB VAL TRANSFER MODE ROUND ROBIN CorCabSetPrm hCAB Intf0 VDI CORCAB PRM BLOCK SIZE 640 480 Start channel 8 End channel 11 CorCabSetPrm hCAB Intf0 VD1 CORCAB PRM CHANNEL CORCAB VAL CHANNEL 8 CORCAB VAL CHANNEL 11 x kk End of Transmitter Setup RRR KKK RRR KKK KKK KR KK KK KKK xxkxkkxkkk k k Start of Receiver Setup FR KEK KKK KKK KKK KKK KKK KR KKK Critical Parameters CORCAB PRM TRANSFER MODE not needed CORCAB PRM BLOCK SIZE not needed CORCAB PRM CHANNEL One or more channels per Rx Port Channel number must correspond to one or more channels s programmed for one or more Tx Port Select the Rx port before initializing the Channel number CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM PORT INDEX 0 CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM CHANNEL CORCAB VAL CHANNEL 8 CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM PORT INDEX 1 CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM CHANNEL CORCAB VAL CHANNEL 9 CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM PORT INDEX 2 CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM CHANNEL CORCAB VAL CHANNEL 10 CorCabSetPrm hCAB Intf0
21. Interface 0 handle from the board server CorCabGetHandle hServer_VD1 0 amp hCAB Intf0 VD1 CorCabGetHandle hServer Mambal 0 amp hCAB Intf0 Mambal Start of Transmitter settings XXXXXXXX XXX Critical Parameters TRANSFER MODE Multicast Channel number 8 es M Block Size For Multicast block size is not needed Select the Tx Port on the CAB Interface to work with CorCabSetPrm hCAB Intf0 VD1 CORCAB PRM PORT INDEX 0 Set the transmission mode for Viper digital CAB Interface O The Transmitter CorCabSetPrm hCAB Intf0 VD1 CORCAB PRM TRANSFER MODE CORCAB VAL TRANSFER MODE MULTICAST Assign channel number to the TX Port CorCabSetPrm hCAB Intf0 VD1 CORCAB PRM CHANNEL CORCAB VAL CHANNEL 8 End of Transmitter settings XXXXXKXXX kkkkkkkkkkxkk Start of Receiver settings kkkkkkkkkkkkkkkkkkkkkkk Critical Parameters Transfer Mode Not needed Channel Number One of the channel numbers used for the Tx_port Block size Not needed es The CORCAB CAP PORT COUNT capability can be used to determine the number of port on the CAB Interface Notice since Mamba 100 CAB Interface will be used as the receiver setting up the transmission mode is not necessary Select the Rx Port on the CAB Interface to work with CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM PORT INDEX 0 Assign channel number to the RX Port CorCabSetPrm hCAB Intf0
22. IntfO To Buffer0 creates logical mapping to connect the Frame buffers on Mamba 1 to the Rx Port of CAB Interface 0 CorXferAppendEx hXfer Mambal CAB Intf0 To Buffer0 hCAB Intf0 Mambal 1 hBuffer Mamba1 0 0 amp xferDesc Establish physical links using the logical mapping done in the previous step CorXferConnect hXfer Mambal CAB IntfO To Buffer0 Start of Receiver Cascading Connection Setup for CABSys 0 x Start of Transmitter Connection Setup for CABSys 0 gt kkk k kkk kkk kk kkk kkk CorXferNew hServer VD1 hAcq hCAB Intf0 VD1 NULL amp hXfer VD1 Acq To CAB Intf0 CorXferConnect hXfer VD1 Acq To CAB Intf0 End of Transmitter Connection Setup for CABSyS 0 x x xxxkkckcke ke ke ke ke e e e ek xkdxk eek ex k Start of Image Acquisition X X XX XXX XX XX kkk Notice the order in which Image acquisition and image transfer starts Initialize the receivers to receive from CAB before initializing Transmitter to send data to the CAB CorXferStart hXfer Mamba2 CAB Intfl To Buffer0 1 CorXxfersStart hXrer Mambal CAB Intf0 To BufferO0 1 CorXferStart hXfer VD1 Acq To CAB Intf0 1 CorXferWait hXfer Mamba2 CAB Intf1 To Buffer0 2000 CorXferWait hXfer Mambal CAB Intf0 To Buffer0 2000 CorXferWait hXfer VD1 Acq To CAB Intf0 2000 CorXferDisconnect hXfer Mamba2 CAB Intf1 To Buffer0 CorXferDisconnect hXfer Mambal CAB Intf0 T
23. Mambal CORCAB PRM CHANNEL CORCAB VAL CHANNEL 8 End of Receiver settings FERRER KKK KKK KEK e ek KKK KK The following command creates a frame buffer in Mamba 1 system memory CorBufferNew hServer Mambal 640 480 CORBUFFER VAL FORMAT MONO8 CORBUFFER VAL TYPE CONTIGUOUS amp hBuffer Mamball 0 j void DoTestl void II kx ek xe x ek kk Start of Connection Setup x d xd KE KKK KK KK KKK Creates logical connections between the frame buffer the final destination of data and the Rx ports on the Receiver CorXferNewEx hServer Mambal hCAB Intf0 Mambal 0 hBuffer Mambal 0 0 amp xferDesc amp hXfer Mambal CAB IntfO To Buffer0 Sapera CAB Programmer s Manual Typical CAB Configurations e 37 Sets physical routing of the Receiver to the CAB and from the Receiver to the buffer CorXferConnect hXfer Mambal CAB IntfO To Buffer0 Final destination where receiver sends the data Creates logical connections between the acquisition front end the initial source of data and the Tx ports on the Transmitter CorXferNew hServer VD1 hAcq hCAB Intf0 VD1 NULL amp hXfer VD1 Acq To CAB Intf0 Sets physical routing of the Transmitter to the CAB and from the acquisition front end to the Transmitter CorXferConnect hXfer VD1 Acq To CAB Intf0 kx ex e ke ee e ek End of Connection Setup KK KKK KKK KK KKK ee ek xkdxkdxcekek kde kk Start of
24. Mambal CORCAB PRM PORT INDEX 3 CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM CHANNEL CORCAB VAL CHANNEL 11 II kkk k End of Receiver Setup k KKK KKK KKK kkk RR kkk kkk FEKKKKKKKKKKKK X X Start of Frame buffer allocation x xk kk kk kk kk kk The following section allocates the frame buffers and stores handles of the frame buffer in an array of handles Sapera CAB Programmer s Manual Typical CAB Configurations e 41 CorBufferNew hServer Mambal 640 CORBUFFER_VAL TYPE CONTIGUOUS CorBufferNew hServer Mambal 640 CORBUFFER_VAL TYPE CONTIGUOUS CorBufferNew hServer Mambal 640 CORBUFFER_VAL TYPE CONTIGUOUS CorBufferNew hServer Mambal 640 CORBUFFER_VAL TYPE CONTIGUOUS 480 480 480 480 CORBUFFER VAL FORMAT MONO8 amp hBuffer Mambal 0 CORBUFFER VAL FORMAT MONOS amp hBuffer Mambal 1 CORBUFFER VAL FORMAT MONO8 amp hBuffer Mambal 2 CORBUFFER VAL FORMAT MONO8 amp hBuffer Mamball3 kkkkkkkk k End of Frame buffer allocation x x xxkkkkk kk kkk kx kk j void DoTest2 void FEKKKKKKKKKKKKKKKKKKXkk Start of Receiver Connection Setup KKKKKKKKKKKKKKKKKKKKKKKkKk Creates logical connections between the frame buffer the final destination of data and the Rx ports on the Receiver CorXferNewEx hServer Mambal hCAB Intf0 Mambal 0 amp hXfer Mambal CAB IntfO To Buffer0 CorXferAppendEx hXfer Mambal CAB IntfO To Buffero hBuf
25. ND PORT IMPLEMENTATION eere CONFIGURING A C AB SYSTEM etes iese bes ia eee rale Pre Power up Static Configuration dasse as eit tuit iode kde Post Power up Static Configuration eee Post Power up Dynamic configuration ees POTTING IFALL TOGETHER ita SAPERA CAB MODULE API CAB MODEREER EO Ee AE dace ON OE ee GE Ge CORRE PARAMETER SE Ee EG OE GE Ge Ge D das LM E da EU N ee EUNETIONS SE cae Se DE ali Iu det cer A TYPICAL CAB CONFIGURATIONS VIPER DIGITAL MAMBA 100 IN MULTICAST MODE ee ees ee ee ee ee VIPER DIGITAL AND MAMBA IN ROUND ROBIN MODE see see see ee VIPER DIGITAL WITH 2 MAMBAS IN MULTICAST MODE ees sees see ee VIPER QUAD MAMBA IN POINT TO POINT MODE ee ee ee ee ee ee ee ee ee CORECO IMAGING CONTACT INFORMATION SALES INFORMATION assiale ee aloe ai he is ed se ie gode oge adsl Corporate Tleddg arteriae E ed oi Ed ee ie Sapera CAB Programmer s Manual 21 EE E 21 RE Mu IO 21 o cti 23 es ad 30 35 EE EE AE 35 aa eee 39 ER 43 ai aa 50 Contents e i US Sales OI CO EE De GR te phat Diss i Oa ia tel ld TECHNICAL SUPPORT 2 Lula liacle APPENDIX DUMMY BUFFER TYPE DUMMY BUFEERS plicato RECJU EMCS SS DR EE DA asset Se ee rcr dbi Pot Cadets HOW How it looks in user applications ee ee ee GLOSSARY OF TERMS INDEX Sapera CAB Programmer s Manual 53 Li 53 EE EE iii 23
26. OBIN RX 0x00000010 The port supports round robin transfers as a receive port CORCAB VAL PORT ROUND ROBIN TX 0x00000020 The port supports round robin transfers as a transmit port CORCAB VAL PORT ROUND ROBIN THROUGH 0x00000040 The port supports round robin transfers as a through port CORCAB VAL PORT ROUND ROBIN 0x000000f0 The port supports round robin transfers as a transmit receive and or through port CORCAB VAL PORT POINT TO POINT RX 0x00000100 The port supports point to point transfers as a receive port CORCAB VAL PORT POINT TO POINT TX 0x00000200 The port supports point to point transfers as a transmit port CORCAB VAL PORT POINT TO POINT THROUGH 0x00000400 The port supports point to point transfers as a through port CORCAB VAL PORT POINT TO POINT 0x00000f00 The port supports point to point transfers as a transmit receive and or through port CORCAB VAL PORT RX 0x00000111 The port can be a receive port from the CAB system using one of the available transfer modes CORCAB VAL PORT TX 0x00000222 The port can be a transmit port on the CAB system using one of the available transfer modes Sapera CAB Programmer s Manual Sapera CAB Module API e 22 CORCAB VAL PORT THROUGH 0x00000444 The port can receive and transmit from one CAB system to another using one of the available transfer modes Note The returned value is the ORed combination of the valid values CORCAB_CAP_PORT_COUNT Description Indica
27. abSys 0 x xd KKK KKK KKK KKK KKK KKAKKKKKAKKKKAKKKAKKKAKKKKKkk Start of Receiver Setup On CabSys 0 KKAKKKKKAKKKKAKKKKAKKKKAKKKKKKKKKKk Critical Parameters CORCAB PRM TRANSFER MODE not needed CORCAB PRM BLOCK SIZE not needed CORCAB PRM CHANNEL One or more channels per Rx Port Channel number must correspond to one or more channels s programmed for one or more Tx Port Select the Rx port before initializing the Channel number CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM PORT INDEX 0 CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM CHANNEL CORCAB VAL CHANNEL 8 CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM PORT INDEX 1 CorCabSetPrm hCAB Intf0 Mambal CORCAB PRM CHANNEL CORCAB VAL CHANNEL 9 k k End of Receiver Setup On CabSys 0 RK KKK KKK KKK KKK KK KK KK KKK RRRKKKKKKKKKKKKKEKER Start of Transmitter Setup on CABSys 1 KKAKKAKKAKAKAKAKAKAKAKAKAKKAKAKKAKKAKKAKKAKKAKKAKKAKKAKKKKk Critical Parameters CORCAB_PRM_TRANSFER_MODE Multicast Required CORCAB PRM BLOCK SIZE not needed CORCAB PRM CHANNEL As needed Required Sapera CAB Programmer s Manual Typical CAB Configurations e 46 CorCabSetPrm hCAB Intf1 Mambal CORCAB PRM PORT INDEX 0 CorCabSetPrm hCAB Intf1 Mambal CORCAB PRM TRANSFER MODE CORCAB VAL TRANSFER MODE MULTICAST CorCabSetPrm hCAB Intf1 Mambal CORCAB PRM CHANNEL CORCAB VAL CHANNEL 10 k End of Transmitter Setup on CABSys 1 FRR
28. am Key Concepts and Terminology The following are concepts and terminology of the CAB Bus Arbitrator The Bus Arbitrator is a functional unit of the CAB system that controls and manages access to the bus The Bus Arbitrator also decides when and how much data is transferred through the bus Ports A port is defined as a point where the image data is transferred to and taken off from the data bus There are essentially two types of ports a transmit port and a receive port Transmit Port TX Port A transmit port is a point in the CAB system where data is transferred onto the bus A hardware device containing one or more transmit ports 1s called a transmitter A transmitter can have up to 8 physical transmit ports at the same time However the CAB hardware specifications dictate that there can be only one transmitter in the CAB system at any given time Furthermore only one transmit port at a time can send data Sapera CAB Programmer s Manual CAB System e 4 Receive Port RX Port The receive port is defined as a point in the CAB system where data 1s taken off the bus A hardware device containing the receive port is called a receiver A receiver can have up to 8 receive ports Multiple receive ports on multiple receivers can receive data simultaneously It is important to note that in order to direct data to a receive port correctly users must assign a channel number s to a receive port The bus arbitrator selects the appropria
29. andomly and is based on the availability of the data at the source Sapera CAB Programmer s Manual CAB System e 6 CAB Interface and Port Implementation The CAB Interface can be used in various modes however the actual port capabilities are hardware implementation dependent The table below summaries the port capabilities of various CAB Interfaces on different Coreco Imaging embedded vision processors Board Mamba Viper Viper Viper Viper Cobra Python Type CamLink Digital Quad RGB CAB 0 l 0 l 0 l 0 l 0 l 0 l 0 l Interface Number of 4 4 l N A l NA 4 NA l N A l NA 4 N A ports Capability Port Index ices Transmit Multicast 0 0 0 x 0 x 0 x 0 x 0 x x x Round robin 0 0 0 x 0 x 0 x 0 x 0 x x x Point2Point 0 1 0 1 x x x x 0 1 x X X 2 3 223 23 Receive Multicast 0 0 X X X X X X X X X X Round robin 0 1 0 X X X X X X X X 0 1 X 2 3 29 3 2 3 Point2Point 0 1 0 1 x x x x X X X X 0 1 X 2 9 253 2 3 Pass Through Multicast 0 0 x X X x X X X X X x X Round robin 0 0 X X X X X x X x x x X Point2Point 0 1 0 1 x x x x x X X X X X X Do 12 3 Sapera CAB Programmer s Manual CAB System e 7 Clock Arbitration Capabilities CAB Clock Drv CA Rev X Rev X Rev x Drv x Drv Drv X Rcv B Rcv Lin k CAB En Aut X X X X X X X X X En X Arbitrator Dis O Dis Table Keys Drv Able to generate CAB Clock Rev Able to receive CAB Clock from other device CAB Link CAB Link hardware p
30. apabilities Ub femer ooo CORCAB_CAP_BLOCK_SIZE_MAX Description Specifies the maximum data block size in bytes that a CAB transmitter can send to the CAB system Type UINT32 CORCAB_CAP_BLOCK_SIZE_MIN Description Specifies the minimum data block size in bytes that a CAB transmitter can send to the CAB system Type UINT32 CORCAB_CAP_CHANNEL_COUNT Description Indicates the total number of channels available to the CAB system Type UINT32 Sapera CAB Programmer s Manual Sapera CAB Module API e 21 CORCAB_CAP_CLK_MAX Description Type Specifies the maximum CAB clock frequency in MHz that the CAB device can generate UINT32 CORCAB_CAP_CLK_MIN Description Type Specifies the minimum CAB clock frequency in MHz that the CAB device can generate UINT32 CORCAB_CAP_PORT Description Type Values Indicates the currently selected port s capability to support the different transfer modes To select a port use the parameter CORCAB PRM PORT INDEX UINT32 CORCAB VAL PORT MULTICAST RX 0x00000001 The port supports multicast transfers as a receive port CORCAB VAL PORT MULTICAST TX 0x00000002 The port supports multicast transfers as a transmit port CORCAB VAL PORT MULTICAST THROUGH 0x00000004 The port supports multicast transfers as a through port CORCAB VAL PORT MULTICAST 0x0000000f The port supports multicast transfers as a transmit receive and or through port CORCAB VAL PORT ROUND R
31. com Coreco Imaging Contact Information e 51 Technical Support Technical support requests for imaging product installations and help with imaging applications can be made at United States 978 670 2000 International 514 333 1301 Technical support requests for all camera related questions can be made at US amp International 514 333 1301 Or all requests can be submitted via our web site http www imaging com support For product literature and driver updates http www imaging com download Sapera CAB Programmer s Manual Coreco Imaging Contact Information e 52 Appendix Dummy Buffer Type Dummy Buffers No memory is allocated for a dummy buffer in order that it does not contain any data elements However all of its size and format parameters are still valid This means that any Sapera functionality from other modules that need access to buffer data elements will not work The only exception is the Transfer module which may use dummy buffers as placeholders when no data is to be physically transferred This section illustrates the concept of dummy buffers that are used with Mambas to simplify CAB configuration The dummy buffers make the CAB more flexible One benefit being overlapping support The objective is to configure the CAB in multicast mode and with each Mamba select only the relevant data from the CAB and ignore the rest Requirements e Requires Sapera 4 10 or later e Requires Mamba driver 4 10 or later
32. configuration Once the connection topology is selected and the pre and post power up static configurations are done the CAB Interfaces must be selected and configured as the transmitter and receivers This configuration step is made via software control and does not require rebooting or resetting the hardware This dynamic configuration is performed by the user using Sapera commands The section labeled Putting It All Together shows skeleton code using Sapera commands to perform dynamic configurations The following flow diagrams outline the configuration steps required to configure the CAB transmitter and receivers It is important to mention that the parameters required to configure the CAB system bus arbitrator automatically are extracted from the transmitter settings Users need not configure the CAB system bus arbitrator explicitly Sapera CAB Programmer s Manual CAB System e 14 Configuring the CAB System Transmitter sen gt l Set TXPHnd CAB Interface x y Set Transfer Mode YES Is Transfer Mode Multicast NO YES Is Transfer Mode Round Robin NO Configure Tx Ports for Point to Point EN Sapera CAB Programmer s Manual Configure Tx Ports for Multicast Configure Tx Ports for Round Robin CAB System e 15 Configuring CAB System Transmitter for Multicast Transfer Mode Tx Port Setup for Multicast Transfer mode i Se
33. ction separated by bullets For example going to the File menu and choosing Save would be written as File Save Sapera CAB Programmer s Manual Introduction e 1 Sapera CAB Programmer s Manual Introduction e 2 CAB System CAB Interface The Coreco Auxiliary Bus CAB is a bi directional synchronous bus capable of transmitting data at a peak rate of 200MB sec CAB is required to meet the increasing bandwidth requirement of embedded vision processing applications and to free up the PCI bus for system management and control For these reasons all the new generation Coreco Imaging embedded vision processor boards are equipped with the CAB interface A CAB system consists of two or more hardware devices containing CAB interfaces CAB System s Functional Elements The CAB system consists of the following functional elements Bus Arbitrator Ports Channels Clock Generator CAB Interface Transfer Modes Sapera CAB Programmer s Manual CAB System e 3 Bus Arbitrator GENERATOR Control 32 bits Data Path y y y Transmit Port Recelve Port Receive Port 2 1 Control Channel Control Control Receive ID s Channel Channel Registers Registers ID s Registers D s Data Source s Destination s Destination s CAB Functional Block Diagr
34. ed to Cab interface 0 of Mamba_1 Cab interface 1 of Mamba 1 is connected to Cab interface 1 of Mamba_2 CORSERVER hServer VD1 CORSERVER hServer Mambal CORSERVER hServer Mamba2 CORCAB hCAB Intf0 VD1 CORCAB hCAB Intf0 Mambal CORCAB hCAB Intfl Mambal CORCAB hCAB Intfl Mamba2 CORXFER hXfer VD1 Acq To CAB Intf0 CORXFER hXfer Mambal CAB IntfO To Buffer0 CORXFER hXfer Mamba2 CAB Intfl To Buffero CORBUFFER hBuffer Mambal 4 CORBUFFER hBuffer Mamba2 CORXFER DESC xferDesc int main Used when transferring from a Mamba Cab interface to a Mamba buffer only xferDesc frame CORXFER VAL FRAME INTERLACED xferDesc fieldOrder CORXFER VAL FIELD ORDER ODD EVEN xferDesc widthByte 640 xferDesc height 480 xferDesc incByte 640 The next example shows how to setup multiple CAB systems in multicast mode dh Test 3 assumes the following physical setup one Viper Digital two Mambas Cab interface of Viper is connected to Cab interface 0 of Mamba 1 Cab interface 1 of Mamba 1 is connected to Cab interface 1 of Mamba 2 Transfer is multicast mode on Cab interface of the Viper passthrough from port 0 of Cab interface 0 to port 0 of Cab interface 1 on Mamba_1 one buffer on port 1 of Cab interface 0 of Mamba 1 multicast mode from port 0 of Cab interface 1 of Mamba 1 one buffer on port 0 of Cab interface 1 on Mamba 2 SetupTest3 DoTest3 CleanupTest3
35. erDesc height 480 xferDesc incByte 640 The next example shows how to setup Round Robin mode of transmission in a single CAB system configuration Test 2 assumes the following physical setup one Viper Digital one Mamba Cab interface of Viper is connected to Cab interface 0 of Mamba Transfer is round robin mode on Cab interface of Viper one buffer on port of Cab interface 0 of one butter on port of Cab interface 0 of one buffer on port of Cab interface 0 of one buffer on port of Cab interface 0 of SetupTest2 DoTest2 CleanupTest2 return 0 void SetupTest2 void The following commands assume that the users has reviewed the hardware architecture of the boards and is using the CAB Interface 0 of the boards Obtain handles to Board servers using name This allows code to be executed Sapera CAB Programmer s Manual Typical CAB Configurations e 40 transparently either on the host or on the Mamba 1 Retrieve server handles by name CorManGetServerByName Viper Digital 1 amp hServer VD1 CorManGetServerByName Mamba 1 amp hServer Mambal Retrieve CAB Interface 0 handle on each of the board server CorCabGetHandle hServer VD1 0 amp hCAB Intf0 VD1 CorCabGetHandle hServer Mambal 0 amp hCAB Intf0 Mambal KKKKKKKKKKKKKKKKKKKKKk Start of Transmitter Setup KKKKKKKKKKKKKKKKKKKKKKKKKKKk Critical Parameters CORCAB PRM TRANSFER MO
36. escription Releases handle to a CAB device Input hCab CAB resource handle Output None Return Value CORSTATUS INVALID HANDLE See Also CorCabGetHandle page 31 CorCabReset Reset a CAB device Prototype CORSTATUS CorCabReset CORCAB ACab Description Resets a CAB device Restores the default values of CAB parameters of the specified CAB device Input hCab CAB resource handle Output None Return Value CORSTATUS INVALID HANDLE CorCabResetModule Reset the resources associated with the server s CAB device s Prototype CORSTATUS CorCabResetModule CORSERVER Server Description Resets the resources associated with the server s CAB device s It will release all of the resources handle memory currently allocated When using this function make certain that no other application is currently using any CAB device resource This function should be use with caution Input hServer Server handle Output None Return Value CORSTATUS INVALID HANDLE Sapera CAB Programmer s Manual Sapera CAB Module API e 32 CorCabSetPrm Set a simple CAB parameter of a CAB device Prototype Description Input Output Return Value CORSTATUS CorCabSetPrm CORCAB ACab UINT32 prm UINT32 value Sets a simple CAB parameter of a CAB device hCab CAB resource handle CAB parameter to set None CORSTATUS ARG INVALID VALUE CORSTATUS ARG OUT OF RANGE CORSTATUS INVALID HANDLE CORSTATUS PRM INVALID CORSTATUS PRM READ ONLY See Also CorCabGetPrm page 31
37. fer Mambal 1 0 amp xferDesc CorXferAppendEx hXfer Mambal CAB IntfO To Buffero hBuffer Mamba1 2 0 amp xferDesc CorXferAppendEx hXfer Mambal CAB Intf0 To Buffero hBuffer Mamba1 3 0 amp xferDesc hBuffer Mambal 0 amp xferDesc hCAB Intf0 Mambal hCAB Intf0 Mambal hCAB Intf0 Mambal Sets physical routing of the Receiver to the CAB and from the Receiver to the buffer CorXferConnect hXfer Mambal CAB Intf0 To Buffer0 KR KR AA ke e ke e ke k k k k Start of Transmitter Connection Setup kkkkkkkkkkkkkkkkkkkkkkxkk Creates logical connections between the acquisition front end the initial source of data and the Tx ports on the Transmitter CorXferNew hServer VD1 hAcq hCAB Intf0 VD1 NULL amp hXfer VD1 Acq To CAB Intf0 Sets physical routing of the Transmitter to the CAB and from the acquisition front end to the Transmitter CorXferConnect hXfer VD1 Acq To CAB Intf0 x xx kxkkkkk End of Transmitter Connection Setup x x KKK ek ke kkk k k ff kx ke k e kk Start of Image Acquisition FERRE KKK KKH KKK e x Notice the order in which Image acquisition and image transfer starts Initialize the receivers to receive from CAB before initializing Transmitter to send data to the CAB CorXferStart hXfer Mambal CAB IntfO To Buffero CorXferStart hXfer VD1 Acq To CAB Intf0 4 CorXferWait hXfer Mambal CAB Intf0 To Buffero CorXferWait hXfer VD1 Acq
38. iper Digital 2 Mamba m Rx Port 0 E Che FBO a O _ Rx_Port 1 Camera ch9 FB1 see B 3 Ripon end Ch11 Chie FB2 E UN lt lt Rx_Port 3 i ChI gt FB3 CAB System View Viper Digital Bus Arbitrator CLOCK GENERATOR Control Data 32 bits Data Path Mamba Viper Digital Transmitter Receiver Port 0 8 Port 0 8 Port 1 NA Port 1 9 Port 2 NA Port 2 10 Port 3 NA Port 3 11 i Image Data Image Data Legends Acquisition Frame Device Buffer NA Not Applicable Data Source s Data Destination s Sapera CAB Programmer s Manual Typical CAB Configurations e 39 Assumes the following physical setup one Viper Digital two Mambas Cab interface of Viper is connected to Cab interface 0 of Mamba_1 Cab interface 1 of Mamba 1 is connected to Cab interface 1 of Mamba_2 CORSERVER hServer VD1 CORSERVER hServer Mambal CORSERVER hServer Mamba2 CORCAB hCAB Intf0 VD1 CORCAB hCAB Intf0 Mambal CORCAB hCAB Intfl Mambal CORCAB hCAB Intfl Mamba2 CORXFER hXfer VD1 Acq To CAB Intf0 CORXFER hXfer Mambal CAB IntfO To Buffer0 CORXFER hXfer Mamba2 CAB Intfl To Buffero CORBUFFER hBuffer Mambal 4 CORBUFFER hBuffer Mamba2 CORXFER DESC xferDesc int main Used when transferring from a Mamba Cab interface to a Mamba buffer only xferDesc frame CORXFER VAL FRAME INTERLACED xferDesc fieldOrder CORXFER VAL FIELD ORDER ODD EVEN xferDesc widthByte 640 xf
39. k generator See also CORCAB PRM CAB CLK CORCAB_PRM_CAB ID Description This parameter is obsolete Use the parameter CORCAB PRM CHANNEL CORCAB_PRM_CAB_ARBITRATOR Description This parameter indicates if the CAB device is the CAB arbitrator The CAB arbitrator is the one that controls the CAB system Only one CAB device can be the CAB arbitrator Type UINT32 Values TRUE The CAB device is the arbitrator on the CAB system FALSE The CAB device is not the arbitrator on the CAB system Note On some boards this parameter cannot be programmed See the specific board s user s manual for more information about setting the board as the CAB arbitrator Sapera CAB Programmer s Manual Sapera CAB Module API e 25 CORCAB_PRM_CHANNEL Description Transmit or receiving channel s associated with the currently selected port To select a port use the parameter CORCAB PRM PORT INDEX Refer to the section Channels on page 5 for a more detailed description concerning the concept of channels Type UINT32 Values CORCAB VAL CHANNEL 0 0x00000001 CAB Channel 0 CORCAB VAL CHANNEL 1 0x00000002 CAB Channel 1 CORCAB VAL CHANNEL 2 0x00000004 CAB Channel 2 CORCAB VAL CHANNEL 3 0x00000008 CAB Channel 3 CORCAB VAL CHANNEL 4 0x00000010 CAB Channel 4 CORCAB VAL CHANNEL 5 0x00000020 CAB Channel 5 CORCAB VAL CHANNEL 6 0x00000040 CAB Channel 6 CORCAB VAL CHANNEL 7 0x00000080 CAB Channel 7 CORCAB VAL CHANNEL 8 0x0
40. lect Tx Port Index to setup Select Channel number s to be used by the selected Tx Port Are all TX Ports setup YES 4 Return Sapera CAB Programmer s Manual CAB System e 16 Configuring CAB System Transmitter for Round Robin Transfer Mode Tx Port Setup for Round Robin Transfer mode i Set Block Size equal to Frame size Select Tx Port Index to setup Select Starting Channel Number Select the Ending Channel Number Are all TX Ports setup YES d Return b Sapera CAB Programmer s Manual CAB System e 17 Configuring CAB System Transmitter for Point To Point Transfer Mode Tx Port Setup for Point2Point Transfer mode i Select Tx Port Index to setup Assign Channel number to Tx Port NO Are all TX Ports setup YES C Return B Sapera CAB Programmer s Manual CAB System e 18 Configuring CAB System Receiver s A CAB System can have one or more receiver Regardless of the transmission mode each receive port in the system is configured for one or more channels The transmission data block size and end of block transfers are controlled by the CAB System s bus arbitrator The Sapera commands and parameters required to configure the receiver s are shown in skeleton code in the next section The following flow diagram outlines steps req
41. ned in Step 1 above Step 5 Install cables CAB LINK module to the CAB interfaces Once the boards are installed in the system connect the cables to the appropriate connectors Refer to the hardware specific user s manual Step 6 Power up the system Sapera CAB Programmer s Manual CAB System e 10 Post Power up Static Configuration The next stage in configuring a CAB system consists of selecting and enabling the bus arbitrator All CAB interfaces are capable of arbitrating the bus Refer to the section CAB Interface and Port Implementation for Coreco Imaging board specific details concerning the choice of a CAB system arbitrator Note that there can be only one bus arbitrator per CAB system Therefore it is crucial to ensure that all CAB interfaces except one are disabled The bus arbitrator feature of the CAB interface is controlled via the register CAB Interface N Arbitrator in the board firmware N is the CAB Interface ID typically 0 or 1 consult the board specific hardware reference manuals to determine the number and ID of the CAB Interfaces Users can change this feature via a board specific Viewer utility The Viewer utilities are supplied with the board specific device drivers The changes to CAB Interface Arbitrator take place during the boot up sequence therefore it is important to reset the board for changes to take place IMPORTANT embedded vision processors like Mamba 100 run on the Windo
42. ng CAB interfaces will be connected In order to facilitate this process several typical configuration diagrams are provided in the Appendix at the end of this document Step 2 Record the serial number of each board in the CAB system When configuring systems consisting two or more similar CAB devices it is desirable to relate physical devices with the device names detected by the software By recording the serial number of the device in a system users can simplify the identification process All Coreco Imaging Sapera compliant devices provide device configuration utilities to detect and display the device serial number Step 3 Set jumper for the Clock On some of the Coreco Imaging hardware devices containing a CAB interface the clock selection is done manually using a jumper setting Since only one device can supply the clock for the entire CAB system the clock jumper must be disabled for all other devices in the CAB system It is however important to note that devices containing two CAB interfaces contain two clock sources Since two CAB interfaces on the same device participate in two separate CAB systems the clock setting for each CAB system is made independently Refer to the section CAB Interface and Port Implementation for specific details concerning the choice of CAB system clock sources relative to the Coreco Imaging hardware used Step 4 Install the boards into system Install the boards in the system as per the topology determi
43. o Buffer0 CorXferDisconnect hXfer VD1 Acq To CAB Intf0 II x x xxx x kx kk k End of Image Acquisition XXX XXX XX de ek CorXferFree hXfer Mamba2 CAB Intf1 To Buffer0 CorXferFree hXfer Mambal CAB IntfO To Buffer0 CorXferFree hXfer VD1 Acq To CAB Intf0 j void CleanupTest3 void CorAcqRelease hAcq CorCabRelease hCAB Intf0 VD1 Sapera CAB Programmer s Manual Typical CAB Configurations e 48 CorManReleaseServer hServer VD1 CorBufferFree hBuffer Mambal 0 CorCabRelease hCAB Intf0 Mambal CorCabRelease hCAB Intf1 Mambal CorManReleaseServer hServer Mambal CorBufferFree hBuffer Mamba2 CorCabRelease hCAB Intf1 Mamba2 CorManReleaseServer hServer Mamba2 Sapera CAB Programmer s Manual Typical CAB Configurations e 49 Viper Quad Mamba in Point to Point Mode Using Viper Quad and Mamba in Point to Camera Point Mode Hardware Connection Diagram Camera Camera Camera Viper Quad CLOCK GENERATOR g Mamba Ea FBO eo O zia gt FBO E gt FBO lt O gt FBO CAB System View Viper Quad Bus Arbitrator Control Data TN RR N PRA AA ER IO AMEN AN PI N N TEI APP RIE SII ANI NI NEER OE SEN RE Legend NA Not Applicable x Don t care
44. odule 32 CorCabSetPrm 32 CorCabSetPrmEx 34 CorCabSetPrms 33 Coreco Auxiliary Bus 21 D data bus 4 device driver 13 Dummy Buffers 53 dynamic configuration 9 14 E embedded vision processing 3 J jumper 10 Mamba 100 5 11 Multicast 5 6 16 Multicast Mode 6 P PCI bus 3 Point to Point 5 6 18 Point to Point Mode 6 port capabilities 7 20 Ports 4 7 processing nodes 5 R receiver 5 19 Round Robin 17 Index e 57 Round Robin Mode 6 RX port 5 S sapera 9 10 13 14 19 20 serial number 10 skeleton code 14 19 20 Static Configuration 9 11 T technical support 52 transmitter 4 5 14 16 18 TX port 5 W Web 13 Web site 1 Sapera CAB Programmer s Manual Index e 58
45. rations Viper Digital Mamba 100 in Multicast Mode Using Viper Digital and Mamba in Multicast mode Single node architecture Hardware Connection Diagram Viper Digital Mamba CAB Interface 1 Camera _ FBO CAB Interface 0 CAB Interface 0 CAB System View Viper Digital Bus Arbitrator CLOCK GENERATOR Control Data Add LAMA II AE EIEN EE DI a MM eri ON da inte INO MOE M NDS EES AE BES I 32 bits Data Path Mamba Viper Digital Transmitter Receiver Port 0 8 Port 0 8 Port 1 NA Port 1 X Port 2 NA Port 2 x Port 3 NA Port 3 x Image Legends Image Data 9 Data NA Not Applicable x Don care Acquisition Frame Device Buffer Data Source s Data Destination s Sapera CAB Programmer s Manual Typical CAB Configurations e 35 Assumes the following physical setup one Viper Digital two Mamba 100s Cab interface of Viper is connected to Cab interface 0 of Mamba_1 Cab interface 1 of Mamba 1 is connected to Cab interface 1 of Mamba_2 CORSERVER hServer VD1 CORSERVER hServer Mambal CORSERVER hServer Mamba2 CORCAB hCAB Intf0 VD1 CORCAB hCAB Intf0 Mambal CORCAB hCAB Intfl Mambal CORCAB hCAB Intfl Mamba2 CORXFER hXfer VD1 Acq To CAB
46. rovides Clock for Mamba 100 CAB Interface 1 En Dis CAB Arbitrator can be Enabled or Disabled Auto CAB Link hardware slot position 1 defines Mamba 100 CAB Interface 1 arbitrator x Not supported N A Not applicable Port Indices range from Index 0 through Index 3 Sapera CAB Programmer s Manual CAB System e 8 Configuring a CAB System The process of configuring a CAB System can be divided into the following phases 1 Pre power up static configuration Configuration steps required before installing into the host computer 2 Post power up static configuration Configuration of setup parameters in non volatile memory 3 Post power up dynamic configuration Configuration sequences required in a Sapera application Pre Power up Static Configuration The flow chart and descriptions below suggest a methodology for planning your CAB system By following these steps closely CAB system rearrangements will be avoided Determine and Sketch CAB connection topology Record the S N of each board in the CAB system Set Jumper for the Clock Install Boards in the PCI slots Install cables CAB LINK Module to CAB interfaces Power up the system Sapera CAB Programmer s Manual CAB System e 9 Step 1 Determine and Sketch CAB connection topology As part of the system design users should determine and sketch how various hardware devices containi
47. te receive port s based on the channel numbers The concept of channels is discussed in more detail in a later section Through Port In a typical CAB system the receivers also act as processing nodes Having more receivers means having more processing power Some hardware devices like Mamba 100 contain multiple CAB interfaces The different CAB interfaces allow a hardware device to be part of different CAB systems This way one CAB interface can act like a receiver in one CAB system and the second CAB interface can be configured as a transmitter in another CAB system In other words two CAB systems can be cascaded to increase the total number of receivers in a given system In order to cascade two CAB systems a receive port is configured in such a way that it sends data to the transmit port of second CAB system located on the hardware device This type of port is called a through port Only one receive port on the Receiver can be configured as a through port Channels Channels are required to direct the data flow from a TX port to an RX port There are 16 channels in every CAB system and are identified as channel 0 through channel 15 The channel numbers are assigned to each transmit and receive port during the parameter initialization Once a channel number is assigned to a TX port that same number must be assigned to at least one RX port In addition the following points must be considered e For Multicast and Point to Point transmission
48. tes the total number of ports available on the CAB device Type UINT32 Parameters ID Parameter CORCAB PRM TRANSFER MODE CORCAB PRM DST CHANNEL CORCAB PRM DST CHANNEL FIRST CORCAB PRM DST CHANNEL LAST CORCAB PRM BLOCK SIZE CORCAB PRM LABEL CORCAB PRM CAB ID CORCAB PRM CAB ARBITRATOR CORCAB PRM CAB CLK CORCAB PRM SRC CHANNEL FIRST CORCAB PRM SRC CHANNEL LAST CORCAB PRM CAB CLK GENERATOR CORCAB PRM STATUS CORCAB PRM CHANNEL CORCAB PRM CONNECTION SIGNAL CORCAB PRM PORT INDEX Obsolete parameters Sapera CAB Programmer s Manual Sapera CAB Module API e 23 CORCAB_PRM_BLOCK_SIZE Description Type Values Note The size of the blocks of data in bytes transmitted to the CAB system by a CAB transmitter This parameter must be set by the CAB transmitter It has no meaning for a CAB receiver The size of the block will depend on the transfer mode selected CORCAB VAL TRANSFER MODE MULTICAST The parameter is not used CORCAB VAL TRANSFER MODE ROUND ROBIN the parameter represents the number of bytes sent to a transmission channel before the transmission channel is switched to the next one If one wants to process one image per CAB device then one would set the block size to the number of bytes in a frame CORCAB VAL TRANSFER MODE POINT TO POINT The parameter represents the number of bytes sent to a transmission channel before the transmission channel is switched to another one On a transmit port hooked
49. the host computer will need to be re booted Step 2 Start Hardware Viewer Utility For any Coreco Imaging board that has a selectable CAB arbitration mode that board s viewer utility provides the mechanism to enable or disable arbitration control From the board s start menu driver program group run the boards viewer program Refer to the section CAB Interface and Port Implementation for board specific information Step 3 and 4 Viewer Program Window The board viewer program will present a primary tab for each board of that type installed in the host system Select the primary tab for the board of interest and then select the Main Info tab Step 5 Using the edit Window The Additional Information scroll window allows editing certain configuration parameters Double click on the parameter CAB n Arbitrator 0 where n is board dependent You can now edit the parameter with a value of 0 or 1 where 0 disables that board as CAB arbitrator or 1 enables that board as CAB arbitrator Step 6 Reset the Board To initialize the board with the changed CAB arbitrator setting click on the board viewer s RESET button Step 7 Repeat for Each CAB System Board as Required Any other board using the same CAB system and having a selectable arbitrator control must have its CAB arbitrator control enabled or disable so as to have only one CAB system arbitrator active Sapera CAB Programmer s Manual CAB System e 13 Post Power up Dynamic
50. the range 0 15 representing the first destination channel ID CORCAB PRM DST CHANNEL FIRST parameter must be lower than or equal to the CORCAB PRM DST CHANNEL LAST parameter CORCAB_PRM_DST_CHANNEL LAST Description Type Values Note This parameter is obsolete Use the parameter CORCAB PRM CHANNEL Last destination or transmission channel when the parameter CORCAB PRM TRANSFER MODE is set to CORCAB VAL TRANSFER MODE ROUND ROBIN UINT32 Numerical value within the range 0 15 representing the last destination channel ID CORCAB PRM DST CHANNEL LAST parameter must be greater than or equal to the CORCAB PRM DST CHANNEL FIRST parameter CORCAB_PRM_FRAME_LENGTH Description Obsolete Use instead the equivalent parameter CORCAB PRM BLOCK SIZE Sapera CAB Programmer s Manual Sapera CAB Module API e 27 CORCAB_PRM_LABEL Description Type Values The CAB device s string ID Zero terminated array of characters with a fixed size of 128 bytes CORCAB PRM LABEL is a read only parameter CORCAB_PRM_PORT_INDEX Description Type Values Specifies the port number that is active By selecting a new active port the following parameters will be updated to reflect the current state of the port CORCAB PRM CHANNEL and CORCAB CAP PORT UINT32 Active port number 0 CORCAB CAP PORT COUNT 1 CORCAB_PRM_SRC_CHANNEL_FIRST Description Type Values Note This parameter is obsolete Use the parameter CORCAB PRM CHANNEL
51. to an acquisition device this parameter can be read only In this case the value is valid for reading once the CAB device gets connected with the function CorXferConnect UINT32 Numerical value within the range CORCAB CAP BLOCK SIZE MIN CORCAB CAP BLOCK SIZE MAX representing the size of each block in bytes Must be a multiple of 4 bytes This parameter applies to all the ports of a CAB transmitter CORCAB PRM CAB CLK Description Type Values Note The CAB clock 1s the main clock on the bus that controls the CAB arbitrator and FIFOs UINT32 CAB clock frequency in MHz in the range CORCAB CAP CLK MIN CORCAB CAP CLK MAX When more than 2 CAB receivers are connected to a CAB system the CAB clock might need to be slowed down to take into account the extra load on the bus see also CORCAB PRM CAB CLK GENERATOR Sapera CAB Programmer s Manual Sapera CAB Module API e 24 CORCAB_PRM_CAB_CLK_GENERATOR Description This parameter indicates if the CAB device generates the CAB clock The CAB clock is the one that controls the flow of data for a CAB system Only one CAB device can be the clock generator Type UINT32 Values TRUE The CAB device generates the CAB clock FALSE The CAB device does not generate the CAB clock Another CAB device is the CAB clock generator Note On some boards this parameter cannot be programmed and or detected See the specific board s user s manual for more information about the CAB cloc
52. uired to configure one or more CAB receivers in the system Set Rcount Number of Receivers in the CAB System Select First Receiver in the CAB System Set RPcount Number of Rx Ports on Receiver i Select First Rx Port Index Select next Receiver in the CAB System Assign channel number s to the port Decrement RPcount by 1 Select next Rx Port Index RPcount 0 Decrement Rcount by 1 Sapera CAB Programmer s Manual CAB System e 19 Putting It All Together What we have seen so far l 2 di 4 Description of CAB system architecture Descriptions and definition of CAB terminology Determining the CAB usage topology and connection diagrams Description of transmit and receive port capabilities as applicable to various hardware implementation See table CAB Interface and Port Implementation Steps required to configure a CAB system What we will see in the section E 2 3 Physical view of various hardware configurations CAB System view of the above hardware configurations Sapera skeleton code to implement the above configurations Sapera CAB Programmer s Manual CAB System e 20 Sapera CAB Module API CAB Module The CAB Module controls the Coreco Auxiliary Bus CAB and its functions Refer to the section CAB System page 3 for a detailed discussion about CAB concepts C
53. umber of pixels per video line by the number of active video lines describes the acquisition image resolution The binary size of each pixel 1 e 8 bits 15 bits 24 bits defines the number of gray levels or colors possible for each pixel Simple Parameter A parameter with a size less than or equal to an UINT32 Sapera CAB Programmer s Manual Glossary of Terms e 55 Sapera CAB Programmer s Manual Glossary of Terms e 56 Index B Bus Arbitrator 4 5 11 14 19 C CAB arbitrator 13 CAB hardware specifications 4 CAB interface 3 5 7 10 11 CAB LINK 10 Channels 5 19 Clock 5 10 clock generator 5 CORCAB CAP BLOCK SIZE MAX 21 CORCAB CAP BLOCK SIZE MIN 21 CORCAB CAP CHANNEL COUNT 21 CORCAB CAP CLK MAX 21 CORCAB CAP CLK MIN 22 CORCAB CAP PORT 22 CORCAB CAP PORT COUNT 23 CORCAB PRM BLOCK SIZE 23 CORCAB PRM CAB ARBITRATOR 25 CORCAB PRM CAB CLK 24 CORCAB PRM CAB CLK GENERATOR 24 CORCAB PRM CAB ID 25 CORCAB PRM CHANNEL 25 CORCAB PRM CONNECTION SIGNAL 26 CORCAB PRM DST CHANNEL 27 CORCAB PRM DST CHANNEL FIRST 27 CORCAB PRM DST CHANNEL LAST 27 CORCAB PRM FRAME LENGTH 27 CORCAB PRM PORT INDEX 28 CORCAB PRM SRC CHANNEL FIRST 28 CORCAB PRM SRC CHANNEL LAST 28 CORCAB PRM STATUS 28 CORCAB PRM TRANS MODE 29 CORCAB PRM TRANSFER MODE 29 Sapera CAB Programmer s Manual CorCabGetCap 30 CorCabGetCount 30 CorCabGetHandle 30 CorCabGetPrm 31 CorCabGetPrms 31 CorCabRelease 31 CorCabReset 32 CorCabResetM
54. ws NT Embedded operation system Resetting the board arbitrarily can damage the file system Therefore the Shutdown and Restart option should be selected from the Reset panel of the Mamba 100 Viewer utility Sapera CAB Programmer s Manual CAB System e 11 d START P Select board specific tab from the main window i i Install Board specific device drivers Select Main Info tab from the board window i Scroll down to parameter labeled Start hardware Viewer utility CAB Interf N Arbitrator nterface rbitrator Is the Bus Arbitrator selected and enabled No Yes set CAB Interface N Arbitrator set CAB Interface N Arbitrator to 1 to enable Bus Arbitration to 0 to disable Click on the Reset button Repeat for every board in the system Co w N is the CAB Interface ID Typically 0 or 1 Consult board specific Hardware reference Manual to determine number and identify of the CAB Interfaces In case of Mamba click on the Reset button and then select Shutdown and Restart Sapera CAB Programmer s Manual CAB System e 12 Step 1 Install Board Specific Device Drivers For each Coreco Imaging board in the host system install that board s device driver Board drivers are available on the Sapera CD ROM and also by internet in the download area of the Coreco Imaging web page Note that

Download Pdf Manuals

image

Related Search

Related Contents

VSBC-32 - Kontron  DCR-TRV820E    Apex Digital AD-1110W DVD Player User Manual  Manual de Instrucciones    ProForm 831.288230 Home Gym User Manual  Philips Speed-XL Electric shaver HQ8160  Manual de instalação e utilização MD100  Audiovox DV1200 User's Manual  

Copyright © All rights reserved.
Failed to retrieve file