Setting up your XM125#
For detailed instructions, visit our developer page.
Finding the serial port#
On Windows, use device manager to find the port which will be listed as USB Serial Port
. It’s most likely COMx
where x
is 3 or higher. On Linux, 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 the XM125 has two serial ports. Usually, the first port is the one to use.
Windows COM port drivers#
If no COM port is recognized when plugging in a module, you might 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#
Start the Exploration Tool Application:
python -m acconeer.exptool.app
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.
Automatically download and flash using the CLI#
Run the following command from the CLI:
python -m acconeer.exptool.flash flash -d XM125 -f
Manually download and flash#
Start by downloading the latest acc_exploration_server_a121.bin
from our developer page.
Flash XM125 using the Exploration Tool Application:
python -m acconeer.exptool.app
or by using the following command:
python -m acconeer.exptool.flash flash -d XM125 -i acc_exploration_server_a121.bin