background image

8.

 

Controlling the E20 from the SM220 

The SM220 has two pins dedicated to interfacing with the E20.   

 

GPIO_C4 – system reset.  Active low.  Triggers a hardware reset on the E20. 

 

GPIO_F2 – Interrupt / General Use – Tied to GPIO 32 on the E20 

GPIO_F2 can be used to signal the E20 that some event of interest has occurred that might want to be 
responded to even if a SnapConnect application is not running.  Below is a trivial example of how to monitor for 
this interrupt being raised: 

if [[ ! -d /sys/class/gpio/gpio32/ ]] ; then 
    echo 32 > /sys/class/gpio/export 
    echo in > /sys/class/gpio/gpio32/direction 
fi 
 
while [[ `cat /sys/class/gpio/gpio32/value` != 0 ]] ; do 
    sleep 1 
done 
 
echo "Got interrupt!" 

 

9.

 

Factory Restore 

Factory restore is accomplished using a USB flash drive. 

 

Unzip e20-VERS-installer.zip to the root level of your flash drive 

 

Plug into the USB-A port on the E20 

 

Power, establish serial connection 

 

Interrupt u-boot 

 

Execute the following command: 

usb start; ext4load usb 0 0x12000000 uImage; ext4load usb 0 

0x18000000 imx6s-e20.dtb; setenv bootargs 

console=ttymxc0,115200 --no-log root=/dev/sda1 rootwait rw; 

bootm 0x12000000 - 0x18000000 

 

When the lights turn green, installation is complete and it is safe to remove power to restart the 
device. 

 

 

8

  

 

SNAP Connect E20 Users Guide  

 

Preliminary 

- Pre-Release 

Version

Содержание SNAP Connect E20

Страница 1: ...All Synapse products are patent pending Synapse the Synapse logo SNAP and Portal are all registered trademarks of Synapse Wireless Inc Doc 116 031520 002 A000 6723 Odyssey Drive Huntsville AL 35806 8...

Страница 2: ...ented in this Manual Redistribution of code and use in source and binary forms with or without modification are permitted provided that it retains the copyright notice operates only on SNAP networks a...

Страница 3: ...800MHz Freescale iMX6 S Flash 4GB eMMC RAM 512M DDR3L 400MHz Network 10 100 Ethernet WiFi SM220 USB host 1 USB client 1 micro SiLabs CP2102 Environmental Industrial 40C to 85C Board Size 15 5cm x 9cm...

Страница 4: ...Card Input Voltage DC 4 75 5 5 25 V Input Current TBD TBD TBD A Power Dissipation TBD TBD TBD W With Power Supply Daughter Card Input Voltage DC 10 28 V Input Current 0 13 0 28 1 5 A Power Dissipatio...

Страница 5: ...USB to UART Bridge o To connect to the E20 from a Linux PC look for dev ttyUSB0 in the dev directory Settings 115200 8N1 o Baud rate 115200 o 8 bits o No parity o 1 stop bit o No flow control To logi...

Страница 6: ...onnect run the following from the E20 command line sudo apt get install snapconnect SNAP helper utilities can be installed via sudo apt get install e20 snap utils The SNAP helper utilities provide the...

Страница 7: ...erals Controlling LEDs Provided by package e20 leds o usr local bin led a o usr local bin led b o usr local bin led c Usage o led a red o led a green o led a amber o led a off Reading the buttons Prov...

Страница 8: ...ornado o u boot utils o unifi sdio Bluegiga Wi Fi drivers o ppp o Several E20 helper scripts e20 cell helpers Telit cell modem example scripts Scripts to reset disable and enable the cell modem e20 le...

Страница 9: ...ep wakeupOn GPIO_F1 True False Then when it is desired for the node to be woken up toggle GPIO 34 briefly To do this call the provided wake snap node script which will perform this function for you au...

Страница 10: ...class gpio gpio32 direction fi while cat sys class gpio gpio32 value 0 do sleep 1 done echo Got interrupt 9 Factory Restore Factory restore is accomplished using a USB flash drive Unzip e20 VERS insta...

Страница 11: ...s connected An unaddressed bug in Ubuntu 14 04 can affect E20 units with eth0 configured to come up automatically in DHCP mode If you had an IP address before and the lease on your address has not pas...

Страница 12: ...id myssid psk 2f0568b3492812bd56b946dbaf3fd7dd669b9a4602a09aa6462ff05 7949b025c o You may need additional options depending on your network setup o You can now either run sudo ifup wlan0 to bring up t...

Страница 13: ...interfaces 5 file used by ifup 8 and ifdown 8 Include files from etc network interfaces d allow hotplug eth0 iface eth0 inet dhcp auto wlan0 iface wlan0 inet static address 192 168 0 1 netmask 255 255...

Страница 14: ...owever examples for Verizon Wireless and Rogers Wireless are forthcoming Making a call using the Synapse provided PPP chat scripts pppd call telit att pppd call telit verizon pppd call telit rogers Th...

Страница 15: ...in accordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment...

Страница 16: ...lass A personal computers and peripherals The products listed above have been tested at an External Test Laboratory certified per FCC rules and has been found to meet the FCC Part 15 Emission Limits D...

Отзывы: