Setting Up Your XM125/XE125#
The XE125 is an evaluation board which has the XM125 module soldered onto it. All you need to connect it to a PC is a USB-C cable (not provided by Acconeer).
Hardware Overview#
The image below depicts the XE125 from the front (left) and back (right).

Finding the Serial Port#
In preparation for connecting and flashing, it is good to know the serial port of the device.
Use Device Manager to find the port. It is listed under Ports (COM & LPT)
as USB Serial Port
or Enhanced COM Port
.
It’s most likely COMx
where x
is 3 or higher.
It’s likely /dev/ttyUSBx
where x
is 0 or some other integer.
PySerial has a simple tool for listing all ports available:
python -m serial.tools.list_ports
Note that when the XE125 is connected to a PC, two virtual serial ports will appear:
Enhanced
Standard
Use the enhanced port (usually the first one) when connecting to the module from the Exploration Tool application.
Windows COM Port Drivers#
If no COM port is recognized when plugging in a module, you need to install a driver:
XM125: Silicon Labs
Flashing#
The most convenient method to prepare the XM125 board for flashing is to let the Exploration Tool Application automatically download the latest binary file.
Automatically Download and Flash Using the GUI#
Depending on how you installed in Exploration Tool Installation, start Exploration Tool by either
Double-clicking the
run_app
script,Running the command
python -m acconeer.exptool.app
in your terminal.
To automatically download the latest binary file:
Open the Flash tool by selecting the Flash tab in the tab selection
Click the Get latest bin file button

Once the binary file has been downloaded it is possible to start flashing the board by clicking the Flash button in the Flash tool. Make sure to select the serial port you found in section Finding the Serial Port.
Put the XM125 in DFU mode by following the instructions in the prompt. Use the image in Hardware Overview for reference.
Automatically Download and Flash Using the CLI#
Run the following command from the CLI:
python -m acconeer.exptool.flash flash -d XM125 -f
Put the XM125 in DFU mode by following the instructions in the prompt. Use the image in Hardware Overview for reference.
Manually Download and Flash#
Start by downloading the latest Exploration Server package for XM125 from our developer page.
Inside the downloaded package, acc_exploration_server_a121.bin
can be found.
There are two ways to flash the downloaded binary, either using Exploration Tool GUI or the command line.
Using the Exploration Tool GUI:
Start the Exploration Tool Application:
python -m acconeer.exptool.app
and flash XM125 with the downloaded binary file:
Open the Flash tool by selecting the Flash tab in the tab selection
Click the Browse tab
Click the Browse button and select the downloaded file
Start flashing the board by clicking the Flash button
Put the XM125 in DFU mode by following the instructions in the prompt. Use the image in Hardware Overview for reference.
Using the Command Line:
Put the XM125 in DFU mode:
Press the DFU-button and hold it
Press the RESET-button and hold it
Release the RESET-button
Release the DFU-button
Use the image in Hardware Overview for reference.
Flash:
python -m acconeer.exptool.flash flash -d XM125 -i acc_exploration_server_a121.bin
After the XM125 has been flashed, it needs to be reset. This is done by pressing and releasing the RESET-button.