Setting up your XM126#
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
Windows COM port drivers#
If no COM port is recognized when plugging in a module, you might need to install a driver:
XM126: FTDI
Flashing#
The most convenient method to prepare the XM126 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 binary tab
Click the Get latest bin file button
![../../_images/flash_tool_dialog_xm126.png](../../_images/flash_tool_dialog_xm126.png)
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 XM126 -f
Manually download and flash#
Start by downloading the latest xm126_exploration_server
package from our developer page.
Start the Exploration Tool Application:
python -m acconeer.exptool.app
and flash XM126 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
![../../_images/flash_tool_dialog_manual_xm126.png](../../_images/flash_tool_dialog_manual_xm126.png)
or by using the following command:
python -m acconeer.exptool.flash flash -d XM126 -i app_update.bin