Changes between Version 9 and Version 10 of Docs/Prog/Manual/DeviceSupport/USB


Ignore:
Timestamp:
11/18/11 16:57:35 (13 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/DeviceSupport/USB

    v9 v10  
    8787
    8888== USB to PC communications ==
    89 The first time the 825 is connected to a Windows PC a driver my may required to be installed. Refer to the attachments at the bottom of these page to download Windows driver files.
    9089
    91 To load the driver for USB to PC communications type:
    92 
     90To load the driver in the 825 for USB to PC communications from a connected terminal type:
    9391{{{
    9492# modprobe g_serial use_acm=1
    9593}}}
    96 When the 825 is connected to the PC it will be recognized by the PC and if the driver is not already installed it will prompt for it. Refer to “gadget_serial.txt”
     94
     95This can also be performed from within a custom application program.
     96{{{
     97sytem("modprobe g_serial use_acm=1");
     98}}}
     99
     100When the USB cable is connected from the 825 to the PC it will be recognized by Windows and if the driver is not already installed Windows will prompt for it. Refer to the attachments at the bottom of this page to download Windows driver files.
    97101
    98102When the driver is installed the PC will appear to have another COM port. For testing on the PC you can then open a communications program such as HyperTerminal and set it to the appropriate COM port (which is actually a USB connection).
    99103
    100 On the serial connection to the indicator type:
    101 
     104On the terminal connection to the indicator type:
    102105{{{
    103106# echo “abcdefg” > /dev/ttygserial
     
    105108“abcdefg” will then appear on the Hyperterm display.
    106109
     110On the terminal connection to the indicator type:
    107111{{{
    108112# cat < /dev/ttygserial
     
    114118123456<CR>
    115119}}}
    116 On the serial connection to the indicator type:
    117120
    118 The received characters “123456” from the PC will then be displayed.
     121The received characters “123456” from the PC will then be displayed on the terminal connected to the 825.
     122
     123Custom 825 application programs may use serial communications code to send and receive data over USB in much the same way as with the COM ports.
    119124
    120125[[Top]]