Difference between revisions of "Getting Started With Minicom"

From wiki.emacinc.com
Jump to: navigation, search
Line 43: Line 43:
 
{{clos}}
 
{{clos}}
  
* The first thing that will need to be configured is the '''serial port setup'''. Arrow down to the title and press the Enter key.<br/>[Screenshot?]
+
* The first thing that will need to be configured is the '''Serial port setup'''. Arrow down to the title and press the Enter key.<br/>[Screenshot?]
  
 
* To modify the different configurations, press the key corresponding to the setting. For example, press the 'A' key to modify the '''Serial Device'''. Press the 'Enter' key to save the parameters for the setting. The EMAC devices will require the '''Bps/Par/Bits''', and flow control settings. Set '''Bps/Par/Bits''' to 115200 baud, 8 data bits and no priority. Set both flow control settings to ''''No''''. Press the 'Esc' key to save the settings and to be be brought back to the configurations page.<br /> [definitely use a screenshot here]
 
* To modify the different configurations, press the key corresponding to the setting. For example, press the 'A' key to modify the '''Serial Device'''. Press the 'Enter' key to save the parameters for the setting. The EMAC devices will require the '''Bps/Par/Bits''', and flow control settings. Set '''Bps/Par/Bits''' to 115200 baud, 8 data bits and no priority. Set both flow control settings to ''''No''''. Press the 'Esc' key to save the settings and to be be brought back to the configurations page.<br /> [definitely use a screenshot here]
  
*  
+
* The next setting that needs to be configure is the '''Modem and dialing'''. Press the 'A" key and delete its content. Hit the 'Enter' key to save the setting as blank. Do this for B-K, and H. Hit the 'Esc' key when finished deleting the content of these settings. That's all the modifications that need to be done to get <code>minicom</code> set up. Arrow down to '''Exit from Minicom''' and press 'Enter'.
 +
 
 
</cl>
 
</cl>
 +
 +
== Running Minicom ==
 +
Now that everything is configured, let's make the connection to the device. Run the <code>minicom</code> command with the option <code>-D</code> and the path to the device as an argument.
 +
{{clo|indent=1}}
 +
{{clio|minicom -D /dev/ttyS10|hostname=developerpc|username=user}}
 +
{{clos}}
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*********************************************************************************************************/ -->
 
<!-- /*****************************************      Examples        *****************************************/ -->
 
<!-- /*****************************************      Examples        *****************************************/ -->

Revision as of 15:31, 29 October 2015

TODO: {{#todo: InProgress (10.28.2015-16:36->JJ+)|Jeffrey Jung|OE 5.0,InProgress,JJ,MD}}

Background

minicom is a serial communication program that connects to devices through a GNU/Linux PC's serial ports. If run my calling its name without any additional arguments, it uses whatever settings have been saved for its defaults in /etc/minicom/minirc.dfl. For those using a Windows, PuTTY is a great application to make such connections. More information about PuTTY can be found at http://wiki.emacinc.com/wiki/PuTTY.


General Information

The use of minicom is required when connecting to and EMAC board for testing purposes. This pages sets out to provide general information about using minicom as well as a guide to demonstrate using minicom to connect with EMAC devices.

Getting Started With Minicom

Hey!!! Create a nice intro type thing for the procedure.

  1. If minicom has yet to be installed on your development Linux machine, use apt-get to install the minicom package

    user@developerpc:~# sudo apt-get install minicom
  2. The minicom settings will need to be changed so that the application will be able to find your device. Pull up the settings using the -s option.

    user@developerpc:~# minicom -s
  3. The first thing that will need to be configured is the Serial port setup. Arrow down to the title and press the Enter key.
    [Screenshot?]

  4. To modify the different configurations, press the key corresponding to the setting. For example, press the 'A' key to modify the Serial Device. Press the 'Enter' key to save the parameters for the setting. The EMAC devices will require the Bps/Par/Bits, and flow control settings. Set Bps/Par/Bits to 115200 baud, 8 data bits and no priority. Set both flow control settings to 'No'. Press the 'Esc' key to save the settings and to be be brought back to the configurations page.
    [definitely use a screenshot here]

  5. The next setting that needs to be configure is the Modem and dialing. Press the 'A" key and delete its content. Hit the 'Enter' key to save the setting as blank. Do this for B-K, and H. Hit the 'Esc' key when finished deleting the content of these settings. That's all the modifications that need to be done to get minicom set up. Arrow down to Exit from Minicom and press 'Enter'.


Running Minicom

Now that everything is configured, let's make the connection to the device. Run the minicom command with the option -D and the path to the device as an argument.

user@developerpc:~# minicom -D /dev/ttyS10

Examples

Conclusion

Further Information

Where to Go Next
Pages with Related Content