Home

MOST Tool Kit Application Examples Application Note - SMSC

image

Contents

1. MIDI music playback a Default device wi GS Wavetable Sw Synth i _ Use only default devices CE Core Cas Figure 4 12 Audio Properties for the Sound Recorder Application Note Copyright 2006 2012 SMSC Page 46 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 18 Click OK 19 Restart the Sound Recorder Now it is ready for recording 20 Now click on the record button to start recording Sound Sound Recorder Positions Length 20 75 sec 60 00 sec _____ _ HA A9 NN Figure 4 13 Sound Recorder Recording Audio from the MOST Network 21 The recorded file can be saved played or analyzed depending on the desired application Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 47 MOST Tool Kit Application Examples 5 The MOST PC Interface as a Video Card Isochronous Transmission This chapter describes how a video program stream is created and transferred isochronously over a MOST network and finally can be displayed on another PC This example can be only executed in a MOST 150 network i e MOST PCI Interfaces 1500 have to be installed 9 1 Playing a Video File The example in this section uses the following a
2. Share name PC Printer List in the directory Drivers IF this printer it shared with users running different versions of Windows vou may want to install additional drivers so that the users do not have to find the print diver when they connect to the shared printer Additional Drivers Figure 3 20 Sharing Properties for Printer on PC1 If PC1 is running on a different operating system from that of PC2 use the Additional Drivers button shown in Figure 3 20 to install the necessary additional driver By default the operating system Windows XP is supported immediately Click to finish sharing the printer This printer is now available to any other PC on the MOST network To establish a connection among PC1 and PC2 open the Windows Explorer on PC2 Enter the IP of PC1 in the address e g 192 168 1 1 If a password is requested type in the local administrator login and password for that PC1 Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 25 MOST Tool Kit Application Examples 14 On PC2 open the Control Panel and then double click Printers and Faxes Printers and Faxes AE File Edit View Favorit AY gt gt Ke Address ea Printers and F 50 Figure 3 21 Printers Window 15 Double click on the Add Printer icon Add Printer Wizard Local or Network
3. 4 Byte Stereo Connection Type Ch Index Offset Width Label 00 4 0043 Type Synchronous Direction Direction In Synchronous connection sa In w Offset Channel width Cas L Figure 4 6 Settings in the MOST Interface Control PC1 PC1 Switch to the Media tab click Add Stream In and select the preset 4 Byte Stereo In the Add Connect Stream Details window insert a friendly name set the connection type to Synchronous Connection select direction In and a channel width of 4 The offset is adapted automatically Click OK Now the MOST PC Interface allocates a channel a data quadlet assuming a bandwidth 4 is specified on the MOST network and is ready for streaming data The corresponding connection label is displayed e g Label 0000 for a MOST25 system or a Label 0042 for a MOST50 system or Label 0043 for a MOST150 system Figure 4 2 Sinks e g Winamp in this example can connect to this channel and process streamed data PC2 Start the MOST Interface Control Switch to the Media tab click and select the preset 4 Byte Stereo In the Add Connect Stream Details window insert a friendly name set the connection type to Synchronous Connection select direction Out and a channel width of 4 Add the Channel Label according to the source specified on PC1 The offset is adapted automatically
4. Application Note Copyright 2006 2012 SMSC Page 16 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples ShareFolderViaMOST Properties General Sharing Security Customize ou can share this folder with other users on your network To enable sharing for this folder click Share this folder O Do not share this folder a Share this folder Share name ShareFolderviahO ST Comment User linnit Maximum allowed Allow this number of users g To set permissions hor SETS who ACCESS this recia folder over the network click Permissions To configure settings for offline access click Caching Windows Firewall will be configured to allow this folder to be shared with other computers on the network Yew your Windows Firewall settings Figure 3 9 Share Folder via MOST Properties Dialog Box 2 12 Click Permissions A new window opens Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 17 MOST Tool Kit Application Examples Permissions for ShareFolderViaMOST Share Permissions Group Of user NAMES ti E vernone Permissions for Everpone Allow Deny Full Control Change Read Figure 3 10 Set Permissions 13 Select Everyone and then select Full Control Allow Afterwards click OK Now it is possible to read or to change data on the shared folder from another PC 14
5. 3 On both PCs Start the MOST Interface Control Click Start Programs SMSC MOST Tool Foundation MICtrl 4 PC1 Switch to the Mode tab if necessary and select Master The MOST network should have light and lock The status bar shows the status of the connection the network state and the lock If the MOST Interface Control cannot be started refer to chapter 6 on page 32 Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 49 MOST Tool Kit Application Examples Mame 16 Byte Video Connection Type Direction Channel Index Channel Width Packet Width Default kd Media Stream Connection Supports synchronous and isochronous media connection between MOST FS and MediaLB Direction Type Ch Index Olfset Width Label E In sochronmous 00 16 004F DO 1S J come Figure 5 2 Settings in the MOST Interface Control PC1 PC1 Switch to the Media tab click and select the preset 16 Byte Video In the Add Connect Stream Details window insert a friendly name set the connection type to Isochronous Connection select direction In and the channel index 00 alternatively 01 e g if O0 is already used or vice versa Select a channel width of 16 and use the Default packet width Click OK This allocates four isochronous source data quadlets 16 byte wide unit on the MOST frame to the MOS
6. DirectSound output in the Output plug ins range and then click the Configure The selection of waveOut output is also supported En If the MOST Interface Control cannot be started refer to chapter 6 on page 32 Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 37 MOST Tool Kit Application Examples Winamp Preferences Skins Plug ins Video Output plug ins Localization The plug in selected below determines how Winamp plays audio IF you select a Global Hotkeys plug in Winamp will use it starting with the next item played For audio output Jump To File Missing Files Nullsoft Disk Writer v2 13 MEA y Output v2 47 fd Shell Options Nullsoft Wave Out Output v2 11 d out wave dll ML Options Media Library Dashboard Local Media Podcast Directory CD Ripping History Classic Skins Modern Skins Input Visualization CSP JEFFect General Purpose Media Library v J L 9 Figure 4 3 Winamp Output Preferences Under Windows XP click on the drop down button on the Device tab to display the available channels They are labeled MOST Audio Channel 0 or MOST Render 0 MOST Audio Channel 1 or MOST Render 1 etc Choose MOST Audio Channel 0 or MOST
7. On PC2 open the Windows Explorer Enter the IP of PC1 in the address e g 192 168 1 1 If a password is requested type in the local administrator log in and password for that PC1 as stated in the Requirements section access to the administrator account is necessary 192 168 1 1 Seles Fie Edit View Favorites Tools Help ar sack es ya Search E roer EF Address W 11192 168 1 1 o v Go Folders 2 ER PC1Printer El Desktop az ES amp El my Documents DPr srs and Faxes a Dr Computer HI scheduled Tasks E a My Network Places E Entire Network E Microsoft Terminal Services E A Microsoft Windows Network Corp W 192 168 1 1 Figure 3 11 Shared Folder on PC2 Application Note Copyright 2006 2012 SMSC Page 18 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 15 Double click the folder ShareFolderViaMOST 16 The file e g the test file created on PC1 should be available on PC2 M ShareFolderViaMOST on 192 168 1 1 File Edit View Favorites Tools Help Q Back cs pe Search E Folders Hak Address 11192 168 1 1 5hare Folder via MOST Go Folders New Text Document txt Text Document 1 KB My Documents 4 My Computer My Network Places E a Entire Network E i Microsoft Terminal Services El y Microsoft Wi
8. Only for a MOST25 network check Label Bytes and enter them Click OK If the MOST Interface Control cannot be started refer to chapter 6 on page 32 Application Note Page 42 Copyright O 2006 2012 SMSC Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples Media Stream Connection Supports synchronous and isochronous media connection between MOST FC and MediaLB Name Add Stream In Add Stream Out 4 Byte Stereo isan Pesos Direction Type Ch Index Offset width Label Synchronous connection w Offset Channel Width Channel Label Label Bytes MOST 25 only Figure 4 7 MOST Interface Control Settings on PC2 8 Start Winamp on PC1 9 Inthe menu bar click Options Preferences to open the Preferences window 10 Choose Output in the left hand column select the current version of DirectSound output in the Output plug ins range and then click Configure Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 43 MOST Tool Kit Application Examples Winamp Preferences Video Output plug ins Localization The plug in selected below determines how Winamp plays audio IF you select a Global Hotkeys plug in Winamp will use it starting with the next item played For audio output Jump To File Missing Files shell Options Nullsoft WaveOut Output
9. DTCP specifications available via the MOST Cooperation All use cases described in section 5 1 Playing a Video File that are using the applications mbtest mbstream or VideoViewer are also available including DICP header handling As there is only one standard 188 bytes TS format the MOST Tool Kit extends some features to combine both worlds MOST and DTCP with standard video codecs like ffdshow The following separate use cases can be handled via the applications mbtest mbstream or VideoViewer for test purposes 1 AMOST PC Interface streams a standard TS file 188 byte as source that is either streamed by a mbtest command or transformed by a mbstream command into a DICP format 196 byte 2 A MOST PC Interface streams a MOST DTCP file 196 byte as source over the MOST network by using an mbtest command 3 A MOST PC Interface receives a MOST DTCP file 196 byte as sink that is processed by the VideoViewer which prepares the file for the use with ffdshow 4 A MOST PC Interface receives a MOST DTCP file 196 byte as sink that is prepared by mbstream for use with VLCViewer 5 A MOST PC Interface receives a MOST DTCP file 196 byte as sink that is prepared by mbstream commands for use either again as MOST DTCP file 196 bytes or as standard TS file 188 bytes Refer to the MOST Driver Utilities 2 that include specific sections describing commands available for these use cases Copyright O 2006 2012 SMSC Application Note Docum
10. INIC Windows IP Configuration Host Mame POO Primary Dns Suffix an amp Mode Type Hybrid IP Routing Enabled S a a a a a a E No WINS Proxy Enabled Mo DNS Suffix Search List a a a Ethernet adapter MOST system Connection specific DNS Suffix Description Physical Address Dhep Enabled IP Address Subnet Mask Default Gateway Network Device on MOST PCI Interface 1580 OP346H85 69 606 48 64 641 H41 M o 192 168 1 2 255 255 255 4 Figure 3 28 Ipconfig Command for PC2 Showing 192 168 1 2 for IP Address e g for INIC MOST PC Interface stands for the assembled interface Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 31 MOST Tool Kit Application Examples 7 Now use the ping command to assure that each PC can reach the other Cisoping 192 168 1 1 Pinging 192 168 1 1 with 32 bytes of data Reply from 192 168 1 1 bytes 32 timetims TTL 128 Reply from 192 168 1 1 bytes 32 timetims TTL 128 Reply from 192 168 1 1 bytes 32 timetims TTL 128 Reply from 192 168 1 1 bytes 32 timetims TTL 128 Ping statistics for 192 168 1 1 Packets Sent 4 Received 4 Lost CB loss Approximate round trip times in milli seconds Minimum ms Maximum Ams Average Pms Gis Figure 3 29 Send Ping from PC2 to PC1 Cis gt ping 192 168 1 2 Pinging 192 168 1
11. Interface starts the MOST network for the first time the OS s hardware wizard detects the MOST NDIS Adapter For the installation of the MOST NDIS Driver switch to the MOST Tool Kit Installation Guide 3 4 Winamp used version in this application note v5 5 Optional OptoLyzer OL3XXX Use it e g to listen to the allocated quadlets 6 Optional Another PC running Windows 7 or Windows XP with administrator rights and a MOST PC Interface installed with the current driver version on Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 35 MOST Tool Kit Application Examples 4 1 2 Step by Step Instructions 1 Hook up the MOST network as follows Play an audio file e q an mp3 file using Winamp PC 2 optional PC 1 Ethernet e g PCI bus a OptoLyzer OL30xx optional MOST PC Interface optional MOST PC Interface Figure 4 1 MOST Network Setup Use Winamp 2 When logging on to PC1 be sure to log in as administrator on that particular machine Application Note Copyright O 2006 2012 SMSC Page 36 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 3 On both PCs Start the MOST Interface Control Click Start Programs SMSC MOST Tool Foundation MICtrl 4 PC1 Switch to the Mode tab if necessary and select Master The MOST network should have light and lo
12. MOST system have a unique node address Check it according to step 4 on page 13 7 Itis assumed a consecutive allocation of channels is possible without any gap Application Note Copyright O 2006 2012 SMSC Page 40 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 4 2 2 Step by Step Instructions 1 Hook up the MOST network as follows Play an audio file Record audio e g an mp3 file b o data using using Winamp T Sound Recorder PC 1 PC 2 PCI bus MOST PC Interface MOST PC Interface Figure 4 5 MOST Network Setup Use Sound Recorder 2 Onthe PCs make sure to log on to an account with administrator privileges Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 41 MOST Tool Kit Application Examples On both PCs Start the MOST Interface Control Click Start Programs SMSC MOST Tool PC1 Switch to the Mode tab if necessary and select Master The MOST network should have light and lock The status bar shows the status of the connection the network state and PC1 PC2 Use the ping command to assure that each PC can reach the other according to Media Stream Connection Supports synchronous and isochronous media connection between MOST FC and MediaLB 3 Foundation MICtrl 4 the lock 5 step 7 in section 3 1 2 on page 12 Name Add Stream ln Add Stream Out
13. Printer The wizard needs to know which type of printer to set up Select the option that describes the printer you want to use Local printer attached to this computer Ce network printer or a printer attached to another computer To set up a network printer that 15 not attached to a print server A 1 use the Local printer option Figure 3 22 Add Printer Wizard Window 1 16 Select A network printer or a printer attached to another computer and click Next Application Note Copyright O 2006 2012 SMSC Page 26 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples Add Printer Wizard Specify a Printer vou don t know the name or address of the printer you can search for a printer that meets pour needs What printer do you want to connect to Find a printer in the directory Connect to this printer or to browse for a printer select this option and click Next Mame 14192 168 1 14Printer on PCT on 192 1 Example server printer Connect to a printer on the Internet or on a home or office network Example http server printerampprinter printer Figure 3 23 Add Printer Wizard Window 17 Select Connect to this printer and enter the server and printer name separated by a back slash e g 192 168 1 1 Printer on PC1 on 192 168 1 1 and click Next 18 Specify in the next window whether the printer shall
14. accepted the path is as follows C Program Files SMSC MOST Driver Stack bin 13 PC2 Create a shortcut and adapt the properties for the target e g to C WINDOWS system32 cmd exe Add the installation folder in Start in e g C Program Files SMSC MOST Driver Stack bin 14 PC2 Double click the shortcut A Command Prompt window opens 15 PC2 Enter mbtest d0 isopacketrx O c where d is an optional parameter indicating a device number is following In the case only one MOST PC Interface is installed this optional parameter can be omitted By default a device number 0 is taken If e g two MOST PC Interfaces are installed in PC2 as in this example it depends on the sequence of the devices whether this parameter needs to be added or not O is the number of the device e g a MOST PCI Interface 50e device isopacketrx is a command that receives a continuous synchronous data stream to the MOST network 0 is the first instance there are two instances available c checks receiving frames a continuous 16 bit counter is expected lt cmd mbtest d0 isopacketrx O c icrosoft Windows XP Version 5 1 2600 E LC Copyright 1985 2081 Microsoft Corp Program Files SMSCSMOST Driver Stack hin mbtest dB isopacketrx BM c uffers 165801 TotalErrors 61 Figure 5 4 Command Prompt Window Starting Mbtest for Receiving Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X
15. be the default printer or not and click Next Add Printer Wizard Completing the Add Printer Wizard ou have successtully completed the Add Printer Wizard You specified the following printer settings Mame Printer on PCT on 192 168 1 1 Default Yes Location Comment To close this wizard click Finish Figure 3 24 Add Printers Wizard Final Step Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 27 MOST Tool Kit Application Examples 19 Click Finish gt Printers and Faxes File Edit View Favorites Tools Help D sack i gt Search Address Add Printer Printer on PCL on 197 166 1 1 Figure 3 25 Printers Window Showing the PC1 Printer 20 The printer is now available and ready for printing through the MOST network from any application Application Note Copyright 2006 2012 SMSC Page 28 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 3 3 Setting up a Gateway via MOST This section specifies how to set up a PC as a gateway and how the PC s Internet connection is used from another PC connected via MOST PC Interfaces acting as network cards 3 3 1 Requirements 1 2PCs running Windows 7 or Windows XP with administrator rights and a MOST PC Interface installed on each PC 2 MOST Driver Stack is installed 3 The MOST PC Interfaces have to be switched to static IP address as
16. button 12 The audio is now being streamed to the MOST network The audio data on the MOST network can be listened e g using an OptoLyzer OL3XXX If listening via the OptoLyzer OL3XXX is desired refer to OptoLyzer OL3XXX s user manual Recording of transferred audio data is described in the next section Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 39 MOST Tool Kit Application Examples 4 2 Recording Audio Using Sound Recorder In this example Winamp plays audio data on PC1 onto the MOST network while a Sound Recorder started on PC2 records the data coming from the MOST network to a file 4 2 1 Requirements 2 PCs running Windows 7 or Windows XP with administrator rights and a MOST PC Interface installed on each PC 2 MOST Driver Stack is installed 3 INIC based MOST PC Interface see page 8 e Installation of MOST Tool Foundation inclusive the MOST Interface Control delivered on an USB stick If the MOST Interface Control connected to a MOST PC Interface starts the MOST network for the first time the OS s hardware wizard detects the MOST NDIS Adapter For the installation of the MOST NDIS Driver switch to the MOST Tool kit Installation Guide 3 4 Winamp this software can be downloaded from the Internet at www winamp com 5 Sound Recorder has to be installed normally found under Start All Programs Accessories 6 It is assumed all MOST nodes in the
17. by preventing unauthorized users from gaining access to your computer through the Internet or a network On recommended This setting blocks all outside sources from connecting to this computer with the exception of those selected on the Exceptions tab Select this when you connect to public networks in less secure locations such as airports you will not be notified when Windows Firewall blocks programe Selections on the Exceptions tab will be ignored j OF not recommended Avoid using this setting Turning off Windows Firewall may make this computer more vulnerable to viruses and intruders What else should know about Windows Firewall Figure 3 1 Firewall Switched Off Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 11 MOST Tool Kit Application Examples 3 1 2 Step by Step Instructions 1 Hook up the MOST network as follows la Ya HE El MOST PC Interface MOST PC Interface Figure 3 2 MOST Network Setup Share Folder 2 Onthe PCs make sure to log on to an account with administrator privileges Application Note Copyright O 2006 2012 SMSC Page 12 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 3 On both PCs Start the MOST Interface Control Click Start Programs SMSC MOST Tool Foundation MICtrl 4 Ensu
18. described in the user manual MOST Tool Kit Installation Guide 4 INIC based MOST PC Interface see page 8 Installation of MOST Tool Foundation inclusive the MOST Interface Control delivered on an USB stick If the MOST Interface Control connected to a MOST PC Interface starts the MOST network for the first time the OS s hardware wizard detects the MOST NDIS Adapter For the installation of the MOST NDIS Driver switch to the MOST Tool Kit Installation Guide 3 5 It is assumed all MOST nodes in the MOST system have a unique node address Check it according to step 4 on page 13 Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 29 MOST Tool Kit Application Examples 3 3 2 Step by Step Instructions 1 Hook up the MOST network as follows Internet Ethemet MOST PC Interface MOST PC Interface Figure 3 26 MOST Network Setup Share Internet Connection 2 Onthe PCs make sure to log on to an account with administrator privileges 3 On both PCs Start the MOST Interface Control Click Start Programs SMSC MOST Tool Foundation MICtrl 4 PC1 Switch to the Mode tab if necessary and select Master The MOST network should have light and lock The status bar shows the status of the connection the network state and the lock 5 Open a Command Prompt window on each PC PC1 and PC2 as shown in Figure 3 26 on page 30 Determine the IP addr
19. no responsibility is assumed for inaccuracies Specifications and other documents mentioned in this document are subject to change without notice SMSC reserves the right to make changes to this document and to the products at any time without notice Neither the provision of this information nor the sale of the described products conveys any licenses under any patent rights or other intellectual property rights of SMSC or others There are a number of patents and patents pending on the MOST technology and other technologies No rights under these patents are conveyed without any specific agreement between the users and the patent owners The products may contain design defects or errors known as anomalies including but not necessarily limited to any which may be identified in this document which may cause the product to deviate from published descriptions Anomalies are described in errata sheets available upon request SMSC products are not designed intended authorized or warranted for use in any life support or other application where product failure could cause or contribute to personal injury or severe property damage Any and all such uses without prior written approval of an officer of SMSC will be fully at your own risk MediaLB SMSC and MOST are registered trademarks of Standard Microsystems Corporation SMSC or its subsidiaries Other names mentioned may be trademarks of their respective holders The Microchip name and logo and the Micro
20. v2 11 di out_wawe dil ML Options Media Library Dashboard Local Media Podcast Directory CO Ripping History Skins Classic Skins Modern Skins Plug ins Input visualization DSP EFFect General Purpose Media Library Figure 4 8 Winamp Output Preferences 11 Under Windows XP choose MOST Audio Channel 0 from the drop down menu on the Device tab Under Windows XP the selections are labeled MOST Audio Channel O or MOST Render 0 MOST Audio Channel 1 or MOST Render 1 etc Application Note Copyright 2006 2012 SMSC Page 44 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples DirectSound output settings Device Buffering Fading Other Status 03 MOST Audio Channel 0 Allow hardware acceleration may cause problems with broken drivers reate primary buffer O Creat buff or old soundcards fixes sound quality problems hor old dcards f d qualit blern Device Into Certhed Yes emulated Mo Supports sample rates from 100 Hz to 00000 Hz continuous Hardware memory M A Hardware mising unsupported Speaker setup Stereo Note that info above 18 what your soundcard driver reports it might nat match actual hardware specs in certain cases FAQ OT Primary Sound Driver refers to preferred sound device selected In Windows control pa
21. 08 03 10 V1 2 0 1 2007 10 24 V1 0 X 2 2007 06 29 V1 0 X 1 2006 12 13 Application Note Page 4 All All 9 1 2 2 9 1 2 3 All 1 6 All 5 old 5 5 1 9 122 All 5 91 22 6 1 2 3 All All 1 2 5 All 1 1 1 4 3 3 All All All 1 5 1 6 Microchip logo added Sections adapted for new version Description of selection adapted in Figure 5 2 Video transmission via DTCP added Totally revised description adapted as NSV2Example has been removed replaced by MOST Interface Control section Naming Conventions removed Description of mbtest mbstream improved They are command line reference applications Chapter describing synchronous transmission of video stream removed Description adapted ffdshow is used now Description improved mbstream and video file added Description revised referring to a demo video file NSV2Example figures adapted according to the new GUI New start of the NSV2Example introduced Title renamed Sections merged i e section 6 1 2 3 removed and revised Examples adapted due to the new MOST NetServices Example NIC related sections removed New section AN valid only for INIC related MOST PC Interfaces New chapter added about isochronous transmission Examples adapted due to the new MOST NetServices Example Content adapted New section Information Sources New section Setting up a Gateway via MOST MOST PCI Interface 1500 added Examples adapted acco
22. 1 Date 2012 08 24 Page 51 MOST Tool Kit Application Examples 16 17 18 PC2 Press the Enter key This starts receiving an isochronous data stream from the MOST network Beneath the received buffers are counted and displayed followed by the number of TotalErrors If the counter for the errors shows zero the transmission over the MOST network is working properly If a completion error occurs the driver receives more data than it can process Add n64 to the command this parameter adapts the buffer to be used for the transmission in case the default of 4 bytes is not enough to handle the transmission i e Enter mbtest d0 isopacketrx O c n64 If there are other problems check the cables connections and check whether the MOST network is in stable lock The instance number 0 has to match on PC1 transceiver and PC2 receiver Further on Windows activities can have influence PC2 Press the Q and the Enter key in the Command Prompt window PC2 to finish receiving the data stream coming from the MOST network PC1 Press the Q and the Enter key in the Command Prompt window to finish sending a continuous data stream to the MOST network Application Note Copyright O 2006 2012 SMSC Page 52 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 5 1 2 2 Transmit and Display Video Stream 10 PC2 Select the Media Stream Connection in the Media tab
23. 2 for IP Address e g for INIC 31 FIgure 3 29 SENG Ping Trom PC2 O AO oo 32 Figure 3 30 Send FING TOREO RE leia 32 Figure 3 31 Sharing Internet Connection miso disc cdvennsecs dusecedectewendeiaetweonseseecteeleyet 33 Figure 3 32 Specifying DNS Server este cache dolida 34 Figure 4 1 MOST Network Setup Use Winamp ss 36 Figure 4 2 Settings in the MOST Interface Control 37 Figure 4 3 Winamp Output Preferences iii 38 Figure 4 4 Winamp DirectSound Output Settings ss 39 Figure 4 5 MOST Network Setup Use Sound Recorder 41 Figure 4 6 Settings in the MOST Interface Control PC1 42 Figure 4 7 MOST Interface Control Settings ON PC2 in 43 Figure 4 8 Winamp Output Preferences sise 44 Figure 4 9 Winamp DirectSound Output Settings is 45 te ETS EU LORS TO IST pl Recorder sirana a aa a a a ia a lts 45 Figure 4 11 Sound Recorder Edit Menu iii 46 Figure 4 12 Audio Properties for the Sound Recorder 46 Figure 4 13 Sound Recorder Recording Audio from the MOST Network 47 Figure 5 1 MOST Network Setup Use MOST Video Viewer 49 Figure 5 2 Settings in the MOST Interface Control PCT 50 Figure 5 3 Command Prompt Window Starting Mbtest for Sending ccceccceeeeseeeeeeeeeaeeeseeeeseees 50 Figure 5 4 Command Prompt Window Starting Mbtest for RECEIVING occcoocccoccnconcncccnconcncnncnnnnos 51 Figure 5 5 Example of Video Viewer Settings 54 Copyright O 2006 2012 SM
24. 2 with 32 bytes of data Reply from 192 168 1 2 bytes 32 timetims TTL 128 Reply from 192 168 1 2 bytes 32 timetims TTL 128 Reply from 192 168 1 2 bytes 32 timetims TTL 128 Reply from 192 168 1 2 bytes 32 timet lt ims TTL 128 Ping statistics for 192 168 1 2 Packets Sent 4 Received 4 Lost BM Mx loss Approximate round trip times in milli seconds Minimum ms Maximum Ams Average Pms GIN Figure 3 30 Send Ping from PC1 to PC2 8 Ina next step the Ethernet connection of PC1 is shared i e a gateway is set up Go to the Control Panel If the steps described below do not match due to differences to the corporate network e g the input of the IP address please ask the system administrator for help 9 PC1 Double click Network Connections 10 PC1 Double click the Ethernet connection 11 PC1 Click Properties 12 PC1 Switch to the tab Advanced Application Note Copyright O 2006 2012 SMSC Page 32 Document Version V4 0 X 1 Date 2012 08 24 13 14 15 16 17 18 19 20 21 22 MOST Tool Kit Application Examples Corporate Network Properties Windows Firewall Protect my computer and network by limiting or preventing access to this computer from the Intemet Intemet Connection Sharing Allow other network users to connect through this computer s Intemet connection _ Allow other network users to control or disable the shared Intemet connection Leam more about I
25. Folder via MOST Properties Dialog BOX 2 17 Fig re 3 107 Set Permiso Ss Ai ieee bee mie 18 Flgure ST Shared Folder on Pla ti 18 Flgure 31 2 anared Folder on PC2 File ii 19 Figure 3 13 MOST Network Setup Share Printer ooocccoccccocnoccnncccnncncnccnnnoconnonannononnnnnnonnnonannnnons 21 Figure 3 14 Ipconfig Command for PC1 Showing 192 168 1 1 for IP Address e g for INIC 22 Figure 3 15 Ipconfig Command for PC2 Showing 192 168 1 2 for IP Address e g for INIC 22 Figure 5 16 Sena PINO OM O2Z1O REA at 23 Figure 3217 Send PING Mom POITIO PCR nn une teen etienne 23 Figure 3 18 Printers Window Displaying Newly Installed Printer ooccococncoccncoccccocnonncncnacnnnnos 23 Figure 3 19 Right Click Menu for Installed Printer 00nn0annannnannnnnnnnnnannnnnnnnnnnnnnnnonrnsnennrennernnrsnerenene 24 Figure 3 20 Sharing Properties for Printer ON PCT 25 Figures 21 Primers VV IMO OW oca 26 Figure 3 22 Add Printer Wizard Window a 26 Figure 3 23 Add Printer Wizard NO cio 27 Figure 3 24 Add Printers Wizard Final Step ss 27 Figure 3 25 Printers Window Showing the PC1 Printer ooocccoccccccnccccnnccnccccnccncncnncnnnnnononnnoncncnncnnnnos 28 Figure 3 26 MOST Network Setup Share Internet Connection 30 Figure 3 27 Ipconfig Command for PC1 Showing 192 168 1 1 for IP Address e g for INIC 31 Figure 3 28 Ipconfig Command for PC2 Showing 192 168 1
26. MOST Interface Control delivered on an USB stick p If the MOST Interface Control connected to a MOST PC Interface starts the MOST network for the first time the OS s hardware wizard detects the MOST NDIS Adapter For the installation of the MOST NDIS Driver switch to the MOST Tool Kit Installation Guide 3 5 mbtest and mbstream applications installed together with the MOST Driver Stack 6 Transport stream video files examples can be found on the CD in the folder Add_ons Demo Files 7 ffdshow rev 3119 is used in this example is installed and configured e the video and audio formats that are needed are enabled The used revision can be downloaded from the Internet 8 It is assumed all MOST nodes in the MOST system have a unique node address Check it according to step 4 on page 13 Application Note Copyright O 2006 2012 SMSC Page 48 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 5 1 2 Step by Step Instructions 5 1 2 1 Hook Up the MOST Network and Check Transmission 1 Hook up the MOST network as follows Start transmitting a video pr demo file using mbstream in suma a Command Prompt window lt Start MOST Video Viewer displaying an example file Le MOST PCI Ee MOST PCI Interface ri Interface 1500 1500 Figure 5 1 MOST Network Setup Use MOST Video Viewer 2 On both PCs make sure to log on to an account with administrator privileges
27. NIGING atea doo RN 40 4 2 2 Step Dy Step IASTUCIUIONS id id odds 41 5 THE MOST PC INTERFACE AS A VIDEO CARD ISOCHRONOUS TRANSMISSION 48 5 1 Playing a WIGS ORIN ce o oca 48 5 1 1 FREGUIFGINI CIS LEE RUES RER RG Rd ci 48 5 1 2 SI D DY SED INSWUCHONS a Sn re round lalola State rent en etes 49 5 1 2 1 Hook Up the MOST Network and Check Transmission 49 5 1 2 2 Transmit and Display Video Stream 53 5 1 2 3 DIGPUEXIEASION tia dolo io nt ase cn nie it Mi eee eue 55 0 TROUBLESHOOTING ot nd O 56 6 1 MOST Interface Control Cannot Be Started 00 0 0 ecccceeceseeeeeeeeseeeeseeeeseeeeseeesaeeeseeeeseees 56 APPENDIX A EIST OP FIGURES aioe ee ae Reece eee Ea 57 APPENDIX BiEIST OR TABLE E Sousa 58 Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 5 MOST Tool Kit Application Examples Application Note Copyright O 2006 2012 SMSC Page 6 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 1 Preface 1 1 Intended Use This SMSC product is intended to be used for developing testing or analyzing MOST based multimedia products and systems by persons with experience in developing multimedia devices The operation of SMSC products is only admitted with original SMSC devices 1 2 Validity This application note is valid only for INIC based MOST PC Interfaces 1 3 Scope of Delivery This product is delive
28. Render 0 In case you have assembled more than one MOST PCI Interface you can assign a friendly name to the channels Therefor refer to the description of the MOST Control Panel in MOST Driver Utilities 2 Application Note Copyright O 2006 2012 SMSC Page 38 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples DireciSound output settings Device Buffering Fading Other Status 03 MOST Audio Channel 0 v ma Allow hardware acceleration may cause problems with broken drivers O Create primary buffer for old soundcards tes sound quality problems Device Info Certified Yes emulated Mo Supports sample rates from 100 Hz to 200000 Hz continuous Hardware memory N A Hardware miming unsupported Speaker setup Stereo Note that mfo above is what your soundcard driver reports it might not match actual hardware specs in certain cases FAG OT Primary Sound Driver refers to preferred sound device selected In Windows control panel Note most of the settings take full effect after restarting playback Apple v2 47 d Reset all Figure 4 4 Winamp DirectSound Output Settings 10 Click OK and click in the Preferences window to continue 11 Winamp is now configured to output the played audio data onto the MOST network Open any audio file in Winamp to learn how to do this utilize the Winamp help and click the play
29. SC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 57 MOST Tool Kit Application Examples Appendix B List of Tables E A CR a A et Application Note Copyright O 2006 2012 SMSC Page 58 Document Version V4 0 X 1 Date 2012 08 24
30. T PC Interface The corresponding label is assigned automatically e g Label 004F in Figure 5 2 PC2 Start the MOST Interface Control Switch to the Media tab click and select the preset 16 Byte Video In the Add Connect Stream Details window insert a friendly name set the connection type to Isochronous Connection select direction Out and the same channel index as on PC1 Adapt the channel width to 16 Add the Channel Label and the packet width Default according to the source specified on PC1 This routes the four isochronous source data quadlets 16 byte wide unit on the MOST frame from the MOST PC Interface PC1 Open a Windows Explorer Navigate to the installation folder specified during the installation of the MOST Driver Stack described in the user manual MOST Tool Kit Installation Guide Assuming default settings have been accepted the path is as follows C Program Files SMSC MOST Driver Stack bin PC1 Create a shortcut and adapt the properties for the target e g to C WINDOWS system32 cmd exe Add the installation folder in Start in e g C Program Files SMSC MOST Driver Stack bin PC1 Double click the shortcut A Command Prompt window opens e cmd mbtest d0 isopackettx 0 LC Copyright 19785 26081 Microsoft Corp Program Files SMSCSMOST Driver 5tacksbin gt mbtest dB isopackettx B uf fers 35441 Figure 5 3 Command Prompt Window Starting Mb
31. a 192 168 1 1 bytes 32 time lt ims TTL 128 192 168 1 1 bytes 32 time lt ims TTL 128 192 168 1 1 bytes 32 time lt ims TTL 128 192 168 1 1 bytes 32 time lt ims TTL 128 Reply from Reply from Reply from Reply from Ping statistics for 172 168 1 1 Packets Sent 4 Received 4 Lost A x loss gt Approximate round trip times in milli seconds Minimum ms Maximum Ams Average Ams GIN Application Note Page 14 Figure 3 5 Send Ping from PC2 to PC1 Copyright 2006 2012 SMSC Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples Coxtping 192 168 1 2 Pinging 192 168 1 2 with 32 bytes of data Reply from 192 168 1 2 bytes 32 timetims TTL 128 Reply from 192 168 1 2 bytes 32 timetims TTL 128 Reply from 192 168 1 2 bytes 32 timetilms TTL 1248 Reply from 192 168 1 2 bytes 32 timetims TTL 1248 Ping statistics for 192 168 1 2 Packets Sent 4 Received 4 Lost BM Bx loss Approximate round trip times in milli seconds Minimum ms Maximum ms Average Ams GIN Figure 3 6 Send Ping from PC1 to PC2 8 Open the Windows Explorer on PC1 and create a new folder that will be shared with PC2 Name the new folder as desired Create a file e g a text file 9 Right click on the newly created folder and choose Sharing and Security from the menu My Documents ui ES File Edit View Favorites Tools Help Back gt ya y Search Folders H
32. ab Address My Documents Folders A Name E Desktop My Music EL My Documents 5 my Pictures 5 My Music My PSPS Files my sh 2 My Pictures 2 My shapes a My PSPS Files re videos Explore a My Shapes ee ShareFolderviahMosT Open Ey rc videos A SnagIt Katalog Search E ShareFolderviaMostT CUpdaters Hao aid Seana SnagIt Katalog AT Min 1 objects selected 4 My Computer Figure 3 7 Right Click Menu for the New Folder Named ShareFolderViaMOST 10 The following dialog window will be presented Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 15 MOST Tool Kit Application Examples ShareFolderViaMOST Properties General Sharing Security Customize ou can share this folder with other users on your network To enable sharing for this folder click Share this folder Do not share this folder Share this folder To set permissions for users who access this folder over the network click Permissions To configure settings for offline access click Caching Windows Firewall will be configured to allow this folder to be shared with other computers on the network Mer your Windows Firewall settings Figure 3 8 ShareFolderViaMOST Properties Dialog Box 11 Click on the Share this folder radio button and enter a name e g ShareFolderViaMOST
33. am from MOST replace PC1 with the real video source and use MOST bandwidth Video PID and Audio PID like defined in the source device Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 53 MOST Tool Kit Application Examples 11 PC2 Open a Windows Explorer Navigate to the installation folder specified during the installation of the MOST Driver Stack Assuming default settings have been accepted the path is as follows C Program Files SMSC MOST Driver Stack bin 12 PC2 Double click MOSTVideoViewer exe The MOST Video Viewer starts On page MOST Settings choose the used MOST adapter of the MOST network 13 PC2 Select Iso Packet as stream type MOST Video Viewer See MOST Video Viewer MOST Settings MOST Adapter MOST Settings MPEG Transport Stream Video TS Settings TS Settings Adapter DirectShow DirectShow Video PID 0x1011 MPEG Stream Video Type H264 Stream Type Iso Packet MOST 150 Packet Streaming MPEG Transport Stream Audio 150 Port Index Audio PID 9x1100 ISO Packets per Buffer Audio Type Dolby AC3 Figure 5 5 Example of Video Viewer Settings 14 PC2 Ensure the values shown in MOST ISO Packet Streaming match the values specified in the Media tab of the MOST Interface Control ISO Port Index must match the channel index i e 0 in this example ISO Packets per Buffer must match the channel
34. and click M The routing of the channel label is removed PC1 Select the Media Stream Connection in the Media tab and click X PC1 Open an Explorer switch to the CD and open the readme rtf folder Add_ons Demo Files on the CD The readme rtf lists some video demo files that are delivered together with the MOST Tool Kit It also contains all details for the video demo files that are required for decoding of the video stream e g Video PID and Audio PID PC1 Decide which video demo file you want to transmit over MOST This decision influences the choice of the bandwidth you have to enter in the Media tab of the MOST Interface Control and defines the corresponding settings that have to be inserted on PC2 later when customizing the MOST Video Viewer PC1 Click and select a preset In the Add Connect Stream Details window insert a friendly name set the connection type to Isochronous Connection select direction In and the channel index 00 Select a channel width according to your decision reserving enough bandwidth for transmitting the video demo file transport stream In addition select Default as packet width Click OK The corresponding label is assigned automatically PC2 Switch to the Media tab click and select a preset In the Add Connect Stream Details window insert a friendly name set the connection type to Isochronous Connection select direction Out and the same chan
35. chip logo are registered trademarks of Microchip Technology Incorporated in the U S A and other countries 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 course of dealing or usage of trade In no event shall SMSC be liable for any direct incidental indirect special punitive or consequential damages 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 held to have failed of its essential purpose and whether or not SMSC has been advised of the possibility of such damages Application Note Copyright 2006 2012 SMSC Page 2 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples MOST Tool Kit Application Examples V4 0 X Copyright O 2006 2012 SMSC All rights reserved Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 3 MOST Tool Kit Application Examples Document History Version E IR Comment on changes V4 0 X 1 2012 08 24 V3 8 X 1 2011 09 26 V3 6 X 1 2010 11 22 V3 4 X 2 2010 06 10 V3 4 X 1 2009 08 20 V3 2 X 1 2009 05 12 V1 3 0 1 20
36. ck The status bar shows the status of the connection the network state and the lock 5 PC1 Switch to the Media tab and click and select the preset 4 Byte Stereo In the Add Connect Stream Details window insert a friendly name set the connection type to Synchronous Connection select direction In and a channel width of 4 The offset is adapted automatically Click OK Now the MOST PC Interface allocates a channel a data quadlet assuming a bandwidth 4 is specified on the MOST network and is ready for streaming data The corresponding connection label is displayed e g Label 0000 for a MOST25 system or a Label 0042 for a MOST50 system or Label 0043 for a MOST150 system Figure 4 2 Sinks e g Winamp in this example can connect to this channel and process streamed data Media Stream Connection Supports synchronous and isochronous media connection between MOST FC and MediaLB Mame Add Stream In Add Stream Out 4 Byte Stereo Direction Type Ch Index Offset Width Label Connection Type Direction In Synchronous 00 4 0043 Synchronous connection w Offset Channel width o Jij e JE Figure 4 2 Settings in the MOST Interface Control 6 Start Winamp In the menu bar click Options Preferences to open the Preferences window 8 Choose Output in the left hand column select the current version of
37. d DHS server 192 168 1 1 Alternate ONS server Advanced Figure 3 32 Specifying DNS Server 23 Click OK 24 Start the Internet Explorer on PC2 and test the gateway connection Application Note Copyright 2006 2012 SMSC Page 34 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 4 The MOST PC Interface as a Sound Card This section describes how to stream synchronous data onto and off of the MOST network The goal of this section is to show how a MOST PC Interface can have the same functionality as that of a sound card or even multiple sound cards 4 1 Playing Audio Using Winamp The example in this section uses the following applications MOST Interface Control and the software Winamp It is part of the MOST Tool Foundation installation It controls startup and shutdown of the MOST network and manages the channel allocation for INIC related MOST PC Interfaces Winamp streams audio data to the MOST network using a MOST PC Interface This software can be downloaded from the Internet at www winamp com 4 1 1 Requirements 1 APC running Windows 7 or Windows XP with administrator rights and a MOST PC Interface installed on each PC 2 MOST Driver Stack is installed 3 INIC based MOST PC Interface see page 8 e Installation of MOST Tool Foundation inclusive the MOST Interface Control delivered on an USB stick If the MOST Interface Control connected to a MOST PC
38. ent Version V4 0 X 1 Date 2012 08 24 Page 55 MOST Tool Kit Application Examples 6 Troubleshooting 6 1 MOST Interface Control Cannot Be Started If a MOST PC Interface is installed and can be seen in the device manager but the MOST Interface Control cannot be started it can help to stop and restart the MOST Services A reason can be a MOST PC Interface has been installed or exchanged and the MOST Services have been started before completing the installation e g the MOST NDIS Driver Follow these steps 1 Click Start Programs SMSC MOST Tool Foundation MOST Tool Kit Configurator 2 Click Stop Service to stop the MOST Services 3 Click Start Service to start the MOST Services 4 Start the MOST Interface Control Application Note Copyright 2006 2012 SMSC Page 56 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples Appendix A List of Figures FlQure 3 1 Firewall Switched Os da 11 Figure 3 2 MOST Network Setup Share Folder 12 Figure 3 3 Ipconfig Command for PC1 Showing 192 168 1 1 for IP Address 14 Figure 3 4 Ipconfig Command for PC2 Showing 192 168 1 2 for IP Address 14 FIQUre 3 95 Send PING from PO2 to PU a 14 Figure 3 6 Send Ping from PCA to PEZ Se or dale eat eae 15 Figure 3 7 Right Click Menu for the New Folder Named ShareFolderViaMOST ccccccceseeeeeeees 15 Figure 3 8 ShareFolderViaMOST Properties Dialog Box 16 Figure 3 9 Share
39. ess of each MOST PC Interface by typing ipconfig all at the command prompt and press the Enter key If the MOST Interface Control cannot be started refer to chapter 6 on page 32 Application Note Copyright O 2006 2012 SMSC Page 30 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 6 Afterwards a list of the current interfaces is displayed Find the entry for e g Network Device on MOST PC Interface2 Windows XP and locate the IP Address entry The values for IP address and Subnet Mask have to match the values entered during the installation of the MOST NDIS driver described in the user manual MOST Tool Kit Installation Guide If there are other entries disable them prior to continuing see Windows XP help files for instructions on disabling Network adapters Windows IP Configuration Host Name eee E NMH Primary Dns Suffix a a ae ee ue Mode Type Hybrid IF Routing Enabled Mp WINS Proxy Enabled No DNS Suffix Search List a a Ethernet adapter MOST system Connection specific DNS Suffix Description Physical Address Dhep Enabled IP Address Subnet Mask Default Gateway Network Device on MOST PCI Interface 1580 COP34H0 gt 66 06 406 66 61 48 Mo 192 168 1 1 255 255 255 0 Figure 3 27 Ipconfig Command for PCT Showing 192 168 1 1 for IP Address e g for
40. files for instructions on disabling Network adapters Windows IP Configuration Host Mame Primary Dns Suffix 3 Hode Type IF Routing Enabled A WINS Proxy Enabled DNS Suffix Search List Ethernet adapter MOST system Connection specific DNS Description Physical Address Dhep Enabled IP Address Subnet Mask Default Gateway Suf Fix PCi Hybrid Ho Ho Network Device on MOST PCI Interface 1580 0P3446B gt 66 66 66 66 61 88 H o 192 168 1 1 255 255 2255 8 Figure 3 14 Ipconfig Command for PCT Showing 192 168 1 1 for IP Address e g for INIC Windows IP Configuration Host Name A Primary Dns Suffix P Mode Type IP Routing Enabled A WINS Proxy Enabled DNS Suffix Search List Ethernet adapter MOST system Connection specific DNS Description Physical Address Dhep Enabled IP Address Subnet Mask Default Gateway Suffix PC2 Hybrid Ho Ho Network Device on MOST PCI Interface 1580 lt 0P3404 gt 406 808 40 40 41 41 Ho 192 168 1 2 255 255 255 6 Figure 3 15 Ipconfig Command for PC2 Showing 192 168 1 2 for IP Address e g for INIC MOST PC Interface stands for the assembled interface Application Note Page 22 Copyright O 2006 2012 SMSC Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 7 Now use the ping command to assure that each PC can reach the other C
41. he application note provides typical examples for e The MOST PC Interface as a Network Card chapter 3 This section contains examples that show how to use the MOST Interface Control to build network connections on separate PCs e The MOST PC Interface as a Sound Card chapter 4 This section contains examples for streaming synchronous data to and from the MOST network using Winamp and Sound Recorder e The MOST PC Interface as a Video Card Isochronous Transmission chapter 5 This section shows an example how video files can be transferred and played over the MOST network using a MOST PC Interface Right now the recipes are described if a MOST PCI Interface 1500 MOST PCI Interface 50e or a MOST PCI Interface 250 is used All steps that are necessary are described for executing the recipes In addition the sections provide information about which tools both hardware and software are necessary to execute an example i e a recipe Some software that is used in the following examples can be downloaded from the Internet found on the CD or purchased from the company that produces the suggested software Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 9 MOST Tool Kit Application Examples 3 The MOST PC Interface as a Network Card The MOST PC Interface acts similar to a network card Thus it can be used to network PCs The PCs equipped with a MOST PC Interface can share folde
42. inter on PCL on 197 166 1 1 Figure 3 18 Printers Window Displaying Newly Installed Printer Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 23 MOST Tool Kit Application Examples 9 Right click on the printer that was just installed and select Sharing Seles File Edit View Favorites Tools Y y gt Y pe Search T Printers and Faxes Ww Go 2 Printers and Faxes 33 Address Open Set as Default Printer Printing Preferences Pause Printing Add Printer Printer on PC1 Use Printer Offline N Create Shortcut L Delete Rename Properties Figure 3 19 Right Click Menu for Installed Printer 10 Click on the Share this printer radio button Type in a name e g PC1Printer or leave the suggested sharing name Select List in the directory Application Note Page 24 Copyright O 2006 2012 SMSC Document Version V4 0 X 1 Date 2012 08 24 11 12 13 MOST Tool Kit Application Examples amp Printer on PC1 Properties Color Management Security Device Settings General sharing Ports Advanced A You can share this printer with other users on pour network To enable sharing for this printer click Share this printer Windows Firewall is already configured to allow the sharing of printers with other computers on the network Do not share this printer e Share this printer
43. isoping 192 168 1 1 Pinging 192 168 1 1 with 32 bytes of data Reply from 192 168 1 1 bytes 32 timetims TTL 128 Reply from 192 168 1 1 bytes 32 timetims TTL 128 Reply from 192 168 1 1 bytes 32 timetims TTL 128 Reply from 192 168 1 1 bytes 32 timetims TTL 128 Ping statistics for 192 168 1 1 Packets Sent 4 Received 4 Lost BM Bx loss Approximate round trip times in milli seconds Minimum ms Maximum Ams Average Pms Gis Figure 3 16 Send Ping from PC2 to PC1 Cisoping 192 168 1 2 Pinging 192 168 1 2 with 32 bytes of data Reply from 192 168 1 2 bytes 32 timetims TTL 128 Reply from 192 168 1 2 bytes 32 timetims TTL 128 Reply from 192 168 1 2 bytes 32 timetims TTL 128 Reply from 192 168 1 2 bytes 32 timetims TTL 128 Ping statistics for 192 168 1 2 Packets Sent 4 Received 4 Lost BM CB loss Approximate round trip times in milli seconds Minimum Bms Maximum Ams Average Pms GIN Figure 3 17 Send Ping from PC1 to PC2 8 Connect a printer to PC1 and load the appropriate drivers Once the printer is fully installed rename it e g to Printer on PC1 Then go to the Start menu and click on Settings followed by Printers and Faxes if the Printers and Faxes window is not already available Printers and Faxes Sele File Edit View Favorites Tools Help ae gt gt Back O Search ac gt A Barc Address Printers and Faxes w Add Printer Pr
44. ndows Network E J Corp W 192 168 1 1 Ly ShareFolderviaMOST gt Figure 3 12 Shared Folder on PC2 File Copyright 2006 2012 SMSC Document Version V4 0 X 1 Date 2012 08 24 Application Note Page 19 MOST Tool Kit Application Examples 3 2 Sharing Printers This section outlines how to share a printer inside the Windows operating system with another PC connected to the MOST network using the MOST PC Interface as a network card 3 2 1 Requirements 1 2PCs running Windows 7 or Windows XP with administrator rights and a MOST PC Interface installed on each PC 2 MOST Driver Stack is installed 3 The MOST PC Interfaces have to be switched to static IP address as described in the user manual MOST Tool Kit Installation Guide 4 INIC based MOST PC Interface see page 8 e Installation of MOST Tool Foundation inclusive the MOST Interface Control delivered on an USB stick If the MOST Interface Control connected to a MOST PC Interface starts the MOST network for the first time the OS s hardware wizard detects the MOST NDIS Adapter For the installation of the MOST NDIS Driver switch to the MOST Tool Kit Installation Guide 3 5 lt is assumed all MOST nodes in the MOST system have a unique node address Check it according to step 4 on page 13 Application Note Copyright O 2006 2012 SMSC Page 20 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 3 2 2 Step b
45. nel Note most of the settings take full effect after restarting playback Apply v2 87 d Figure 4 9 Winamp DirectSound Output Settings 12 Click OK in Figure 4 9 and click in the Preferences window to continue 13 Winamp is now configured to output the audio data played onto the MOST network Open any audio files in Winamp to learn how to do this utilize the Winamp help and click the play button 14 The audio is now being streamed to the MOST network 15 On PC2 start the Sound Recorder by clicking on Start Programs Accessories Entertainment Sound Recorder 2 Sound Sound Recorder File Edit Effects Help Positions Length 0 00 sec 0 00 sec cc gt Figure 4 10 Sound Recorder 16 Click on the Edit menu and select Audio Properties from the menu Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 45 MOST Tool Kit Application Examples 3 Sound Sound Recorder File Edit Effects Help Posi Copy 0 00 Audio Properties Figure 4 11 Sound Recorder Edit Menu 17 In the Sound recording section choose MOST Audio Channel 0 or MOST Capture 0 from the drop down list Audio Properties Audio Devices Sound playback Ya l Default device y F MOST Audio Channel 0 D v Sound recording A Default device 4 E OST Audio Channel O Nes
46. nel index channel width and packet width Default as on PC1 Add the Channel Label according to the source specified on PC1 PC1 Open an Explorer again switch to the CD and copy one of the video demo files folder Add_ons Demo Files on the CD into the installation folder e g C Program Files SMSC MOST Driver Stackibin This means the video demo file and the application mbstream should be located in the same folder PC1 Switch to the Command Prompt window PC1 Enter mbstream ts2iso d0 i0 I example ts where mbstream is a utility that is able to transmit e g packet data over a MOST network and that reads and provides the Video and Audio PIDs ts2iso is a command that reads TS packets from file and sends the packets to MOST d0 is a command that must be entered in case multiple MOST INIC devices are installed but can be omitted in this case as there is only one MOST PC Interface installed 0 is a command that describes the zero based index of the isochronous hardware ports lis a command that loops i e that restarts from the beginning when the end of the file is reached example ts is a demo video file used in this example Use one of the files you have copied into your installation folder some steps previously source folder Add_ons Demo Files on the CD PC1 Refer to the readme rtf file and view the settings of the video demo file you have transmitted 1 To view a live stre
47. nnot be started refer to chapter 6 on page 32 MOST PC Interface stands for the assembled interface Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 13 MOST Tool Kit Application Examples Windows IP Configuration Ethernet adapter MOST Windows Host Mame Primary Dns Suffix Mode Type IP Routing Enabled WINS Proxy Enabled DNS Suffix Search List Connection specif ic Description Physical Address Dhep Enabled IP Address Subnet Mask Default Gateway system DNS Suf Fix PCi Hybrid Ho Network Device on MOST PCI Interface 1580 0P3446B gt 66 66 66 66 61 68 H o 192 168 1 1 255 255 2558 Figure 3 3 Ipconfig Command for PC 1 Showing 192 168 1 1 for IP Address IP Configuration Host Name a Primary Dns Suffix Mode Type a IP Routing Enabled WINS Proxy Enabled DNS Suffix Search List Ethernet adapter MOST system Connection specific Description Physical ddress Dhcp Enabled IP Address Subnet Mask Default Gateway DNS Suf fix PC2 Hybrid Ho Network Device on MOST PCI Interface 1580 lt 0P3404 gt 46 80 40 40 41 41 Ho 192 168 1 2 255 255 255 6 Figure 3 4 Ipconfig Command for PC2 Showing 192 168 1 2 for IP Address Now use the ping command to assure that each PC can reach the other GC ping 192 168 1 1 Pinging 192 168 1 1 with 32 bytes of dat
48. ntemet Connection sharing JS Cancel Figure 3 31 Sharing Internet Connection PC1 Select Allow other network users to connect through this computer s Internet connection PC1 Click OK PC2 Go to the Control Panel PC2 Double click Network Connections PC2 Double click the MOST network connection having the device name Network Device on MOST PC Interface where MOST PC Interface stands for one of these interfaces o MOST PCI Interface 250 o MOST PCI Interface 50e o MOST PCI Interface 1500 PC2 Click PC2 Choose Internet Protocol TCP IP and click Properties PC2 Enter the MOST network IP address of PC1 in Default gateway e g 192 168 1 1 PC2 Select Use the following DNS server addresses PC2 Enter the MOST network IP address of PCT in Preferred DNS server e g 192 168 1 1 Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 33 MOST Tool Kit Application Examples Internet Protocol TCP IP Properties a General ou can get IF settings assigned automatically if your network supports this capability Othenwise vou need to ask pour network administrator for the appropriate IP settings Obtain an IP address automatically Use the following IP address IF address 192 168 1 2 Subnet mask 255 255 255 Default gateway 192 168 1 1 Use the following DNS server addresses Preferre
49. pplications MOST Interface Control mbtest and mbstream The MOST Interface Control is provided on the CD It controls startup and shutdown of the MOST network and manages the channel allocation for INIC related MOST PC Interfaces Mbtest and mbstream are applications started in the Command Prompt window They are installed together with the MOST Driver Stack Mbtest is used to send an isochronous data stream to the MOST network Started on a second PC mbtest receives the transferred isochronous data stream and checks by using a counter whether the transmission is complete Mbtest uses a fixed bandwidth i e timestamps are not considered see section 5 1 2 1 on page 49 If an optimized transmission shall be tested e the timestamps have to be considered mbstream has to be used instead It adjusts the payload data to send see section 5 1 2 2 on page 53 This means mbtest is used to check whether the transmission is possible whereas mbstream is used to transmit real videos In the example beneath the MPEG decoder functionality of the ffdshow revision 3119 is taken for verifying ffdshow is a free media encoder and decoder that supports a lot of video and audio formats 5 1 1 Requirements 1 2 PCs running Windows 7 or Windows XP with administrator rights and a MOST PCI Interface 1500 installed on each PC 2 MOST Driver Stack is installed MOST150 network 4 MOST PCI Interface 1500 V2 e Installation of MOST Tool Foundation inclusive the
50. rdingly MOST PCI Interface 250 NIC added Examples adapted accordingly Document completely revised Examples also adapted for MOST PCI Interface 250 NIC Step by step instructions split in INIC and NIC specific steps Title adapted section added First version Copyright 2006 2012 SMSC Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples Table of Contents A mers Se ee a OR POE NE Ne ea 7 1 1 RUES IRIS SG RE SC A RR CA r O O ancien 7 A VANN ARR r a a r A OI ee 7 CEE A ceed aiet edeeade hag elacbeuten drop seth ds eo hue alias 7 14 HIT ORITIATON SOUL COS naie E a ones lors A ete 7 MO CIN SR RS 8 z INTRODUCTION oscura ono o 9 3 THE MOST PC INTERFACE AS A NETWORK CARD ocncccoccconccconcnnonaccnnaconancnnnonenannnnaronanrenannnnas 10 3 1 Fo 6 2 ke A A A T E et 10 3 1 1 Requirements tio das 10 3 1 2 DIED DY SEASON e a 12 02 o A die aa site 20 32 1 A O ne dt 20 3 2 2 Step By Step INSWUCIONS cd ce A ees 21 3 3 Setting up a Gateway via MOST occconnccncnccccnccocnoconnoconcononccnnnonnnnonannonnnnonnnnonnnnnnnnnnannonannnnnnnnns 29 3 3 1 REQUIEM e oa 29 3 3 2 Step by Step INSWUGHON Side cee ale 30 4 THE MOST PC INTERFACE AS A SOUND CARD oncincccoccconccconccnonanonnarnnnanonnanenannnnaronnarenancenannnnas 35 4 1 Playing Audio SINO WINS Dorada lara latin 35 4 1 1 A e o REO O dan 35 4 1 2 Step DV Step MMS AN 36 4 2 Recording Audio Using Sound Recorder LR 40 4 2 1 FRECGUINGI
51. re all MOST nodes in the MOST system have a unique node address On both PCs switch to the Node tab and set e g on PC1 node address 0x0100 and e g on PC2 node address 0x0101 5 PC1 Switch back to the Mode tab and select Master The MOST network should have light and lock The status bar shows the status of the connection the network state and the lock state When switching back to the Node tab the MOST Interface Control shows the current values of the Node Address the Group Address the Node Position Address and the Boundary 6 Verify the modifications are valid Open a Command Prompt window on each PC PC1 and PC2 as shown in Figure 3 2 on page 12 Determine the IP address of each MOST PC Interface by typing ipconfig all at the command prompt and press the Enter key Afterwards a list of the current interfaces is displayed Find the entry for e g Network Device on MOST PC Interface Windows XP and locate the IP Address entry The values for IP address and Subnet Mask have to match the values entered during the installation of the MOST NDIS driver described in the user manual MOST Tool Kit Installation Guide The Physical Address has to show the node address that has been changed in the Node tab of the MOST Interface Control If there are other entries disable them prior to continuing see Windows XP help files for instructions on disabling Network adapters 1 If the MOST Interface Control ca
52. red with e MOST PC Interface e Cables e USB stick MOST Tool Kit Software containing o MOST Device Drivers o MOST Tool Foundation o User manuals Check your shipment for completeness If you have any complaints direct them to sales ais europe smsc com Europe and Asia or to sales ais usa smsc com America Providing the delivery note number eases the handling 1 4 Information Sources 1 MOST Tool Kit Application Examples this document 1 It offers a series of recipes to provide an understanding of some of the possibilities available when using a MOST PC Interface 2 MOST Driver Utilities 2 It describes small utilities installed together with the MOST Driver stack e MOST Control Panel e MOST Video Viewer e mbtest 3 MOST Tool Kit Installation Guide 3 It covers e a software overview for INIC based MOST PC Interfaces the installation of the MOST PC Interfaces the installation of the drivers the installation of the MOST Tool Foundation the removal of the software installations Copyright 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 7 MOST Tool Kit Application Examples 1 5 Terms Within this manual the following terms are used for improving readability Terms Description INIC based e MOST PCI Interface 1500 MOST PC Interfaces e MOST PCI Interface 50e e MOST PCI Interface 250 MediaLB Media Local Bus MOST Media Oriented Systems Transport MOST NDIS adapter Dri
53. rs printers files Internet connection etc The following section outlines some of the possibilities available for networking using the MOST PC Interface 3 1 Folder Sharing This section outlines how to use the MOST PC Interface as a network card in order to share folders of the operating system across the MOST network 3 1 1 Requirements 2 PCs running Windows 7 or Windows XP with administrator rights and a MOST PC Interface installed on each PC 2 MOST Driver Stack is installed 3 The MOST PC Interfaces have to be switched to static IP address as described in the user manual MOST Tool Kit Installation Guide 4 INIC based MOST PC Interface see page 8 Installation of MOST Tool Foundation inclusive the MOST Interface Control delivered on an USB stick If the MOST Interface Control connected to a MOST PC Interface starts the MOST network for the first time the OS installs the MOST NDIS Adapter For the installation of the MOST NDIS Driver switch to the MOST Tool Kit Installation Guide 3 5 The Windows firewall has to be switched off for this example Therefore start Control Panel double click Windows Firewall and select Off Application Note Copyright O 2006 2012 SMSC Page 10 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples Windows Firewall General Exceptions Advanced our PC is not protected turn on Windows Firewall Windows Firewall helps protect your computer
54. sms AN SUCCESS BY DESIGN MICROCHIP Multimedia and Control Networking Technology MOST Tool Kit Application Examples V4 0 X Application Note Document Information Version V4 0 X 1 Date 2012 08 24 MOST Media Oriented Systems Transport Copyright O 2006 2012 SMSC MOST Tool Kit Application Examples Further Information For more information on SMSC s automotive products including integrated circuits software and MOST development tools and modules visit our web site http www smsc ais com Direct contact information is available at http www smsc ais com offices SMSC Europe GmbH Bannwaldallee 48 76185 Karlsruhe GERMANY SMSC 80 Arkay Drive Hauppauge New York 11788 USA Technical Support Contact information for technical support is available at http www smsc ais com contact Legend Copyright 2006 2012 SMSC All rights reserved Please make sure that all information within a document marked as Confidential or Restricted Access is handled solely in accordance with the agreement pursuant to which it is provided and is not reproduced or disclosed to others without the prior written consent of SMSC The confidential ranking of a document can be found in the footer of every page This document supersedes and replaces all information previously supplied The technical information in this document loses its validity with the next edition Although the information is believed to be accurate
55. test for Sending Application Note Copyright 2006 2012 SMSC Page 50 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 10 PC1 Enter mbtest d0 isopackettx 0 where mbtest is a small command line reference application designated to test the transmission over the MOST network dis an optional parameter indicating a device number is following In the case only one MOST PC Interface is installed this optional parameter can be omitted By default a device number 0 is taken If e g two MOST PC Interfaces are installed in PC2 it depends on the sequence of the devices whether this parameter needs to be added or not Use MOST Control Panel to find out how many devices are installed on your PC Click Start Programs SMSC MOST Driver Stack MOST Control Panel 0 is the number of the device e g a MOST PCI Interface 1500 device isopackettx is a command that sends a continuous isochronous data stream to the MOST network 0 is the first instance there are two instances available 11 PCT Press the Enter key This starts sending a continuous isochronous data stream to the MOST150 network Beneath the sent buffers are counted and displayed The action can be stopped by pressing the Q and the Enter keys 12 PC2 Open a Windows Explorer Navigate to the installation folder specified during the installation of the MOST Driver Stack Assuming default settings have been
56. ver for network device on a MOST PC Interface driver optical Physical Layer OptoLyzer OL3050e or an OptoLyzer OL31500 PS Quadlet 4 byte wide units on the MOST Frame Schwan ts Special video streams They can be found on the MOST Tool Foundation CD Click SchwanHD1 ts Browse CD and then browse to the folder Data Add_ons Demo Files SchwanHD2 ts smsc_demo mpg Table 1 1 Terms Application Note Copyright 2006 2012 SMSC Page 8 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 2 Introduction This application note offers a series of recipes to provide an understanding of some of the possibilities available when using a MOST PC Interface A MOST PC Interface refers to either a MOST PCI Interface 250 a MOST PCI Interface 50e or a MOST PCI Interface 1500 Each of them can be used in the examples provided in this documentation The MOST PC Interface is addressed to different kinds of users 1 Users who run only their applications network functionality sound and video using the MOST PC Interface Several examples demonstrate by using the MOST Interface Control how the MOST PC Interface can be used 2 MOST NetServices developers interested in using the MOST NetServices V2 x Basic Example as a reference for their own MOST NetServices application development have to contact the technical support to get the sources and for specific licenses Addresses can be found on page 2 T
57. width that is associated with the index 15 PC2 Switch to page TS Settings 16 PC2 Enter the following settings video PID video type e g H264 or MPG2 audio PID audio type e g Dolby AC3 or MPEG Audio Enter them according to your choice of the video demo file Refer to the readme rtf that has been opened on PC1 in a previous step folder Add_ons Demo Files on the CD 17 PC2 Switch to page DirectShow 18 PC2 Ensure a video and an audio decoder are installed that are capable to view the video demo file Select these decoders on tab DirectShow 19 PC2 Then click Start The MOST Video Viewer plays the video stream using the selected decoders Note Via the application GraphEdit a developer tool which allows working with DirectX filter drivers you can view the video stream on PC2 For more details please contact support ais de smsc com 11 Use e g ffdshow but of course all decoders that are capable to handle the files are allowed Application Note Copyright 2006 2012 SMSC Page 54 Document Version V4 0 X 1 Date 2012 08 24 MOST Tool Kit Application Examples 5 1 2 3 DTCP Extension MOST Tool Kit offers some additional features regarding DTCP streams In comparison to the default TS mode providing 188 bytes MOST also defines an extended stream using 8 bytes DTCP header for encrypted audio video transmissions For complete description of DICP on MOST please refer to
58. y Step Instructions 1 Hook up the MOST network as follows Printer 1 USB e g MOST PC Interface Figure 3 13 MOST Network Setup Share Printer 2 Onthe PCs make sure to log on to an account with administrator privileges 3 On both PCs Start the MOST Interface Control Click Start Programs SMSC MOST Tool Foundation MICtrl 4 PC1 Switch to the Mode tab if necessary and select Master The MOST network should have light and lock The status bar shows the status of the connection the network state and the lock 5 Open a Command Prompt window on each PC PC1 and PC2 as shown in Figure 3 13 on page 21 Determine the IP address of each MOST PC Interface by typing ipconfig all at the command prompt and press the Enter key If the MOST Interface Control cannot be started refer to chapter 6 on page 32 Copyright O 2006 2012 SMSC Application Note Document Version V4 0 X 1 Date 2012 08 24 Page 21 MOST Tool Kit Application Examples 6 Afterwards a list of the current interfaces is displayed Find the entry for e g Network Device on MOST PC Interface Windows XP and locate the IP Address entry The values for IP address and Subnet Mask have to match the values entered during the installation of the MOST NDIS driver described in the user manual MOST Tool Kit Installation Guide If there are other entries disable them prior to continuing see Windows XP help

Download Pdf Manuals

image

Related Search

Related Contents

デジタル・アナログ変換器 NAV    MKP080  MANUAL DE INSTRUÇÕES  Invantive Control User Manual  BP1 - Cem  Untitled - Foyer Laekenois  

Copyright © All rights reserved.
Failed to retrieve file