background image

Cat M1 / NB-IoT Modem

NWK030

Initial Setup (cont.)

Firmware Update via AT Commands

Procedure for FOTA Over HTTP

1. 

Verify existing / current firmware version via ATI command

2. Set up a HTTP connection: 

AT+UHTTP=2,1,”www.websiteurl.com” 
AT+UHTTP=2,5,<port number>

3. Get from the previously set HTTP connection 

AT+UHTTPC=0,1,”/path/firmware_file.pkg”

4. 

After the download is finished (+UUFTPCR: 100, 1), start the FOTA update:

 

AT+UFWINSTALL 
It should reboot after 15-20 minutes, do not remove the power from the device before it reboots.

5. 

Verify firmware version via the ATI command

 

The firmware should be different from the previous ATI command output

 

USB Update Application (cont.)

US Office

Phone: +1 802 861 2300
Email: [email protected]
www.onlogic.com

EU Office

Phone: +31 088 5200 700
Email: [email protected]
www.onlogic.com

10

Summary of Contents for NWK030

Page 1: ...NWK030 Cat M1 NB IoT Modem Revision Date 2019 09 06 US Office Phone 1 802 861 2300 Email info onlogic com www onlogic com EU Office Phone 31 85 2733760 Email info onlogic eu www onlogic com ...

Page 2: ... Firmware Update 9 USB Update Application 9 Firmware Update via AT Commands 10 Procedure for FOTA Over HTTP 10 Procedure for FOTA Upgrade via UFTP Method 11 Technical Functions 12 Connecting to Modem via PuTTY Windows 12 Connecting to Modem via Minicom Ubuntu 12 AT Commands 13 Code Examples Other Useful Resources 15 Troubleshooting 15 Known Limitations 15 Check Internet Connectivity TCP 15 US Offi...

Page 3: ...o the evolving Industrial Internet of Things This guide will introduce you to the NWK030 modem and walk you through setup and installation For technical questions or support please reach out via our contact information below or visit our NWK030 Tech Support site at https www onlogic com support documentation getting started with the nwk030 US Office Phone 1 802 861 2300 Email info onlogic com www ...

Page 4: ...OUT OF THE USE OR INABILITY TO USE ANY OnLogic PRODUCT EVEN IF OnLogic AND OR ITS AFFILIATES HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES OR THEY ARE FORESEEABLE OR FOR CLAIMS BY ANY THIRD PARTY In no event shall OnLogic and or its affiliates aggregate liability arising under or in connection with the OnLogic product regardless of the number of events occurrences or claims giving rise to li...

Page 5: ...primary RF input output for transmission and reception of LTE RF signals The Cellular pin of NWK030 has a nominal characteristic impedance of 50 Ω and must be connected to the primary Tx Rx antenna through a 50 Ω transmission line to allow proper RF transmission and reception When installed in a OnLogic computer the Cellular interface is connected to an external antenna mount The external mount us...

Page 6: ...ory Information GCF PTCRB CE Europe FCC US ISED Canada RoHS Protocols Dual stack IPv4 and IPv6 Embedded TCP IP UDP IP FTP HTTP Embedded MQTT CoAP Embedded HTTPS FTPS TLS Firmware Upgrade Via UART and USB Via FOTA Operating Voltage Power Input VCC_3V3 Minimum 3v Maximum 5 5v Serial 1 UART 1 USB 2 0 high speed 480 Mb s Features Power Save Mode Embedded TCP UDP stack eDRX Embedded HTTP FTP Antenna Su...

Page 7: ...s Micro SIM card Socket Full Half size Cutting Line Cat M1 NB1 U FL R SMT 1 Socket Pin 1 Pin 52 Pin 2 Pin 51 50 95 mm 30 mm 26 8 mm US Office Phone 1 802 861 2300 Email info onlogic com www onlogic com EU Office Phone 31 088 5200 700 Email info onlogic eu www onlogic com 6 ...

Page 8: ...Power Ground 16 NC Not Connected 17 GNSS_RXD Input 1 8V UART GNSS data output EVA M8M 0 pin15 18 GND Power Ground 19 NC Not Connected 20 W_DISABLE_N Hi or Open Enable the Power Low Disable the power 21 GND Power Ground 22 RESET_N Input SARA R4 External reset input SARA R4 pin18 23 UART_RXD Input 1 8V UART data output SARA R4 pin12 24 VCC_3V3 Power Power Input 25 UART_RTS Output 1 8V UART clear to ...

Page 9: ...nce LED setting flash via AT command port AT UGPIOC 16 2 43 GND Power Ground 44 GPIO5 Input SIM detection SARA R4 pin42 45 NC Not Connected 46 UART_DTR Input 1 8V UART data terminal ready SARA R4 pin9 47 NC Not Connected 48 V_BCKP Input Real Time Clock Backup supply EVA M8M 0 pin21 49 NC Not Connected 50 GND Power Ground 51 NC Not Connected 52 VCC_3V3 Power Power Input US Office Phone 1 802 861 23...

Page 10: ...mmands When firmware is available User can perform a FOTA update via HTTP The firmware will be hosted at www onlogic com nwk030 A FOTA upgrade package is delivered as two phases fwA_to_fwB Phase1 pkg fwA_to_fwB Phase2 pkg In the Phase 1 package the FOTA Update Agent is updated from a full file to delta file Agent In the Phase 2 package the remaining firmware changes are executed This two package m...

Page 11: ... UHTTPC 0 1 path firmware_file pkg 4 After the download is finished UUFTPCR 100 1 start the FOTA update AT UFWINSTALL It should reboot after 15 20 minutes do not remove the power from the device before it reboots 5 Verify firmware version via the ATI command The firmware should be different from the previous ATI command output USB Update Application cont US Office Phone 1 802 861 2300 Email info o...

Page 12: ... AT UFTP 3 password AT UFTP 4 account AT UFTP 5 timeout_seconds AT UFTP 6 ftp_mode 1 passive 0 active AT UFTPC 1 The UUFTPCR 1 1 URC is issued to confirm a successful connection 6 Download the phase 2 file from the FTP server AT UFTPC 100 package_path fwA_to_fwB Phase2 pkg 7 After the download is finished UUFTPCR 100 1 start the FOTA update AT UFWINSTALL It should reboot after 15 20 minutes do not...

Page 13: ...ack the commandes In the terminal window type ATE1 and press Enter It is possible that no text will be displayed until the command is executed Connecting to Modem via Minicom Ubuntu From the Ubuntu terminal sudo minicom s Serial port setup Press a change name to dev ttyUSB1 Press g to change software flow control to YES Exit this will drop you to a new shell Make the modem echo back the commandes ...

Page 14: ...m on AT CFUN 15 Power cycle the modem AT CNUM Verify Phone Number AT CSQ Signal quality 99 99 means no signal AT XSIMSWITCH Switch SIM Slot in use 0 1 default is 0 AT USOCR Creates a socket and associates it with the specified protocol TCP or UDP and returns a number identifying the socket Such command corresponds to the BSD socket routine Up to 7 sockets can be created It is possible to specify t...

Page 15: ...r socket operations e g USOWR USORD This is important to note because if refers to a UDP socket errors will not be reported prior to an attempt to write or read data on the socket AT USORD Reads the specified amount of data from the specified socket like the BSD read routine This command can be used to know the total amount of unread data AT USOCL Closes the specified socket like the BSD close rou...

Page 16: ...7 AT USORD 0 32 AT USOCL 0 Known Limitations The NWK030 will not have a cellular network connection that the Operating System s network managing application can use This means that you can not select the Cellular network option from the system tray and then open a browser and begin browsing the web An application must be developed by you to interface with the modem and transfer data NWK030 require...

Reviews: