...Cellular modules evaluation software
www.u-blox.com
m-center is u-blox's powerful cellular module evaluation tool. With this software it is possible to connect and interact with u-blox's cellular modules and perform different activities with them.
Use the eight icon buttons at the top of the window to access to the following pages:
Above these button is the m-center toolbar, which contains four options:
To open the AT Terminal in a separate window, click the "AT Terminal" button in the upper right corner.
At the top of the window, a status bar displays the module (manufacturer, model, etc.) and the network information (operator and signal strength), if available. At the bottom of the window another status bar displays the current AT and Trace COM port settings.
...index
The Home page is the main page of the program. From here it is possible to connect the m-center to an Evaluation Kit (EVK), start a modem trace, and display the module information. In the same page it is possible to configure the COM ports, the PIN usage, the module date and time, and the power saving.
The Home page includes the following sections:
This page displays the network information and lists the available network operators. From here it is possible to manage the packet switched data (PSD) profiles.
The Phonebook page provides a view of the SIM phonebook, and lists the most recently dialed (mobile originated) calls. When a module is connected with m-center, it is possible to perform various operations:
This page allows users to geographically locate the module through the CellLocate® feature, a u-blox GNSS receiver connected to the module, or both.
...index
FOTA (Firmware Over The Air) is a procedure for updating the firmware on a connected electronic device, such as on mobile phones and tablet computers.
In m-center, the FOTA demo application upgrades the cellular module firmware by retrieving a "delta-file" from a FTP server and upgrading the firmware using this delta-file.
To start the FOTA application, click the "FOTA On" button in the upper left corner of the page. When the FOTA application starts, m-center checks if the module is registered on the network, and if a PSD context is active. If there is no registration or no context is active, the FOTA application exits. A PSD context can be activated in the Network page.
On the left side of the page there is a FOTA Log box, where all the FOTA operations are listed. To clean the FOTA log click the "Clear Log" button.
The SMS format is:
Example:
In the FTP Data section, the fields will be filled with the data received from the SMS. The User Nr box will contain the user number.
At the "Download SMS" reception, m-center connects to the FTP server and downloads the delta-file from there. After a successful firmware download, an acknowledgement SMS will be sent to the user that triggered the download.
The delta-file can be manually downloaded by clicking on the "Manual FTP download" button after having filled the FTP Data section with the FTP data and the filename fields.
The SMS format is:
Example:
In this SMS, the only data sent is the filename of the delta-file, which must be stored in the FS.
The firmware upgrade can be manually triggered by clicking on the "Manual FW upgrade" button after having filled the FTP Data section with the filename field.
During the FW upgrade process, the status bar at the lower left part of the window shows the upgrade progress indication.
After a successful upgrade, the module is rebooted. The m-center will ask for the PIN code if the PIN has been previously enabled. If an SMS triggered the upgrade, an acknowledgement SMS with the new firmware version is sent to the user.
The SMS format is:
Example:
After a successful upgrade and the module reboot, an acknowledgement SMS with the new firmware version is sent to the user.
...index
This page allows users to run a PSAP (Public Safety Answering Point) simulator. It is a system that, in conjunction with a PSAP cellular modem, is capable of receiving a simulated eCall (emergency Call) and the MSD (Minimum Set of Data) transmitted within the eCall.
...index
To open the AT terminal window, click on the "AT Terminal" button at the upper right of the m-center window. In this window it is possible to communicate directly with the module.
The terminal data panel displays all the communications between m-center and the module. All the data sent to the module are displayed in blue text, while the data received from the module are displayed in red text. To clear the contents of the terminal data panel, click the "Clear Terminal" button.
AT commands can manually be entered or chosen in the AT command list on the right side of the window.
Clicking the red close button in the upper right corner of the AT terminal window hides the terminal, although it remains active.
On the top left of the window there is a checkbox that enables/disables the AT terminal log. The log is by default enabled and saved in the m-center "log" folder using the filename "mc_at.log". To empty the log file, click the "Clear Log" button.
Click the "Save as..." button to choose another log filename and path.
Upon exit, m-center makes a copy of the log file in the "log" folder, adding a timestamp to the filename.
Hex mode can be selected with the checkbox in the upper side of the window.
In Hex mode, all the transmitted and received data are shown in both hex and text format. The AT terminal log also reflects this setting.
On the right side of the AT Terminal window there is a list of predefined AT commands. The commands are arranged into many groups, which can be selected in the drop-down list in upper right corner.
If a command in the list is clicked, it will be inserted in the input text box and a comment-box of the command will be displayed on the right of the command list.
If a command in the list is double-clicked, it will be sent to the module.
The controls of the com port flow control lines are placed at the bottom right of AT terminal window. There are six control lines: RTS, DTR, CTS, DSR, RI & DCD. When the COM port flow control is set to "hardware" the system takes the control of DTR and RTS lines, otherwise they can be set manually. For remaining lines only their status can be observed.
These flow control lines can be enabled or disabled from the setting menu using "Enable/Disable COM port lines" option. Once these lines are disabled it will remain as it is, regardless of the flow control setting from "Set Port".
At the bottom of AT terminal window there is a panel from which it is possible to select an AT script from a drop down menu and run it. The AT scripts are text files in which every line corresponds to one AT command. It is also possible to define a global time-out in seconds. For every AT command, m-center will wait for a response before moving to the next command. Whenever a timer expires, the script will be aborted, and the remaining commands will not be sent to the modem. The iteration of script can be set in Loop Count. Range is from "0" to "1000". If loop count value is set to "0", the selected AT script will run for indefinite amount of time. Iteration number is displayed in "iteration" label.
Home page
...index
When the program initializes or "gets info", it checks for the presence of a SIM card. If the SIM card is not present or a PIN number is required, a pop-up box will be displayed.
During the trace operation the trace file size is shown together with the trace data transfer speed. The consistency of the trace data is checked and the file size of the trace log is continuously updated. If the data flow being analyzed does not match a known trace protocol, the message "Trace Log NOT VALID" will appear. A valid trace will issue the message "Trace Log Valid". If the file size fails to grow, or the trace data is not valid, consider disconnecting the trace port and trying another port.
On TOBY-L1 and MPCI-L1 the trace check cannot be performed.
On LEON-G / SARA-G the Trace operation can only be performed on the UART COM port.
On LISA-U / SARA-U / TOBY-L2 / MPCI-L2 / TOBY-R / LARA-R series the Trace operation can be performed on both UART and USB ports.
On TOBY-L2 and MPCI-L2 the Trace operation can be performed also on socket.
The changes only have effect if the SIM card is inserted into the module.
Network page
...index
Click the "Refresh Info" button to update the information.
When the network list has been populated, it is possible to select an operator (if allowed) clicking on the "Select Op." button. The operator selection sets the selection mode to manual. It is possible to return to automatic search mode clicking the "Set auto mode" button. It is also possible to deregister the module from the network by pressing the "Deregister" button. Because all these actions can take some time, the wait dialog will appear, giving the user the possibility to abort the operation.
Phonebook page
The m-center by default does not load the SIM phonebook and the last dialed calls list. To load the phonebook details, click the "Get List" button. After a few seconds the table is filled with the phonebook entries.
Editing the SIM phonebook
These actions can be performed on the SIM phonebook by clicking the buttons at the bottom of the entry list.
Sending SMS to phonebook number
An SMS can be sent to the number selected in the SIM phonebook or in the "Last dialed calls" list by clicking the "SMS" button. In this case, m-center switches to the SMS page (see next paragraph for SMS operations).
...index
SMS Page
This page allows the user to send text messages (SMS), to manage the received messages, and to set the message service center number.
...index
To delete a message, select it in the list and click the "Delete" button.
After clicking the "Reply" button, the "Destination phone number" box on the left of the window is automatically filled with the phone number of the received SMS.
File System page
In this page, a simple File System manager is implemented. The files in module's File System can be displayed, copied to or from user's PC.
...index
Positioning page
The test for GNSS checks the presence of the GNSS receiver. The test for the CellLocate® feature verifies a PSD context activation. (If no context is activated, it is possible to define a new one and activate it on the Network page). A pop up box displays the result of the availability test.
FOTA page
Retrieving a delta file from an FTP server
An external user can trigger the FOTA download operation by sending a "Download SMS" to the module connected to the m-center. This SMS shall start with the text tag defined in the Download FW Tag box. The default value of this tag is "FOTADWN", but it can be changed by editing the relative box.
<Dwn SMS Tag>:<FTP server address>,<FTP server username>,<FTP server password>,<FTP server path>,<Delta file name>
FOTADWN:123.123.123.123,Lisa,mypassword,dload/fw,Delta_MSY_FW_91.02_to_91_01_F.upd
In this demo application concatenated SMSes are not supported.
The port number information can be optionally added in the<FTP server address> field using this syntax: <FTP address>:<FTP port> (e.g. 123.123.123.123:8080).
Upgrading the firmware
An external user can trigger the upgrade process by sending an "Upgrade SMS" to the module connected to the m-center. This SMS shall start with the text tag defined in the Upgrade FW Tag box. The default value of this tag is "FOTAUPG", but it can be changed by editing the corresponding box.
<Upg SMS Tag>:<Delta file name>
FOTAUPG:Delta_MSY_FW_91.02_to_91_01_F.upd
Complete operation
It is possible to perform a download and an upgrade operation by means of a user SMS that starts with the text tag defined in the Dwn+Upg FW Tag box. The default value of the tag is "FOTAALL".
<Dwn+Upg SMS Tag>:<FTP server address>,<FTP server username>,<FTP server password>,<FTP server path>,<Delta file name>
FOTAALL:123.123.123.123,Lisa,mypassword,dload/fw,Delta_MSY_FW_91.02_to_91_01_F.upd
eCall PSAP simulator page
AT terminal
Terminal log
Hex mode
Entering commands
The AT terminal stores the 20 last commands sent, which can be accessed with the arrow keys or through the drop-down list at the upper right of the window.
Select the "Clear buffer on send" checkbox to clear the textbox after sending the data to the module.
AT command list
AT command list editing
To add a new AT Group, select the "---new group---" item in the drop-down list in upper right corner of the AT terminal window.
Click the "Edit AT Groups" button in the lower right corner of the AT terminal window to open the "Edit AT Groups" dialog. Here it is possible to add, edit, cancel or move more groups.
A new command can be directly added in an empty AT Group by clicking on the "---new command---" item in the right part of the AT terminal window.
The commands can be further added, edited, cancelled or moved (within a group or between groups), using the "Edit AT commands" dialog. This dialog is opened via the "Edit AT Commands" button in the lower right corner of the AT Terminal window.
All the AT groups, commands and comments are stored in the m-center "par" folder, in the file "mc-atlist.par". This file can be edited separately using a simple text editor. If this file is removed, the default command list "mc-atlist.dat", located in m-center root folder, will be used.
Flow Control Lines
AT Scripting
The AT script files have ".atl" extension and are saved in "par\at_script" in the m-center folder.
In order to create a new AT script file, open a file in notepad and save it with extension ".atl" at location "m-center\par\at_script". Add AT commands in small or capital letters and save it. Make sure each AT command is entered in separate line.
for example:
AT+COPS=?
AT+CLCK="SC",2
AT+CPIN?
at+uhfp=1,0x0000,,,,,,,0,0,500,8192,7500,7500,8,100,100,100,60,60,60
In order to add new AT commands in existing scripts.
Go to location "m-center\par\at_script" and open the target script in notepad. New AT command can be added anywhere in the script at new line. Make sure it is added in a new line(not to embed with any other AT command).
for example: adding AT+UPSV? in the previous example
AT+COPS=?
AT+CLCK="SC",2
AT+CPIN?
at+uhfp=1,0x0000,,,,,,,0,0,500,8192,7500,7500,8,100,100,100,60,60,60
AT+UPSV?
OR
AT+COPS=?
AT+CLCK="SC",2
AT+UPSV?
AT+CPIN?
at+uhfp=1,0x0000,,,,,,,0,0,500,8192,7500,7500,8,100,100,100,60,60,60