CJ

cyj0920/jlink_mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

40 stars 6 forks 품질 68 트렌드 12MIT

J-Link debuggers의 강력한 모델 Context Protocol (MCP) 서버는 메모리 작동, 플래시 프로그래밍 및 실시간 데이터 전송을 포함한 포괄적인 디버깅 기능을 제공합니다 ...

개요

프로젝트 Server는 Model Context Protocol을 통해 AI Assistants와 J-Link 디버거 기능을 통합하는 종합 디버깅 도구입니다. 메모리 운영, 플래시 프로그래밍, 등록 액세스 및 실시간 데이터 전송을 포함한 하드웨어 디버깅 기능에 완벽한 액세스를 제공합니다. - : 3.8 이상 - : Segger의 최신 버전 - : 지원되는 모든 J-Link 디버거 - : Windows, Linux 또는 macOS .env 파일 또는 설정 환경 변수: MCP 구성 파일에 추가 (일반적으로 ~/.config/mcp/settings.json 또는 C:\Users\ .iflow\settings.json): 서버는 모듈식, 플러그인 기반 아키텍처를 따릅니다. 서버는 device-specific 기능을 위한 유연한 플러그인 아키텍처를 지원합니다: 서버는 9개의 범주를 제공합니다: : 1. J-Link가 USB 2.를 통해 올바르게 연결되는지 확인하십시오. J-Link 소프트웨어를 Verify 3. JLinkExe를 실행하여 장치 감지를 확인합니다. 4. 인터페이스 유형 확인 (SWD vs JTAG) 5. Verify 대상 장치가 구동됩니다

개요(AI 번역)

**J-Link 디버거용 강력한 모델 Context Protocol (MCP) 서버 **

**J-Link上的世界大工上下文上(MCP) 서버 **


English | 한국어


영어 문서

##🚀#

프로젝트 Server는 Model Context Protocol을 통해 AI Assistants와 J-Link 디버거 기능을 통합하는 종합 디버깅 도구입니다. 메모리 운영, 플래시 프로그래밍, 등록 액세스 및 실시간 데이터 전송을 포함한 하드웨어 디버깅 기능에 완벽한 액세스를 제공합니다.

✨ 주요 특징

특징 묘사
로그인 장치 연결 자동검출 지원으로 SWD/JTAG를 통해 연결(chip_name=None 또는 [T1]])
Physics Smart Chip Matching 지능형 칩명 매칭(예: [T2]] → FC7300F4MDDxXxxxT1C)
**메모리 운영 ** 설정 가능한 액세스 폭으로 메모리 읽기/쓰기 (8/16/32-bit)
🔥 ** 플래시 프로그래밍 ** 프로그램, 지우개, 플래시 메모리 확인
De Debug Control Halt, run, 단상 실행
Register Access SVD 필드 파싱으로 CPU 등록을 읽으려면
RTT 지원 Segger RTT를 통한 실시간 데이터 전송

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.


English Documentation

🚀 Overview

JLink MCP Server is a comprehensive debugging tool that integrates J-Link debugger capabilities with AI assistants through the Model Context Protocol. It provides seamless access to hardware debugging features including memory operations, flash programming, register access, and real-time data transfer.

✨ Key Features

Feature Description
🔌 Device Connection Connect via SWD/JTAG with auto-detect support (chip_name=None or "auto")
🔍 Smart Chip Matching Intelligent chip name matching (e.g., FC7300F4MDD → FC7300F4MDDxXxxxT1C)
💾 Memory Operations Read/write memory with configurable access widths (8/16/32-bit)
🔥 Flash Programming Program, erase, and verify flash memory
🎯 Debug Control Halt, run, single-step execution with breakpoints
📊 Register Access Read/write CPU registers with SVD field parsing
📡 RTT Support Real-time data transfer via Segger RTT
🔧 SVD Integration Access peripheral registers via SVD files with pickle cache
🧩 Plugin Architecture Extensible device-specific patch system
🌐 GDB Server Integrated GDB server support
📚 Usage Guidance Built-in help tools for best practices and scenarios

📋 Prerequisites

  • Python: 3.8 or higher
  • J-Link Software: Latest version from Segger
  • J-Link Hardware: Any supported J-Link debugger
  • Operating System: Windows, Linux, or macOS

🛠️ Installation

Method 1: Install from PyPI

pip install jlink-mcp

Method 2: Install from Source

# Clone the repository
git clone https://github.com/cyj0920/jlink_mcp.git
cd jlink_mcp

# Install in development mode
pip install -e .
# Install UV
pip install uv

# Install with UV
uv pip install jlink-mcp

⚙️ Configuration

Environment Variables

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "jlink": { "command": "python", "args": ["-m", "jlink_mcp"], "env": { "JLINK_SVD_DIR": "C:\\path\\to\\svd\\files", "JLINK_PATCH_DIR": "C:\\path\\to\\patches", "JLINK_DEFAULT_INTERFACE": "JTAG" } } } }