Changes between Version 23 and Version 24 of Hardware/jCM/dCM3/dUsage


Ignore:
Timestamp:
Dec 19, 2011, 7:24:08 PM (12 years ago)
Author:
Ilya Chigirev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Hardware/jCM/dCM3/dUsage

    v23 v24  
    11[[TOC(Hardware/cCM/cCM3/*, depth=3)]]
    22
    3 == Installing the CM3 ==
    4 === Connections to the CM3 ===
     3=== Installing the CM3 ===
     4==== Connections to the CM3 ====
    55The CM3 card has a few external connections. The power connector (on board revision 4) uses a Tyco Electronics 2 pin surface mount header, the mating side to this header is [http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=A98602-ND here]. Using vampire clips connect the positive power cable to the standby voltage from the node power supply (PS), which is typically the purple cable, or pin 9 on the 20(+4) pin power power connector. The ground wire can be connected to any of the PS ground cables.
    66
     
    99The serial header is used to connect to the serial port on the mother board, the J4 header is another way of accessing the serial lines and uses a standard 2x5 100mil pin spacing. In the present configuration the serial cable should be a straight cable, and not a crossover (or null modem). If you wish to use a null model cable the resistors R17 and R18 must be populated, and R15 and R16 removed. The last connection that needs to be made is the power monitoring cable, which is the floppy power cable from the PS. This feeds the voltage that the CM will monitor to determine the state of the node.
    1010
    11 === Turning the CM3 on ===
     11==== Turning the CM3 on ====
    1212
    1313The Lantronix Xport AR does not refresh its IP address when an ethernet cable is plugged in to is it important the that MAC address of the device already be in DHCP with the appropriate address, and that the ethernet cable be already plugged in when the device is powered on. If it is not in DHCP and plugged in to the network it will default to some unknown IP address, and will not change until reset or power cycled.
     
    1515When the CM3 turns on the software will start sending UDP packets to the CMC and waiting for responses as well as monitoring the hardware status of the node. This will only happen after the Xport AR has gone through it's own boot sequence, which includes getting its IP address from the DHCP sever and booting into the custom code loaded with the CM3 image.
    1616
    17 == Using the CM3 ==
     17=== Using the CM3 ===
    1818The CM3 board, once properly plugged in and powered up will find an IP address and then load the custom software written automatically. Once the node has and IP and is powered up it should start communicating with the CMC right away. For details on the way the software works please refer to the [http://www.orbit-lab.org/wiki/Hardware/CM/cCM3/02-SoftwareDescription Software Description] or look at the code repository in the SVN. The UDP commands are described in more detail in the software description.
    1919
    20 === UDP ===
     20==== UDP ====
    2121UDP is the primary way to control the node, and is always running in the software. UDP is used to communicate between the CMC and the CM, each command from the CMC has a ACK (in software) to signify that the command was received and processed. UDP allows for the powering on, off, and reset of the node, as well as a reset command to the CM and enabling and disabling the update feature.
    2222
    23 === Command line interface (CLI) access ===
     23==== Command line interface (CLI) access ====
    2424
    2525Base on telnet to port 8023 (also used for Lantronix access). You can find more about implemented commands with "?" e.g.:
     
    3939}}}
    4040
    41 ==== Command line commands ====
     41===== Command line commands =====
    4242
    4343 || '''''Node related commands''''' ||
     
    7676}}}
    7777
    78 === Serial to Telnet tunnel ===
     78==== Serial to Telnet tunnel ====
    7979 
    8080Telnet to IP address of CM and you will get access to serial console of the node. The default serial settings for the serial-to-telnet tunnel are:
     
    8585|| Flow Control || None ||
    8686
    87 === HTTP commands ===
     87==== HTTP commands ====
    8888
    8989There are 5 commands that can be accessed through HTTP
     
    102102If the cm has not been accessed through http prior since the last reset, then it will ask for the administrative username and password.
    103103
    104 === Custom Phone control firmware ===
     104==== Custom Phone control firmware ====
    105105
    106106There is a slightly altered version of the standard firmware designed for controlling a phone though the 3 most common buttons: power, up, and down. All the existing commands from the standard firmware still exist, so depending on the physical connections enacting the 'reset node' command may activate the 'down button' command because they access the same control pins. For this reason, for this firmware it is encuraged to only use the button 1/2/3 commands and nothing else. 
    107107
    108 ==== HTTP commands ====
     108===== HTTP commands =====
    109109|| Http address || function description ||
    110110|| /1l || 5 second 'button press on button 1 ||
     
    115115|| /3s || same as above for button 3 ||
    116116
    117 ==== UDP ====
     117===== UDP =====
    118118
    119119no UDP support for this
    120120
    121 ==== CLI ====
     121===== CLI =====
    122122
    123123{{{
     
    137137}}}
    138138
    139 ==== Connections ====
     139===== Connections =====
    140140Right now the connections are as such
    141141