Contents Chapter 1: Introduction......................... 6 Chapter 2: Setting Up the Windows 10 Operating System............. 8 Boot up and log in................................8 Factory reset..................................9 System restore and backup recovery..........................9 Create a recovery drive..............................9 Create a system image..............................9 Recover from system image............................11 Security Baseline settings..............................
Page 4
PCA9535 GPIO Expander API..........................36 Build the PCA9535 sample application........................37 Execute the PCA9535 sample application......................38 Hardware monitor API..............................38 EApiLibInitialize................................38 int EApiLibInitialize ()..............................39 EApiBoardGetValue..............................39 int EApiBoardGetValue (int parameter).........................39 EApiUnInitialize................................39 Humidity and temperature sensor setup........................39 Build the sample application............................. 39 Create the MSIX package............................
Page 5
Display..................................... 81 USB....................................81 Configure humidity, pressure, and accelerometer sensors................81 Configure Ethernet..............................83 Configure WiFi network............................. 84 Configure Bluetooth..............................85 Connect 4G or 5G WWAN............................86 Identify 4G or 5G module............................87 Change 5G SIM slot and connect to the Internet....................90 Set up 5G Stand-Alone mode for private networking..................92 Access GPS..................................101 Remote login................................
Introduction The Dell Edge Gateway 3200 supports Windows 10 IoT Enterprise 2019 and Ubuntu 20.04 LTS. The setup procedures for each of these operating systems are detailed in the following chapters. Figure 1. System block diagram The following table defines the acronyms and abbreviations used throughout this document.
Page 7
Table 1. Acronyms and abbreviations (continued) Acronym or abbreviation Definition Peripheral Component Interconnect Universal Serial Bus Unified Write Filter WatchDog Timer Introduction...
Setting Up the Windows 10 Operating System This chapter serves as a guide to install and use the Windows 10 IoT Enterprise 2019 operating system on the EGW-3200 hardware. For more information on the Windows 10 operating system, see Microsoft Support.
Users can perform a factory reset of the Windows 10 IoT Enterprise 2019 LTSC on the EGW-3200 using the recovery operating system image on the boot partition. This resets the run-time image back to the standard Windows system, which does not contain any ODM-installed drivers. Users can download the necessary drivers from the Dell Technologies Support Site.
Page 10
Figure 2. Create a system image 3. Windows looks for a backup destination on a hard drive, DVD, or network location. Choose an appropriate destination. Click Next. NOTE: In the following screenshot, a second SSD storage is used to create the backup. Figure 3.
Figure 4. Confirm backup Results Windows creates the system image file. Figure 5. Backup completed successfully Recover from system image Steps 1. Connect the USB storage device that was created in Create a recovery drive. 2. Connect the hard drive or SSD that was used in Create a system image.
2. Right-click the .exe file and run as administrator. The firmware update runs automatically. 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 8. 5G firmware driver 4. Save the Firmware Selector Tool to the following folder: \F0.1.0.0.9_AP077 \x64-F0.1.0.0.9 (AP077)_FST_Thales_20220119\Utilities\x86-Firmware Selector Tool (V2.0.3.3)_Thales. Figure 9. Firmware Selector Tool Remove old and install new drivers About this task MV31-W modules require a WIN10 driver. However, this driver must be installed after removing old USB drivers that were automatically installed by WIN10 PC.
Page 14
Figure 10. Show hidden devices 2. Remove (Uninstall) all devices that start with: Cinterion PID 0x00B3. Setting Up the Windows 10 Operating System...
Figure 11. Uninstall Cinterion devices 3. Open the driver package folder (SDX55_Thales_USB_x64_20220208_V023_WHQL_INF_Injection) and run install_Thales.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.
Page 16
Figure 13. Firmware 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. Setting Up the Windows 10 Operating System...
Page 17
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...
(EIRP) that are band-specific. Due to the 4G or 5G module installed, and the antennas provided by Dell Technologies, certain bands must be disabled. As such, additional commands must be sent to the module, under certain conditions outlined below, to meet FCC requirements.
Disable bands on 4G device in Windows About this task Disabling of these bands is required to meet FCC EIRP or other requirements. Perform the following steps to disable the bands 42 and 48 on the 4G module. Steps 1. Open the Putty application. Putty is used to send AT commands to the module within the Windows operating system.
Disable bands on 5G device in Windows About this task Disabling of these bands is required to meet FCC EIRP or other requirements. Perform the following steps to disable the bands 30, 42, and 48 on the 5G module. Steps 1.
Windows 10 IoT Enterprise LTSC basic functions The EGW-3200 provides various interfaces. The following sections provide further details on these interfaces. UART controller For setting the port type of serial ports 1 and 2, change the BIOS settings as detailed in the following table. Table 2.
Table 3. I2C and GPIO names and pin mappings (continued) S No. Peripheral detail Hardware signal name Name/Number to use Comments with RHProxy GPIO Pin 14 GPIO Pin 15 GPIO Pin 16 System shutdown and restart Steps 1. Click the Start icon. 2.
Figure 20. Mobile hotspot settings 3. Confirm that the Network name can be found from end devices, and connect it to ensure that the network function is working properly. Configure Bluetooth Steps 1. Click the Start icon. 2. Type Settings and click Settings. 3.
Accessing GPS Go to the Windows location service and privacy page from Microsoft for information about accessing the GPS and for various Windows settings. Use the Unified Write Filter Prerequisites UWF is installed. About this task The Unified Write Filter (UWF) is an optional Windows 10 feature. For detailed information, see Use the Unified Write Filter (UWF) feature from Microsoft.
Page 26
Figure 21. UWF in Windows Features c. There will be a notification for reboot, click Restart Now. 3. To enable the filter, use the Windows Command Prompt: uwfmgr filter enable Figure 22. UWF enable 4. To enable write protection for a drive, use the Windows Command Prompt: uwfmgr.exe volume protect C: Figure 23.
5. Restart the computer. 6. To confirm that UWF is running, use the Windows Command Prompt: uwfmgr.exe get-config Figure 24. UWF get config BMC 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 >...
Page 28
Figure 25. I2C controller not found If this is the case, perform the following steps: a. 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.
Page 29
Figure 26. Drivers installed c. When prompted, reboot the system. Figure 27. Reboot system 2. Execute ad-litbmc-fwupd.exe in command prompt to show usage of the tool. Setting Up the Windows 10 Operating System...
Page 30
Figure 28. Show usage 3. Update the firmware version by using the ad-litbmc-fwupd.exe -u <firmware> <public key> command. After the update, a message shows that it is mandatory to reboot the system for changes to take affect. The tool also prints this message. Figure 29.
Figure 31. Reboot device 5. After the reboot is complete, read the firmware version to confirm that it shows in the output. Figure 32. Update successful Accessing and updating the BIOS Basic Input/Output System (BIOS) is a program that provides a basic level of communication between the processor and peripherals.
Figure 33. BIOS version number under Main tab Steps 1. Download the newer version of the BIOS in .msi format from the Dell Technologies Support Site and run the executable from an elevated command prompt with administrator privileges. Windows prompts to restart the system for a firmware change.
Windows SIO API The SIO API library files and a demo program (including source code) are part of the board support package for the EGW-3200 (BSP/Sample_App_Source/SuperIO) and can be downloaded from the Dell Technologies Support Site. SIO_WDT_Set Sets the timeout value of the watchdog timer. SIO_WDT_Stop should be called before the expiration of watchdog timer, or the system will reset.
I32 GetCurrentCPUTemp (int *temp) Parameters temp—Integer pointer for getting the CPU temperature. Return codes 0 if temperature is read successfully. Negative error if failed to get the data from hardware monitor. Error codes For the various functions previously listed, the following is the error values in case of failure. enum SIO_ERRORS_LIST{ ERROR_SIO_INVALID_DEVICE_HANDLE = -100, ERROR_SIO_IOCTL,...
2. Change to the following directory: C:\Program Files\Dell\EGW3200 Software tools\Application Binaries 3. Use the following commands to execute the SIO sample application: a. To set the watchdog timer: > superiotest wdtset <time> <mode> Where time is between 1 to 255, and mode is seconds or minutes.
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 following commands to execute the GPIO sample application: a.
DioSetLevel Sets the GPIO level for output pins. int DioSetLevel (unsigned char data, unsigned char mask) Parameters data—The new GPIO level to be set for the output pins. mask—GPIO output pins are changed only for those corresponding to the bits that are set to 1 in the mask.
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 following commands to execute the PCA9535 sample application: a.
int EApiLibInitialize () Parameters None Return codes 0 if the initialization is a success. Negative error if failed. EApiBoardGetValue Gets the hardware monitor (current/voltage/temperature) values. int EApiBoardGetValue (int parameter) Parameters The parameters could be one of the following, and the macro is self-explanatory. ●...
Page 40
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 link: VC_redist.x64.exe. About this task To build the sample application, perform the following steps.
Page 41
Figure 37. Properties - Platform Toolset 5. Select Build > Build Solution to build the project. Figure 38. Build Solution Setting Up the Windows 10 Operating System...
Create the MSIX package Steps 1. Place the Assets folder in the current directory (Path: x64/Release/ilc/in). 2. Right-click on the project and Select Publish > Create App Packages. 3. Enable Side-loading in the first page of the wizard and then click Next. 4.
Page 43
Figure 40. Certificate Trust 5. In Select and configure packages wizard, select the Architecture 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.
Figure 41. Finished creating package Import the certificate Steps 1. Unzip the folder Sensor Applications.7z containing 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.
Page 45
Figure 42. 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...
Page 46
Figure 43. Completing 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. Setting Up the Windows 10 Operating System...
Figure 44. Certificates Install the application About this task The example referred to in the following steps is for the HDC1010 humidity sensor application. The same steps are applicable for other two sensors. Steps 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...
Page 48
Figure 45. Install prompt The application is installed and the UWP application appears. 3. Click Start. The application name appears. Figure 46. Application name in Start Menu Setting Up the Windows 10 Operating System...
Run the temperature sensor application About this task Two events are registered for the application: DataEvents 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 47.
Pressure sensor setup Prerequisites Windows standard APIs: FromIdAsync(String), GetCurrentReading(), GetDefault(), and GetDeviceSelector(Guid interfaceId) are used for accessing the sensor. For details, go to the Windows.Devices.Sensors.Custom Namespace Microsoft page. About this task The DPS310 pressure sensor is connected to I2C bus 2 of the EGW-3200. This sensor is detected as a barometer sensor and follows Windows sensor framework.
Accelerometer sensor setup Prerequisites Windows standard APIs: FromIdAsync(String), GetCurrentReading(), GetDefault(), and GetDeviceSelector(Guid interfaceId) are used for accessing the sensor. For details, go to the Windows.Devices.Sensors.Custom Namespace Microsoft page. About this 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.
Page 52
Figure 52. Data Events 3. Polling: Click Enable. Acceleration values at a particular time interval are displayed. Figure 53. Polling 4. OrientationChanged: Click Enable to display the accelerometer readings with and without the transformation. Figure 54. OrientationChanged Setting Up the Windows 10 Operating System...
NOTE: We have used Ubuntu version 20.04 LTS. Target setup The Dell Edge Gateway 3200 with the Elkhart Lake Platform and with Windows 10 Enterprise LTSC 2019 installed. Perform changes in the BIOS Steps 1. At the BIOS menu, select Chipset > PCH-IO Configuration > PSE Configuration > OOB [Enabled].
Figure 55. Configure OOB enabled 4. Press the 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.
Page 55
Figure 56. Azure IoT central application template 4. After creating the Azure portal and template, add a new device. Click the Devices tab, select the Intel template, and then click the + symbol to create a real device. Setting Up the Windows 10 Operating System...
Page 56
Figure 57. Create a new 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. Setting Up the Windows 10 Operating System...
Page 57
Figure 58. Device connection 6. Keep a copy of the following data. Use these data to create credentials for the target device to connect to the portal over the MQTT protocol. Intel provides a sample script that gives the credentials by invoking the Azure IoT Hub Device Provisioning Service (DPS).
Page 58
4. Copy all files from the pse-dev-code-base/tools/capsule_script folder to the scripts folder of the FBU tool. This ensures that you have all of the files needed to generate the MAC and OOB credentials capsules in the correct location: cp ~/intelpse/pse_sdk/code/pse-dev-code-base/tools/capsule_scripts/* ~/intelpse/fbu/ siiptool/scripts/ 5.
OOB service provisioning About this task In this task, the user connects the USB flash drive with the capsule files from the host machine, inserts the flash drive to a USB port on the EGW-3200 target board, and updates the MAC capsule and OOB capsule binary files. Update the MAC capsule Steps 1.
Page 60
About this task In this task, the user sends an OOB command from the Azure IoT Central portal. Steps 1. After provisioning and connecting the device to the Azure IoT Central portal, the device status changes to provisioned. 2. Click on the device and then navigate to the following for more information: a.
Page 61
Figure 62. Commands 4. The user can view the device events and responses under the Events View or Raw data tabs. Figure 63. Events View Setting Up the Windows 10 Operating System...
Figure 64. Raw data COM Port and Ethernet Names for Mini PCIe Cards Table 6. Mini PCIe card details S.No mPCie module Isolated COM A Isolated COM B Remarks (port type) (port type) EMP2-X4S2 RS422/RS485 RS422/RS485 Total of four COM ports are detected in the Device Manager.
For EMPL-G2P1 and EMPL-G201: Get the Ethernet name from Control Panel > Network and Internet > Network Connections, based on the MAC address of the Ethernet ports. Sensor APIs The sensors of the EGW-3200 use Microsoft default sensor APIs. This section serves as a programming reference of the Win32 API.
Page 64
Table 8. UWP application APIs for ADXL345/HDC1010/DPS310 S.No UWP application APIs Description Supported/not supported FromIdAsync Asynchronously obtains the sensor from its identifier. Supported GetCurrentReading Gets the current sensor reading. GetDefault Returns the default sensor type. GetDeviceSelector(Guid Gets the device selector. interfaceId) Table 9.
Windows troubleshooting The following tasks describe how to recover from errors when using Windows. Recover from Install Windows error About this task The Install Windows error in the following figure may appear while the system is loading Windows. This is caused by an unexpected restart or error during the system boot up.
Page 66
To recover from this error, perform the following steps. Steps 1. Confirm that the system has a network connection. 2. Download the .NET Framework 3.5 SP1 Web Installer from the Microsoft website. 3. Open the installer and wait for the installation to complete. Setting Up the Windows 10 Operating System...
Setting Up the Ubuntu Operating System This chapter serves as a guide to install and use the Ubuntu 20.04 LTS operating system on the EGW-3200 hardware. For more information on this operating system, see the Ubuntu 20.04 LTS Home Page. Topics: •...
Back up and restore Ubuntu 20.04 LTS Prerequisites Before performing the following recovery process, it is recommended to clear the target SSD. For a secure-erase supported SSD, see security-erase, or use the basic clear command: $ sudo dd if=/dev/zero of=/dev/sdx bs=<block size> count=<block number> status=progress Steps 1.
Ubuntu OTA update: $ sudo apt update; sudo apt upgrade Steps 1. Download the BIOS capsule file from the Dell Technologies Support Site 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.
5. Wait for the update to finish, and then the system BIOS is updated to the version specified. Update 4G module firmware Prerequisites ● Update the kernel to 5.15 for driver compatibility. ● Download the driver and tool from the Dell Technologies Support Site. ● Download the firmware from the EM75xx Approved FW Packages site.
Page 71
About this task For 4G LTE Sierra Wireless EM7565, hardware version 1.0, the certified version for each carrier is: ● SWI9X50C_01.14.20.00 for AT&T ● SWI9X50C_01.14.07.00 for Verizon Steps 1. Unzip and copy the package on your platform with the Ubuntu environment: $ sudo apt install unzip $ unzip <firmware>.zip -d <firmware directory>...
Page 72
Figure 72. MOK management 4. Select Enroll MOK and follow the menus to finish the enrolling process. Figure 73. Enroll MOK Figure 74. Enroll MOK Continue Setting Up the Ubuntu Operating System...
Page 73
Figure 75. Enroll the keys 5. The MOK Management screen prompts for the password that was provided when running mokutil, and then saves the key. Once complete, reboot again. Figure 76. MOK management Reboot 6. Upgrade the firmware: $ sudo systemctl stop ModemManager $ cd SampleApps/lite-fw-download/bin # (For Linux kernel 5.13 version, Using R24 driver and R26 tool) $ sudo ./fwdwl-litehostx86_64 -d /dev/ttyUSB0 -p /dev/cdc-wdm0 -f <firmware...
Only version 1.0.0.9 has been certified, and cannot be upgraded beyond 1.0.0.9. ● T99W175.F0.1.0.0.9.AT.009 for AT&T ● T99W175.F0.1.0.0.9.VZ.009 for Verizon Steps 1. Firmware update: a. Download the 5G firmware update tool (mbimcli) and firmware (for example, x64-F0.1.0.0.9(AP077).zip) from the Dell Technologies Support Site: NOTE:...
Page 75
at^sbfs=0 (disable) NOTE: Any change to the setting for sbfs state results in an automatic reset of the module. A reset causes the modem to be unresponsive for about 60 seconds. 5. The sbfs setting determines the next steps: a. If desired sbfs=1, then skip to Step 9. b.
(EIRP) that are band-specific. Due to the 4G or 5G module installed, and the antennas provided by Dell Technologies, certain bands must be disabled. As such, additional commands must be sent to the module, under certain conditions outlined below, to meet FCC requirements.
8. Reset the modem: at!reset NOTE: The modem disappears from minicom for about 60 seconds. Then it reappears and can be communicated with again. 9. When the modem returns from reset, confirm that the bands are disabled: at!band? 10. Exit minicom using the following key strokes: <CTRL-A>, x, <ENTER>. 11.
6. Confirm that the bands are disabled: at^slband? 7. To reset the device for new band settings to take effect, run the following command: at+reset NOTE: The modem disappears from minicom for about 60 seconds. Then it reappears and can be communicated with again.
Ubuntu OTA update About this task NOTE: Dell Technologies recommends the following OTA update to upgrade to the latest version of the Linux Kernel and drivers for bug fixes and security issues. OTA update command: $ sudo apt update $ sudo apt upgrade...
Select language Steps 1. Use the following command to select your preferred language, then select <Ok>. $ sudo dpkg-reconfigure locales Figure 77. Configuring locales 2. Select your target language and select <Ok> again. Figure 78. Default locale for system environment 3.
Figure 79. Confirm locale Display About this task Acquire screen output from the D-SUB/DVI/DP ports. About this task The Ubuntu OS detects USB devices from the six USB ports on the front I/O panel. 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.
Page 82
NOTE: The accelerometer sensor requires a kernel version 5.13.0-1014-intel or later. Steps 1. To upgrade the kernel, use the following command: $ sudo apt update $ sudo apt upgrade $ reboot 2. After rebooting, use the following command to confirm the kernel version: $ uname -r 3.
Figure 82. Humidity sensor example NOTE: In the case of a non-sensor SKU, the iio_info utility output is as shown in the following figure: Figure 83. iio_info utility example Configure Ethernet Steps 1. The Ethernet cards function in DHCP client mode by default. Use the $ip addr command to confirm. NOTE: The Ethernet card names for port1, port2, and port3 are enp3s0, enp0s29f1, and enp0s29f2, respectively.
Figure 84. BIOS setting Table 13. LAN LED behavior for both LAN ports LAN controller 1 G/100 MbE 1 G/100 MbE 10 MbE 10 MbE LED[1] LED[0] LED[1] LED[0] Ubuntu Linux enp0s29f1 and Link: solid green No traffic: solid No traffic: solid enp0s29f2 yellow yellow...
3. To disconnect from the target SSID: $ sudo nmcli con down <SSID> Next steps Optionally, users can create and delete a WiFi hotspot using the WiFi interface (wlp6s0) by performing the following steps: 1. To create a hotspot connection, use the following nmcli command: $ sudo nmcli dev wifi hotspot ifname <IF NAME>...
6. Connect target device by MAC address: $ connect <MAC> 7. Disconnect target device by MAC address: $ disconnect <MAC> 8. Unpair with target device by MAC address: $ remove <MAC> Connect 4G or 5G WWAN Steps 1. Insert your USIM card into the SIM 2 slot. Use the following commands to check the modem status: $ mmcli -L Figure 86.
4. Use the following command to remove auto connection by CONNECTION NAME: $ sudo nmcli c delete <CONNECTION NAME> 5. Use the following commands to enable and disable the WWAN service of nmcli: Enable: $ nmcli r wwan0 on Disable: $ nmcli r wwan0 off 6.
Page 88
Figure 88. Minicom Command Summary b. CTRL+A, E // local echo On/Off, directly. Figure 89. Minicom direct 2. Enter the following AT commands to get module information: a. ATI b. AT!IMAGE? NOTE: This applies to 4G module only. c. AT!IMPREF? NOTE: This applies to 4G module only.
Page 89
Figure 90. Module information 3. Exit minicom: CTRL+A, X $ sudo systemctl start ModemManager.service # restart Modem Manager service. Use mmcli Steps Use the following AT commands in the modem manager command line interface (mmcli): $ sudo systemctl stop ModemManager.service # stop Modem Manager service. $ sudo /usr/sbin/ModemManager - debug # start Modem manager with debug mode.
# Modem manager is a foreground process now. # Open another terminal to send AT command to 4G/5G module $ sudo mmcli -m 0 --command='ATI' $ sudo mmcli -m 0 --command='AT!IMAGE?' # This is 4G module only. $ sudo mmcli -m 0 --command='AT!IMPREF?' # This is 4G module only.
Page 91
● mmcli (Modem Manager CLI) ● nmcli (Network Manager CLI) About this task This example uses the following settings and parameters: ● The SIM slot change is from Slot 1 to Slot 2. ● The 5G module path index is 0 from mmcli -L command. ●...
Figure 93. Show WWAN0 Set up 5G Stand-Alone mode for private networking Prerequisites The following instructions require the use of a program to communicate serially over USB with the 5G MV31 module that is installed in the gateway to send AT commands. Linux has a tool called Minicom that provides this functionality. To install Minicom within Ubuntu, use the following command: $ sudo apt -y install minicom About this task...
Page 93
Figure 94. Minicom Welcome screen Press CTRL-A followed by z for options. Common options are to turn on local echo e to see typed commands or to configure serial port o. Figure 95. Minicom Command Summary 4. Query the sbfs state of the modem by running the at^sbfs? command. Figure 96.
Page 94
Figure 98. Temporary message When the modem returns from reset, the message disappears and it is possible to send commands to the modem again. 6. Once sbfs has been disabled and the modem returns from reset, run the at^mcfg=? query. This lists all of the carrier profiles available on the modem. ...
Page 95
Figure 101. PNProfile, Manufacturer, and Version 9. Query at^slmode?. This ensures the proper mode for 5G operation. Figure 102. Query slmode The default is 1, 7; however, values of 4, 5, or 6 can be used, as long as the value selected for <pref_mode> includes NR5G.
Page 96
Figure 103. <pref_mode> values To set the SLMODE, use at^slmode=<pref_term >,<pref_mode>. 10. Check and/or set the at^nr5g_mode?. For private networking, SA only, set at^nr5g_mode=2. Figure 104. Set Private Networking mode See the following for 5G mode settings. Figure 105. 5G mode settings 11.
Page 97
Figure 106. Available bands Use the following command to disable any 5G band which is enabled after setting the PNprofile. A value of 1 is used to disable, and 2 for enabling. at^slband= NR5G, 1,<band1> [, <band2> [,<band3>…]] NOTE: For any new band restrictions to work, the card must be reset by running the at+reset command after making changes to the slband settings.
Page 98
Figure 108. Parameters Example: Disable 5G bands 66, 71, and 77: at^slband=nr5g,1,66,71,77 Figure 109. Disable bands Followed by at+reset to take effect. Figure 110. Reset NOTE: To remove any bands what were disabled and revert any changes to slband, run the at^slband command with no arguments and reset the device again.
Page 99
Figure 111. SIM slot selection The gateway SIM slots are mapped as follows: ● Enable SIM slot 1 = at^switch_slot=0 ● Enable SIM slot 2 = at^switch_slot=1 13. Insert a SIM card in the desired slot (matching that of the previous step) to ensure that the SIM card can be read. Read the SIM using at+cpin? or at+cimi.
Page 100
Figure 114. Modem Manager details NOTE: The status of the modem from mmcli –L provides information about the SIM, state of the modem on the network (registered, connected, and so on), as well as the technology and signal quality seen by the device through the WWAN antennas.
NOTE: Use this command to remove any network connection: $ sudo nmcli c delete <CONNECTION NAME> 21. Confirm connection to the network again using one of the following commands: ● mmcli –m 0 ● Monitor in the terminal window in real time using mmcli –m 0 -w. Access GPS About this task There are two ways to access GPS.
Figure 117. GPS location fixing Remote login About this task The SSH server runs by default on port 22. Use your PC/NB to open a SSH connection (using terminal tools such as PuTTY or MobaXterm) to the EGW-3200. The PC/NB and EGW-3200 share a network connection under a local network. Set up audio and microphone Steps 1.
Page 103
Figure 118. $ sudo lshw 2. Confirm that the target disk is not frozen. To check: $ sudo hdparm -I /dev/sdx Figure 119. Example: target disk is frozen If the target disk is frozen, a. Use the following commands to enter the system into standby mode: $ sudo su - $ echo -n mem >...
Results When the security-erase is finished, all data on the /dev/sdx disk is swiped (0x00). Get system current and voltage Steps 1. Download the Read_Voltage_and_Current.zip file from the Dell Technologies Support Site and unzip it to a local folder location.
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 port loopback, use the following commands. a. Data receive command: $ cat < /dev/ttyS# b.
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 123. Identify USB storage 2. Create a directory to be the mount point: $ mkdir /tmp/storage 3.
Page 107
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...
The system hangs and watchdog reboots the system 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.
Figure 130. GPIO USER_LED illuminated The following tables show the GPIO export values. Table 15. GPIO export values for kernel 5.13.0-xxx-intel Export value Digital output Export value Digital input Export value — — — Table 16. GPIO export values for kernel 5.15.0-xxx-intel Export value Digital output Export value...
Page 110
Get hash by TPM About this task Use the following command: sudo tpm2_hash -g <algorithm> -o <output data> <input data> For example: $ echo "Dell" > message $ sudo tpm2_hash -g sha1 -o hash.bin message Setting Up the Ubuntu Operating System...
Wake events Trigger Ubuntu OS to enter S3 status Steps 1. Use the following command: $ sudo su 2. Use the following command: $ echo mem > /sys/power/state 3. Use a USB keyboard to enter any key to wake up the Ubuntu OS. NOTE: Use a physical keyboafd to wake up the system.
Steps 1. Use the following command to check the AX210 WiFi card WoWLAN status: $ iw phy0 wowlan show 2. If WoWLAN is disabled, use the following command to enable it: $ sudo iw phy0 wowlan enable magic-packet 3. Use the ifconfig command to make sure your WiFi card (wlp6s0) is connected on a SSID to get an IP address. Record the IP and WiFi MAC address.
Table 17. Setup.ini settings (continued) Parameter Settings Interval 1, 2, ..., 1000 [ms], sending interval between each frame Test time 0 = once, 1, 2, ..., 60 [min], length of test time Test file Pattern.txt file includes ID and data used for sending test frames. Log file Log.txt is used for saving the test result.
RX– TX– D– Steps 1. Download the latest driver (EMP2-X4S2_Linux_driver_<DATE>.zip) from the Dell Technologies Support Site. Unzip the file and copy the driver package on your platform with the Ubuntu environment. 2. Use the following cd commands in the driver directory.
b. Use the menus to finish the enrolling process. c. Use the same password used when running mokutil. d. Save the key. e. Reboot again. 5. For RS-422, use RS-422 cables with the EMP2-X4S2 card. For the RS-422 port-to-port test, connect the RS-422-A and RS-422-B as detailed in the following: ●...
Page 116
The PCA9535 7-bit device address is 0x20. CN13 is the connector for the PCA9535 expander. CN13 is connected to I2C bus #3, as shown in the following figure. Figure 136. Board connection for the PCA9535 GPIO expander Steps 1. Connect the expander board according to the previous figures, then reboot the system. 2.
Page 117
If the gpio_pca953x module is not found, load the module using the following command: $ sudo modprobe gpio-pca953x Confirm that the module is loaded using the following command: $ sudo dmesg | grep pca953x 75.638778] pca953x 3-0020: supply vcc not found, using dummy regulator 75.638862] pca953x 3-0020: using no AI 5.
Page 118
$ echo in > /sys/class/gpio/gpio195/direction $ echo in > /sys/class/gpio/gpio196/direction Write 0 or 1 on the OUT port and read the IN port using the external loop back board, as shown in the following figure: Figure 137. External loop back board and connector $ echo 0 >...
Page 119
b. To test the GPIO port on kernel version 5.15, use the following command: $ sudo su $ echo 693 > /sys/class/gpio/export $ echo 694 > /sys/class/gpio/export $ echo 695 > /sys/class/gpio/export $ echo 696 > /sys/class/gpio/export $ echo 697 > /sys/class/gpio/export $ echo 698 >...
Ubuntu troubleshooting The following tasks describe how to recover from errors when using Ubuntu. Recover from cloud-init process failure About this task During boot up, one of the following failure symptoms may occur: ● Ethernet ports do not work. This is due to the improper power-up and a failed cloud-init process. ●...
Need help?
Do you have a question about the Edge Gateway 3200 and is the answer not in the manual?
Questions and answers