Logo di Mcu Flashing Debug

Mcu Flashing Debug

Community
easyzoom
mcu-flashing-debug

Use when MCU firmware download, flashing, erase, verify, probe connection, boot mode, read protection, or programmer tool operations fail

Panoramica

Autoreeasyzoom
Repositoryaix-skills
Nome della skillmcu-flashing-debug
Stelle
39
Fork
5
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da easyzoom su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Mcu Flashing Debug in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/easyzoom/aix-skills/tree/main/skills/mcu-flashing-debug
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/easyzoom/aix-skills.git /tmp/aix-skills
mkdir -p .claude/skills
cp -r /tmp/aix-skills/skills/mcu-flashing-debug .claude/skills/mcu-flashing-debug
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Mcu Flashing Debug in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Mcu Flashing Debug non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Mcu Flashing Debug non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

MCU Flashing Debug

Overview

Use this skill to debug MCU programming failures safely. Separate connection, erase, program, verify, and reset problems before recommending mass erase, option byte changes, security unlock, or boot configuration changes.

When To Use

Use this skill when:

  • Firmware cannot be downloaded or flashed to an MCU.
  • The programmer reports connect, erase, program, verify, timeout, locked, protected, or target voltage errors.
  • The user mentions ST-Link, J-Link, CMSIS-DAP, OpenOCD, pyOCD, STC-ISP, WCH-Link, Nu-Link, vendor programmers, boot pins, ISP, IAP, DFU, or UART bootloader.

Do not use this skill for application-level bugs after a confirmed successful program/verify/run cycle. For probe-specific debugging (OpenOCD scripts, J-Link config, adapter speed), use openocd-jlink-stlink-debug.

First Questions

Ask for:

  • MCU part number and board.
  • Programmer/probe and connection method.
  • Tool name and exact error output.
  • Firmware artifact path/type: ELF, HEX, BIN, IHX, UF2, or vendor package.
  • Whether erase, program, verify, and reset are separate steps in the tool output.
  • Target voltage, reset wiring, boot pins, and whether the board is externally powered.

Workflow

  1. Classify the failing step. Do not treat "download failed" as one problem. Identify connect, erase, program, verify, reset, or run failure.

  2. Confirm physical and electrical basics. Check power, ground, target voltage sense, reset line, boot pins, and signal wiring before changing software.

  3. Confirm tool-target match. Verify exact chip model, flash algorithm, probe interface, target config, and firmware address.

  4. Lower risk before increasing force. Try lower adapter speed, connect-under-reset, separate erase/program/verify, and fresh rebuild before mass erase.

  5. Preserve logs. Capture programmer output and avoid repeated blind retries.

  6. Ask before destructive operations. Mass erase, security unlock, option byte writes, readout protection changes, bootloader erase, and config fuse changes require explicit approval.

Method Checks

SWD/JTAG

  • Confirm SWDIO/TMS, SWCLK/TCK, RESET, GND, and VTref.
  • Lower adapter clock for long wires or unstable power.
  • Try connect-under-reset when firmware disables debug pins or enters low power.
  • Confirm the debug probe can see target voltage.
  • Confirm readout protection or secure debug is not blocking access.

UART/ISP/IAP

  • Confirm TX/RX cross, common ground, boot pin state, reset/power-cycle sequence, and baud behavior.
  • Confirm the chip actually contains a ROM bootloader or vendor ISP mode.
  • Confirm USB-to-UART voltage level matches target IO voltage.
  • Confirm selected chip model and serial port.

USB DFU/Bootloader

  • Confirm boot mode entry sequence.
  • Confirm USB enumeration and permissions.
  • Confirm package format and target address.
  • Preserve existing bootloader or calibration regions unless explicitly approved.

Verification

Before claiming flashing is fixed:

  • Report connect, erase, program, verify, and reset/run status separately.
  • State the programmer, target chip, interface, adapter speed, firmware artifact, and programmed address.
  • Confirm whether destructive actions were avoided, skipped, or explicitly approved.
  • If verify fails, report the first failing address or range if the tool provides it.

Common Failures

  • Recommending mass erase before confirming wiring and target voltage.
  • Selecting a similar but wrong MCU in the programmer.
  • Flashing a binary to the wrong base address.
  • Ignoring verify failures because program appeared to succeed.
  • Forgetting boot pin or reset timing for UART bootloaders.

Example

User:

text
OpenOCD 连接 STM32 总是 timeout,下载不了。

Agent:

  1. Asks for exact chip, probe, OpenOCD configs, wiring, target voltage, and error log.
  2. Separates connect failure from flash failure.
  3. Suggests lower SWD speed and connect-under-reset before erase.
  4. Asks before readout protection or mass erase operations.

Domande frequenti

Cosa fa la skill IA Mcu Flashing Debug?

Use when MCU firmware download, flashing, erase, verify, probe connection, boot mode, read protection, or programmer tool operations fail

Perché usare Mcu Flashing Debug su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Mcu Flashing Debug è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Mcu Flashing Debug in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/easyzoom/aix-skills/tree/main/skills/mcu-flashing-debug. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Mcu Flashing Debug?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Mcu Flashing Debug?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Mcu Flashing Debug: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Mcu Flashing Debug è gratuita?

Sì. È pubblicata su GitHub da easyzoom con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇