background image

Figure 38. Install prompt

The application is installed and the UWP application appears.

3. Click 

Start

.

The application name appears.

Figure 39. Application name in Start Menu

42

Setting Up the Windows 10 Operating System

Summary of Contents for EGW-3200

Page 1: ...Dell EMC Edge Gateway 3200 Software User s Guide Regulatory Model EGW 3200 Regulatory Type EGW 3200 NA August 2022 Rev A00 ...

Page 2: ...damage to hardware or loss of data and tells you how to avoid the problem WARNING A WARNING indicates a potential for property damage personal injury or death 2022 Dell Inc or its subsidiaries All rights reserved Dell Technologies Dell and other trademarks are trademarks of Dell Inc or its subsidiaries Other trademarks may be trademarks of their respective owners ...

Page 3: ...d Firmware Selector Tool and driver 15 Remove old and install new drivers 16 Update 5G firmware in Windows 17 4G module firmware update procedure 20 BMC firmware update procedure 21 Accessing and updating the BIOS 25 Access the BIOS settings 25 Update the BIOS using UEFI capsule update from Windows 25 SuperIO Function Library 26 Windows SIO API 27 Build the SIO sample application 28 Execute the SI...

Page 4: ...mes for Mini PCIe Cards 56 Sensor APIs 57 Chapter 3 Setting Up the Ubuntu Operating System 59 Boot up and log in 59 Create bootable USB stick for factory reset 59 Back up and restore Ubuntu 20 04 LTS 60 Update BIOS capsule 61 Update LiteBMC firmware 61 Update 4G module firmware 62 Update 5G module firmware 65 Ubuntu 20 04 LTS basic functions 67 System shutdown and restart 67 Ubuntu OTA update 67 L...

Page 5: ...nt USB storage 79 Configure watchdog 80 Configure GPIO 81 TPM tasks 82 Wake events 84 Isolated Canbus uFM expansion module 85 EMP2 X2S1 card with isolated RS 232 uFM expansion module 86 EMP2 X4S2 card with isolated RS 422 485 uFM expansion module 87 Contents 5 ...

Page 6: ...wing table defines the acronyms and abbreviations used throughout this document Table 1 Acronyms and abbreviations Acronym or abbreviation Definition API Application Programming Interfaces BIOS Basic Input Output System CPU Central Processing Unit DI Digital Input DO Digital Output GPIO General Purpose Input Output HWMon Hardware Monitor I2C Inter Integrated Circuit LAN Local Area Network LTSC Lon...

Page 7: ...Table 1 Acronyms and abbreviations continued Acronym or abbreviation Definition PCI Peripheral Component Interconnect USB Universal Serial Bus WDT WatchDog Timer Introduction 7 ...

Page 8: ...Intel PCH Controller Digital Input Output Function from PCA9535 GPIO Hardware monitor API Humidity and temperature sensor setup Pressure sensor setup Accelerometer sensor setup Intel OOB COM Port and Ethernet Names for Mini PCIe Cards Sensor APIs Boot up and log in Steps 1 Connect a keyboard mouse and monitor to the EGW 3200 2 Power on the system The system boots to the Windows 10 IoT Enterprise L...

Page 9: ...that did not come with the system will not be backed up Use a minimum of 4 GB USB storage and all data in the USB storage will be deleted Perform the following steps to create a USB based recovery drive Steps 1 In the search box next to the Start button search for Create a recovery drive and then select it You might be asked to enter an admin password or confirm your selection 2 When the tool open...

Page 10: ... an appropriate destination Click Next NOTE In the following screenshot a second SSD storage is used to create the backup Figure 3 Backup destination 4 Confirm which areas or partitions of your hard drive will be included in the image file then click the Start Backup button 10 Setting Up the Windows 10 Operating System ...

Page 11: ...power on keep pressing Delete and go to the BIOS settings 4 From Save and Exit in Boot Override select the USB storage device and press Enter 5 At the Choose your Keyboard layout page select the appropriate keyboard layout 6 In the Choose an option window go to Troubleshoot Advanced Options System Image Recovery Follow the prompts in Windows to restore the system image file Results Once the proces...

Page 12: ...ntroller settings S No Port type Connector Device node BIOS setting configuration 1 RS232 422 485 DB9 COM1 Advanced Onboard Devices Configuration COM1 Control select RS232 422 485 2 RS232 422 485 DB9 COM2 Advanced Onboard Devices Configuration COM2 Control select RS232 422 485 TPM support Windows 10 IoT Enterprise LTSC 2019 supports TPM 2 0 For more information on TPM resources see https docs micr...

Page 13: ...PIO Pin 10 DI1 10 12 GPIO Pin 11 DI2 11 13 GPIO Pin 12 DI3 12 14 GPIO Pin 13 DI4 13 15 GPIO Pin 14 DI5 14 16 GPIO Pin 15 DO4 15 17 GPIO Pin 16 DO5 16 System shutdown and restart Steps 1 Click the Start icon 2 Click Power then select Restart or Shut down Configure LAN network Steps 1 Connect an Ethernet cable to the Ethernet port The following prompt is displayed Figure 6 Prompt for discoverable in...

Page 14: ...on empl g202 6 M 2 2230 Intel WiFi AX210 https ark intel com content www us en ark products 204836 intel wifi 6e ax210 gig html 7 M 2 3042 Sierra EM7565 4G https www sierrawireless com iot solutions products em7565 8 M 2 3042 Thales MV31 W 5G https www thalesgroup com en markets digital identity and security iot iot connectivity products iot products mv31 w ultra high 9 Internal I2C wafer ADLINK 5...

Page 15: ...a 5b0b dc07 eede 2a5ca1c49088 5G module firmware update procedure Download Firmware Selector Tool and driver Steps 1 Download the Firmware Selector Tool from the EGW 3200 page of the Dell Technologies Support Site 2 Unzip the files and open the unzipped folder Figure 7 Firmware tool and driver file 3 Save the driver to the following folder F0 1 0 0 9_AP077 SDX55_Thales_USB_x64_20220208_V023_WHQL_I...

Page 16: ...iver must be installed after removing old USB drivers that were automatically installed by WIN10 PC Steps 1 Before connecting the MV31 W module open the Device Manager click View and select Show hidden devices Figure 10 Show hidden devices 2 Remove Uninstall all devices that start with Cinterion PID 0x00B3 16 Setting Up the Windows 10 Operating System ...

Page 17: ...les cmd as administrator Figure 12 Run driver command Update 5G firmware in Windows About this task After all the required drivers have been updated use the Firmware Selector Tool provided by Thales DIS AIS to update the firmware Steps 1 Go to Utilities Firmware and select the Firmware Selector Tool Setting Up the Windows 10 Operating System 17 ...

Page 18: ...ware Selector Tool 2 The tool will automatically select the ATT T99W175 firmware version to update Figure 14 Firmware to update 3 Wait for the firmware download to finish 18 Setting Up the Windows 10 Operating System ...

Page 19: ...Figure 15 Firmware download status bar 4 Once complete the Firmware upgrade success message will appear Click OK Setting Up the Windows 10 Operating System 19 ...

Page 20: ...ate procedure Steps 1 Download the firmware update tool exe from the Sierra website at https source sierrawireless com resources airprime minicard 75xx em_mc75xx approved fw packages sthash nOT5xBmR a4H4BqL8 dpbs 20 Setting Up the Windows 10 Operating System ...

Page 21: ...MC firmware update procedure Steps 1 Confirm that the Intel Serial IO I2C and GPIO drivers are installed If the I2C driver is not installed there will be a yellow triangle with an exclamation point over the menu icon in System devices Resource Hub proxy device in the Device Manager Setting Up the Windows 10 Operating System 21 ...

Page 22: ... Download both drivers from the EGW 3200 page of the Dell Technologies Support Site b Install the drivers When all the required drivers are installed there is no yellow triangle with an exclamation point over the icon in the device manager 22 Setting Up the Windows 10 Operating System ...

Page 23: ...gure 19 Drivers installed c When prompted reboot the system Figure 20 Reboot system 2 Execute ad litbmc fwupd exe in command prompt to show usage of the tool Setting Up the Windows 10 Operating System 23 ...

Page 24: ...te a message shows that it is mandatory to reboot the system for changes to take affect The tool also prints this message Figure 22 Reboot message Reading the firmware version without rebooting will not show the updated version Figure 23 Updated version not shown 4 Reboot the device 24 Setting Up the Windows 10 Operating System ...

Page 25: ...ips with default settings that work well for most configurations Access the BIOS settings Steps 1 Enter the BIOS setup by pressing the Delete key on the keyboard when the system is powered on The POST Power On Self Test message is displayed NOTE The EGW 3200 controller supports a one time boot menu allowing the selection of the boot device 2 Enter the Boot Menu by selecting F7 at POST Update the B...

Page 26: ...uperIO Function Library This section describes use of the SuperIO SIO function library for the EGW 3200 The SIO function library includes the watchdog timer function and the hardware monitor function The watchdog timer is a hardware mechanism provided to reset the system if the operating system or an application stalls After starting the watchdog timer in the application must be periodically reset...

Page 27: ...atchdog timer is successfully set Negative errno if timeout value of watchdog timer is failed to set SIO_WDT_GetCurrentTime Gets the current timeout value of the watchdog timer gives remaining watchdog timer timeout value and mode I32 SIO_WDT_GetCurrentTime unsigned char pTime int mode Parameters pTIme Pointer variable to return the remaining watchdog time for expiry Mode Pointer variable to retur...

Page 28: ...s are checked a MSVC v142 VS 2019 C x64 x86 buildtools latest is checked b MSVC v142 VS 2019 C x64 x86 Spectre mitigated libs latest is checked 6 Make sure the SDK is installed Download and install the corresponding WDK version 7 Install the latest supported English en us Microsoft Visual C redistributable packages for Visual Studio 2015 2017 2019 and 2022 from the following URL https aka ms vs 17...

Page 29: ...le in RHProxy driver I2C and GPIO on page 12 Build the GPIO sample application Prerequisites Visual Studio 2019 is required for this task Do download and install perform the following steps 1 Select Workloads 2 Open Visual Studio Installer and click Modify to customize your installation 3 Select Desktop development with C workload 4 Select UWP 5 Select Individual components and under Complier buil...

Page 30: ...n to high write 1 Similarly the pin can be opened and set to drive mode input and the current value can be read using a read command Use the help command for detailed usage Digital Input Output Function from PCA9535 GPIO Users can opt to connect a PCA9535 GPIO expander module to one of the I2C buses of the EGW 3200 PCA9535 GPIO Expander API The PCA9535 GPIO module s API library files and a demo pr...

Page 31: ... first eight bits Bit 0 to 7 contain the GPIO input pin s voltage level The second eight bits Bit 8 to 15 contain the GPIO output pin s voltage level Return codes 0 if the initialization is successful Negative errno if failed Error codes For the various functions previously listed the following is the Errno values in case of failure enum errorcodes Error_Pointer_Invalid 100 Error_I2C_controller_No...

Page 32: ...onfiguration to Release and Solution platform to x64 3 Under the Build menu select Build Solution Execute the PCA9535 sample application About this task The EGW 3200 Windows image includes pre installed sample application binaries Steps 1 Open the command prompt in administrator mode 2 Change to the following directory C Program Files Dell EGW3200 Software tools Application Binaries 3 Use the foll...

Page 33: ...tialize Un initialize function Call this function before exiting the application Humidity and temperature sensor setup Prerequisites Windows standard APIs FromIdAsync String GetCurrentReading and GetDeviceSelector Guid interfaceId are used for accessing the sensor For details go to https docs microsoft com en us uwp api windows devices sensors custom view winrt 22000 About this task The HDC1010 hu...

Page 34: ...l Studio 2015 2017 2019 and 2022 from the following URL https aka ms vs 17 release vc_redist x64 exe About this task To build the sample application perform the following steps Steps 1 Open the solution file of the source code in Visual Studio 2 Change Solution configuration to Release and Solution platform to x64 3 In the Solution Explorer pane right click on the project and select Properties Fig...

Page 35: ...Figure 30 Properties Platform Toolset 5 Select Build Build Solution to build the project Figure 31 Build Solution Setting Up the Windows 10 Operating System 35 ...

Page 36: ...he wizard and then click Next 4 On the Select signing method page select whether to skip packaging signing or select a certificate for signing For an MSIX package to be installed it must be signed with a certificate that is trusted on the machine The certificate is password protected It is imported to the certificate store for package signing Figure 32 Create Certificate 36 Setting Up the Windows ...

Page 37: ...ecture as x64 and Solution Configuration as Release x64 and click Next 6 Provide the path for the Installer location where the app is published and select Create Results The project builds and App bundle is created The package summary appears Setting Up the Windows 10 Operating System 37 ...

Page 38: ...g the MSIX bundle 2 Locate the certificate files for this application in folder HDC1010 3 Go to Start Manage computer certificates On the left pane of the certIm wizard select Trusted People 4 Select Action All Tasks Import The Certificate Import Wizard appears Click Next 38 Setting Up the Windows 10 Operating System ...

Page 39: ...Figure 35 Import Certificate 5 Include the path where the certificate is located Click Next 6 The certificate is imported Click Finish Setting Up the Windows 10 Operating System 39 ...

Page 40: ... the Certificate Import Wizard 7 The imported certificate is added in the Certificates directory under Trusted People If not select Action Refresh and the certificate is added 40 Setting Up the Windows 10 Operating System ...

Page 41: ...eps 1 Install the App Installer from the Microsoft store To do this open the POWERSHELL in ADMINISTRATOR Mode and execute the following command Get AppXPackage WindowsStore AllUsers Foreach Add AppxPackage DisableDevelopmentMode Register _ InstallLocation AppXManifest xml 2 Run the msixbundle file A window appears prompting to install the application Click Install Setting Up the Windows 10 Operati...

Page 42: ...38 Install prompt The application is installed and the UWP application appears 3 Click Start The application name appears Figure 39 Application name in Start Menu 42 Setting Up the Windows 10 Operating System ...

Page 43: ...ts and Polling Steps 1 Select DataEvents Enable Temperature and Relative Humidity values are displayed 2 Select DataEvents Disable and follow Step 1 to obtain the next set of readings Figure 40 DataEvents 3 Select Polling and repeat Steps 1 and 2 Figure 41 Polling Setting Up the Windows 10 Operating System 43 ...

Page 44: ...ollows Windows sensor framework See the Humidity and temperature sensor setup on page 33 section for the following tasks Build the sample application Create the MSIX package Import the certificate Install the application Run the pressure sensor application About this task Two events are registered for the application DataEvents and Polling Steps 1 Select DataEvents Enable The Pressure value is dis...

Page 45: ...his task The ADXL345 accelerometer sensor is connected to I2C bus 2 of the EGW 3200 This sensor is detected as a accelerometer sensor and follows Windows sensor framework See the Humidity and temperature sensor setup on page 33 section for the following tasks Build the sample application Create the MSIX package Import the certificate Install the application Run the accelerometer sensor application...

Page 46: ... Enable The corresponding x y and z values are displayed as you change the position of the sensor Figure 45 Data Events 3 Polling Click Enable Acceleration values at a particular time interval are displayed 46 Setting Up the Windows 10 Operating System ...

Page 47: ... such as reboot shutdown and powerup and to decommission device operations using the scalable device management clouds as the Azure IOT central cloud Table 5 Hardware requirements Device Specification Linux OS development machine Ubuntu OS version 18 04 LTS installed with display monitor keyboard and mouse Edge Gateway 3200 target board Windows 10 OS installed with display monitor keyboard and mou...

Page 48: ... Esc button to return to the main menu When prompted with Save Changes and exit press Y to save the settings 5 Perform a hard reset by turning the power off and on again This is necessary when changing a PSE related setting 6 Connect an Ethernet cable to PSE GbE0 Results You have now set up hardware network connectivity on the target board which is now ready to connect with the Cloud Service Provi...

Page 49: ...ions on the Azure website to create an Azure account 2 Create an IoT Central application by importing the reference template from the Azure IoT Central site 3 Create a template application name and URL then click Create to create an IoT central application template Figure 49 Azure IoT central application template 4 After creating the Azure portal and template add a new device Click the Devices tab...

Page 50: ...device 5 Copy the connectivity credentials for the device to connect back to the portal Copy the connection credentials by clicking the Connect button The following screen appears 50 Setting Up the Windows 10 Operating System ...

Page 51: ...apsule binary About this task In this task the user generates the OOB credentials capsule binary in the host machine Steps 1 Prepare the OOB credentials capsule from the host machine 2 Get the Intel Programmable Service Engine SDK source code 3 Download the Firmware and BIOS Utilities FBU which is the configuration tool for provisioning data into BIOS subregions The latest open source FBU release ...

Page 52: ...the following user inputs a Select Capsule Type Type 1 for OOB b Enter Capsule file name Type a filename for the capsule binary for example OobCapsule c Select Cloud Provider Type 2 for Azure d Enter Scope ID Provide the scope ID copied in the previous task Set up Azure IoT Central for device management on page 49 e Enter Device ID Provide the device ID copied in the previous task Set up Azure IoT...

Page 53: ...ng the MAC address Update the OOB credentials capsule Steps 1 To update the OOB capsule use CapsuleApp efi with capsule binary under UEFI Shell directly Usage CapsuleApp efi OobCapsule bin 2 Perform a hard reset by turning the power off and on after updating the OOB capsule 3 At the BIOS menu select Chipset as shown in the following figure 4 Find the OOB Cloud Type OOB Cloud URL and OOB Cloud Port...

Page 54: ...rmation a Overview To view the Device Properties Figure 54 Overview b Commands to send OOB power control commands to the device 3 The OOB service enabled through the PSE allows the user to execute the following commands Reboot Reboots platform Shutdown Puts the platform in a low power state Power Up Brings the platform out of low power state Decommission Un registers the platform withdrawing the d...

Page 55: ...Figure 55 Commands 4 The user can view the device events and responses under the Events View or Raw data tabs Figure 56 Events View Setting Up the Windows 10 Operating System 55 ...

Page 56: ...he cable tag RS 422 A COM X RS 422 B COM X 1 RS 485 A COM X 2 RS 485 B COM X 3 2 EMP2 X2S1 RS232 RS232 Total of two COM ports are detected in the Device Manager Assume that the first COM port of EMP2 X2S1 is COM X then based on the cable tag Isolated COM A COM X Isolated COM B COM X 1 For EMP2 X2S1 Both EMP2 X2S1 and EMP2 X4S2 use the same VID and DID By default the EMP2 X2S1 module uses the drive...

Page 57: ... name that is intended to be seen by the user Supported 9 GetState Retrieves the current operational state of the sensor Supported 10 SetEventSink Specifies the interface through which to receive sensor event notifications Supported 11 GetSensorByID Retrieves a pointer to the specified sensor Supported 12 GetProperties Retrieves multiple sensor properties Supported 13 GetProperty Retrieves a prope...

Page 58: ... 2 Data Events 3 Polling 4 OrientationChanged 5 Shake Events Not supporteda b 6 Data Events Batching a The interrupts which can be enabled from the driver side are Single tap Double tap Activity Inactivity and Free fall in INT_ENABLE register The detection of Shake events is not supported b Data Events Batching is not supported due to the fact that the driver does not implement it Table 10 UWP app...

Page 59: ... a keyboard mouse and monitor to the EGW 3200 2 Power on the system The system boots to the Ubuntu 20 04 LTS operating system 3 Log in to the sysem At initial login the user must change the password of the default account NOTE The default username password is ubuntu ubuntu Create bootable USB stick for factory reset About this task Perform this task for recovery of the system Steps 1 Install the i...

Page 60: ...Try Ubuntu 3 Clear the target SSD For secure erase supported SSD see SSD security erase on page 76 Or use the basic clear command sudo dd if dev zero of dev sdx bs block size count block number status progress 4 Plug in the USB stick that contains the backup image file then open the Ubuntu terminal 5 Use the following command to flash the backup image from the USB stick to the target SSD sudo dd i...

Page 61: ...ite and save it to the USB disk 2 Boot to Ubuntu and open the terminal Enter the following command and press y to restart the system after update To update with the same version fwupdmgr install BIOS capsule cab file allow reinstall To update to a newer version fwupdmgr install BIOS capsule cab file 3 The system starts to install the firmware update as shown in the following figure Figure 59 Firmw...

Page 62: ... platform with the Ubuntu environment sudo apt install unzip unzip firmware zip d firmware directory tar zxvf MBPL_Drivers_R24_ENG3_qcserial src tar gz tar zxvf MBPL_SDK_R26_ENG2 fwdwl bin tar gz 2 Build the driver and install it cd MBPL_Drivers_R24_ENG3_qcserial src sudo apt install make gcc make clean make openssl req new x509 newkey rsa 2048 nodes days 36500 outform DER keyout MOK priv out MOK ...

Page 63: ...Figure 60 MOK management 5 Select Enroll MOK and follow the menus to finish the enrolling process Figure 61 Enroll MOK Figure 62 Enroll MOK Continue Setting Up the Ubuntu Operating System 63 ...

Page 64: ...MOK management Reboot 7 Upgrade the firmware sudo systemctl stop ModemManager cd SampleApps lite fw download bin sudo fwdwl litehostx86_64 d dev ttyUSB0 p dev cdc wdm0 f firmware directory t 1 w firmware cwe n firmware nvu sudo reboot Use sudo mmcli m modem number to confirm the firmware revision 8 Disable b30 b42 and b48 bands optional 64 Setting Up the Ubuntu Operating System ...

Page 65: ...F 0000000000000002 at band 0A at impref AUTO SIM at reset Wait for the modem to answer AT commands at band Confirm the disabled bands Update 5G module firmware Steps 1 Firmware update a Download the mbimcli tool and firmware file from the Dell Technologies Support Site sudo systemctl stop ModemManager tar Jxvf mbimcli tar xz cd mbimcli sudo mbimcli d dev cdc wdm0 qdu ota update ota bin NOTE The ot...

Page 66: ...e select T mobile at mcfg 0 at mcfg 3 Disable b30 b42 and b48 bands optional Some regions require operators to disable b30 b42 and b48 bands The disabled bands are reopened after the firmware upgrade Use the following commands to disable them again sudo apt install minicom sudo minicom D dev ttyUSB0 at slband LTE 1 30 42 48 at slband 66 Setting Up the Ubuntu Operating System ...

Page 67: ... sudo apt update sudo apt upgrade List installed packages About this task List installed packages command apt list installed Update the system name About this task Update system name command sudo nmcli general hostname NAME Change the time zone About this task Reference the time and date help information with the following command sudo timedatectl help Setting Up the Ubuntu Operating System 67 ...

Page 68: ...his task Add user command sudo adduser USER NAME Select language Steps 1 Use the following command to select your preferred language then select Ok sudo dpkg reconfigure locales Figure 65 Configuring locales 2 Select your target language and select Ok again 68 Setting Up the Ubuntu Operating System ...

Page 69: ...nel Use the dmesg grep usb command to check USB devices status Configure humidity pressure and accelerometer sensors About this task Three sensors are ready under the Linux iio interface with specific Linux kernel versions NOTE The humidity and pressure sensors require a kernel version 5 13 0 1011 intel or later NOTE The accelerometer sensor requires a kernel version 5 13 0 1014 intel or later NOT...

Page 70: ...command to confirm the kernel version uname r 3 Use libiio utils to fetch sensor data sudo apt install libiio utils 4 Use iio utility commands to fetch sensor data For example use the following command iio_info Example Figure 68 Pressure sensor example Figure 69 Accelerometer sensor example 70 Setting Up the Ubuntu Operating System ...

Page 71: ... mod connection name ipv4 dns xx xx xx xx e nmcli con mod connection name ipv4 method manual f nmcli con up connection name 3 To roll back to dynamic IP by DHCP use the following commands a nmcli con down connection name b nmcli con mod connection name ipv4 method auto c nmcli con up connection name NOTE port2 and port3 ETH PHY LED have different definitions when the ports are assigned to Ubuntu t...

Page 72: ...el PSE LED 1 0011 LED 0 0000 Traffic blink green No traffic off No traffic solid yellow Traffic blink yellow Traffic blink green No traffic off Link solid yellow NOTE The Ubuntu Linux LED behavior requires a kernel version 5 13 0 1014 intel or later NOTE The x x x 10xx intel kernel is only for the Ubuntu specific version released by Dell Configure the WiFi network About this task Use the following...

Page 73: ...AME ssid SSID password PASSWORD The IF NAME should be the wlp2s0 on EGW3200 The CONNECTION NAME is assigned by the user for management The SSID is assigned by the user for Wi Fi client device connection 2 Use the PASSWORD to connect the Wi Fi client device to the SSID NOTE To delete the hotspot connection run the following command sudo nmcli c delete CONNECTION NAME Configure Bluetooth About this ...

Page 74: ...em status In this example the modem number is 0 mmcli m 0 Figure 74 Modem 0 status 2 If your USIM card requires a PIN code the Status is locked Use the following command to enter your PIN code change the state to registered and allow the USIM card to access a cell site sudo mmcli i SIM NUMBER pin PIN CODE 3 Use the following nmcli command to register an auto connection for the target modem and the...

Page 75: ...tch to the physical slot SIM 2 1 Use the following commands sudp apt install minicom sudo minicom D dev ttyUSB0 2 Use the following AT command to switch the SIM slot AT SWITCH_SLOT 0 NOTE Value 0 physical USIM slot SIM 2 Value 1 physical USIM slot SIM1 Access GPS Steps 1 Access the modem console ttyUSB0 using minicom sudp apt install minicom sudo minicom D dev ttyUSB0 2 Enter the following AT comm...

Page 76: ...o and microphone volume by alsamixer alsamixer 3 Prepare an audio wav file and connect to the speaker on the device aplay xxx wav 4 Connect to the microphone on the device and start to record audio after entering the following command Use ctrl c to stop the recording arecord xxx wav 5 To replay the wav file recording aplay xxx wav SSD security erase About this task CAUTION Performing this task wil...

Page 77: ...s power state The power button LED blinks when the system is in standby mode b Press the power button once to wake up the system c Use the hdparm command a second time and status is now not frozen as shown in the following figure Figure 77 Disk not frozen 3 Set up a security password before executing the security erase sudo hdparm user master u security set pass password dev sdx Figure 78 Set secu...

Page 78: ...according to the following table Table 13 DB9 connector pin definitions Pin Signal name RS 232 RS 422 RS 485 1 DCD TXD422 485DATA 2 RXD TXD422 485DATA 3 TXD RXD422 N S 4 DTR RXD422 N S 5 GND N S N S 6 DSR N S N S 7 RTS N S N S 8 CTS N S N S 9 RI N S N S 3 Execute the following command on two systems where is the port number corresponding to the port being used sudo chmod 777 dev ttyS 4 To test COM...

Page 79: ... a terminal candump can1 4 Send can frame from another terminal cansend can0 123 9995 cansend can0 123 9996 cansend can0 123 9997 cansend can0 123 9998 cansend can0 123 9999 Mount USB storage Steps 1 Plug your USB storage into the device and use the following command to identify the disk as dev sdxx sudo fdisk l Figure 80 Identify USB storage 2 Create a directory to be the mount point mkdir tmp st...

Page 80: ...chdog conf sudo vim etc watchdog conf Ensure that the following parameters exist in the configuration and are not disabled as comment code retry timeout 60 repair maximum 1 watchdog device dev watchdog interval 1 logtick 1 log dir var log watchdog realtime yes priority 1 Add a new parameter To set the watchdog device timeout default is 60 seconds watchdog timeout 20 4 Reboot the device once then u...

Page 81: ...ystem after 20 seconds if watchdog timeout 20 Configure GPIO About this task The EGW 3200 is equipped with six Digital in and six Digital out To access the registers to read and write to them perform the following steps Steps 1 Run the following command sudo su 2 Export GPIO echo 369 sys class gpio export 369 GPIO is USER_LED_1 370 GPIO is USER_LED_2 and 371 GPIO is USER_LED_3 Figure 85 Export GPI...

Page 82: ...ng command echo 0 or 1 sys class gpio gpio369 value Figure 86 Set GPIO value Results The low level triggers the USER_LEDs When the value is 0 the USER_LED is illuminated as shown in the following figure Figure 87 GPIO USER_LED illuminated TPM tasks About this task If TPM is turned on the device node dev tpm0 exists Figure 88 TPM on 82 Setting Up the Ubuntu Operating System ...

Page 83: ...ry the tpm2_clear command again List PCR values About this task Use the following command sudo tpm2_pcrread Results The tpm2_pcrlist is renamed to tpm2_pcrread Get random data by TPM About this task Use the following command sudo tpm2_getrandom o output file number of random bytes For example sudo tpm2_getrandom o random out 20 Get hash by TPM About this task Use the following command sudo tpm2_ha...

Page 84: ... u s second m mode 2 The mode can use the mem parameter to enter S3 and the off parameter can enter S5 Wake on LAN Steps 1 Make Ubuntu OS of target device enter S3 or S5 2 Using another Ubuntu OS device that is working under the same local network use the following commands sudo apt install wakeonlan wakeonlan target device NIC MAC For example wakeonlan 00 30 64 3a ad 80 Results The target device ...

Page 85: ...olated Canbus uFM expansion module Steps 1 Download the utility tool EMUC B202 zip from the Innodisk official website EMUC B202 Driver 2 Unzip the file and copy the driver package onto your platform with the Ubuntu environment 3 Unzip Linux EMUC B202_API_Linux_ DATE zip using the following commands cd EMUC B202 W1_CAN_API_V2 3 7_Linux Loopback_EMUC2 sudo chmod x emuc_64 sudo emuc_64 Figure 90 EMUC...

Page 86: ...ed RS 232 uFM expansion module About this task Map the pins according to the following table Table 15 RS 232 pin assignment Signal Pin CD 1 RXD 2 TXD 3 DTR 4 GND 5 DSR 6 RTS 7 CTS 8 RI 9 The EMP2 X2S1 uFM card supports two RS 232 ports however there are four ports from the OS as shown in the red box in the following figure Figure 91 RS 232 ports Use the first two ports ttyS6 and ttyS7 as shown in ...

Page 87: ...MOK priv out MOK der subj CN hostname module signing key kmodsign sha512 MOK priv MOK der xr17v35x ko sudo make install sudo vim etc modules load d modules conf 3 Add xr17v35x into the file to make Ubuntu auto load this driver during boot up sudo vim etc modules load d modules conf 4 Add blacklist 8250_exar into the file to make the standard serial port driver not conflict with xr17v35x sudo vim e...

Page 88: ...nal window sudo minicom D dev ttyXR0 For the second terminal window sudo minicom D dev ttyXR1 Type some words in the first terminal to confirm that you can see the words displayed in the second terminal 7 For RS 485 use RS 485 cables with the EMP2 X4S2 card For the RS 485 port to port test connect the RS 485 A and RS 485 B as detailed in the following RS 485 A pin2 and RS 485 B pin2 are connected ...

Reviews: