Changes between Version 23 and Version 24 of Hardware/jCM/dCM3/dUsage
- Timestamp:
- Dec 19, 2011, 7:24:08 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Hardware/jCM/dCM3/dUsage
v23 v24 1 1 [[TOC(Hardware/cCM/cCM3/*, depth=3)]] 2 2 3 == Installing the CM3==4 === Connections to the CM3===3 === Installing the CM3 === 4 ==== Connections to the CM3 ==== 5 5 The 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. 6 6 … … 9 9 The 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. 10 10 11 === Turning the CM3 on===11 ==== Turning the CM3 on ==== 12 12 13 13 The 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. … … 15 15 When 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. 16 16 17 == Using the CM3==17 === Using the CM3 === 18 18 The 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. 19 19 20 === UDP===20 ==== UDP ==== 21 21 UDP 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. 22 22 23 === Command line interface (CLI) access===23 ==== Command line interface (CLI) access ==== 24 24 25 25 Base on telnet to port 8023 (also used for Lantronix access). You can find more about implemented commands with "?" e.g.: … … 39 39 }}} 40 40 41 ==== Command line commands====41 ===== Command line commands ===== 42 42 43 43 || '''''Node related commands''''' || … … 76 76 }}} 77 77 78 === Serial to Telnet tunnel===78 ==== Serial to Telnet tunnel ==== 79 79 80 80 Telnet 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: … … 85 85 || Flow Control || None || 86 86 87 === HTTP commands===87 ==== HTTP commands ==== 88 88 89 89 There are 5 commands that can be accessed through HTTP … … 102 102 If the cm has not been accessed through http prior since the last reset, then it will ask for the administrative username and password. 103 103 104 === Custom Phone control firmware===104 ==== Custom Phone control firmware ==== 105 105 106 106 There 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. 107 107 108 ==== HTTP commands====108 ===== HTTP commands ===== 109 109 || Http address || function description || 110 110 || /1l || 5 second 'button press on button 1 || … … 115 115 || /3s || same as above for button 3 || 116 116 117 ==== UDP====117 ===== UDP ===== 118 118 119 119 no UDP support for this 120 120 121 ==== CLI====121 ===== CLI ===== 122 122 123 123 {{{ … … 137 137 }}} 138 138 139 ==== Connections====139 ===== Connections ===== 140 140 Right now the connections are as such 141 141