This repository contains two versions of a Tkinter-based application for loading firmware onto an XMC4700-2048 microcontroller using a J-Link device. One version uses the subprocess
module to interact with J-Link Commander, and the other uses the pylink
library.
- Select firmware file via file dialog
- Load firmware onto XMC4700-2048 at 4000 kHz speed in SWD mode
- Display success or error messages in a message box
- Python 3.6+
tkinter
(usually included with Python)pylink-square
(for the pylink version)pyinstaller
(for building executables)
-
Clone the repository:
git clone https://github.com/yourusername/jlink-firmware-loader.git cd jlink-firmware-loader
-
Install the required Python packages:
pip install pylink-square pip install pyinstaller
You can run either version directly with Python:
-
Subprocess Version:
python subprocess_jlink_loader.py
-
Pylink Version:
python pylink_jlink_loader.py
Batch files are provided to build standalone executables using pyinstaller
:
-
Build Subprocess Version:
build_subprocess_jlink_loader.bat
-
Build Pylink Version:
build_pylink_jlink_loader.bat
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
- PyLink - Python interface to J-Link.
- PyInstaller - Freezes Python applications into stand-alone executables.