Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEP SMARC iMX6

1,200 bytes added, 10:30, 30 May 2016
no edit summary
== CAN BUS ==
To be able to communicate the board via CAN bus, we will use can0 interface and the J1002 connector. We can communicate with another IGEP0046 or an IGEP0030 (via J9001 in IGEP BERLIN), but also with a wide variety of CAN sensors and devices. In this example, we use two IGEP boards. * We must, first of all, set the interface up in each device. We can do it with ip commands:<pre>ip link set can0 up type can bitrate 125000</pre> ''Where 'under construction''can0''' is the interface we will use''* Then we must choose who will send data and who will receive it; for the one to receive we will use the following line:<pre>candump can0</pre>''Where '''can0''' is the interface we will use''* For the one to send CAN data, we will use the following command: <pre>cansend can0 -i 0x123 0xaa 0xbb 0xcc 0xdd</pre>''Where '''can0''' is the interface we will use, '''-i 0x123''' is used to identify the device as 0x123, and '''0xaa 0xbb 0xcc 0xdd''', the data to be sent.'' * We should get this in the CAN receiver:<pre><0x123> [4] aa bb cc dd</pre>  * To stop receiving data, press '''Ctrl+C''' in the listening device.
== Audio ==
<pre>ums 0 mmc 1</pre>
''Where '''0 ''' is the USB device number 0 (USB OTG, in this case), '''mmc ''' is the kind of storage device to be read (mmc or sata), and '''1 ''' is the storage device number, in this case mmc1 (onboard eMMC).''
* If correctly done, U-boot should print something similar to the next line, and a mass storage device should appear in your computer.
* You can now backup its contents, as well as format it, make partitions, or [http://labs.isee.biz/index.php/How_to_create_a_SD-card_with_the_latest_software_image use igep-media-create to flash it with an image]; all straight from the computer.
 
* To stop UMS, press '''Ctrl+C''' and the mass storage device in your computer should disappear.
== Boot from SATA ==