Difference between revisions of "Example io demo"

From wiki.emacinc.com
Jump to: navigation, search
Line 25: Line 25:
  
 
This is a SOM-150ES carrier board<br />
 
This is a SOM-150ES carrier board<br />
[[File:Som 140 carrier board|500px]]
+
[[File:Som_150.jpeg | 500px]]
 
 
  
 
'''Usage for io_demo'''
 
'''Usage for io_demo'''
  
io_demo
+
    <code>io_demo</code>
 
 
ie: ./io_demo
 
  
A menu appears.<br />
+
Running the program brings up a menu.<br />
 
[[File:Io demo terminal menu.jpg|i2c menu]]
 
[[File:Io demo terminal menu.jpg|i2c menu]]
  
 
'''hey mike. This program doesn't work. It starts off with "couldn't open /dev/portb, couldn't open /dev/portc" and then gives me "operation not supported by this device" errors for all options. The only thing that works is the exit.'''
 
'''hey mike. This program doesn't work. It starts off with "couldn't open /dev/portb, couldn't open /dev/portc" and then gives me "operation not supported by this device" errors for all options. The only thing that works is the exit.'''

Revision as of 14:17, 19 November 2013

TODO: {{#todo:InProgress(11.14.13-14:07->JG+)|Jgreene|oe 4,oe 5,jg,md,Review}}

This procedure provides an overview of how to open, build and run the io_demo C example project using the Eclipse IDE.

Opening, Building and Uploading the Project Files

1. Open the C/C++ editing perspective.

stub

2. Open the io demo project files.

stub

3. Build the io demo project.

stub

4. Upload the io demo binary to the target machine.

stub

Description, Usage and Expected Behaviour

This is a demo program illustrating how to access different SOM-150ES carrier board io. To use this program you will need a SOM-150ES carrier board.

This is a SOM-150ES carrier board
500px

Usage for io_demo

   io_demo

Running the program brings up a menu.
i2c menu

hey mike. This program doesn't work. It starts off with "couldn't open /dev/portb, couldn't open /dev/portc" and then gives me "operation not supported by this device" errors for all options. The only thing that works is the exit.