Skip to content

shanedertrain/jlink-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

J-Link Firmware Loader

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.

Features

  • 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

Requirements

  • Python 3.6+
  • tkinter (usually included with Python)
  • pylink-square (for the pylink version)
  • pyinstaller (for building executables)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/jlink-firmware-loader.git
    cd jlink-firmware-loader
  2. Install the required Python packages:

    pip install pylink-square
    pip install pyinstaller

Usage

Running the Application

You can run either version directly with Python:

  • Subprocess Version:

    python subprocess_jlink_loader.py
  • Pylink Version:

    python pylink_jlink_loader.py

Building Executables

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

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Acknowledgements

  • PyLink - Python interface to J-Link.
  • PyInstaller - Freezes Python applications into stand-alone executables.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published