🛠 Récupérer un Micro bloqué : bootloader Caterina et rituel de l'upload

Arduino Micro · avance · Schéma : IMG-micro-avance-2-micro-recuperation-bootloader-caterina.svg — Séquence de récupération d'une Arduino Micro : double appui sur reset, fenêtre bootloader d'environ 8 secondes avec port USB 0x0037/0x8037, puis téléversement ou reprogrammation par ICSP

Objectives

Understand the Micro upload ritual (Caterina bootloader, AVR109 protocol) and learn how to recover a board that no longer accepts any uploads: the 1200 baud window, manual reset, and finally reprogramming the bootloader via ICSP as a last resort.

Hardware

Complete code

// Sketch-minimal de controle apres recuperation : clignotement + amorce CDC.
// Apres un upload reussi, cette LED prouve que l'application tourne.
void setup {
  pinMode(LED_BUILTIN, OUTPUT);  // broche 13
  Serial.begin(9600);            // CDC USB
}

void loop {
  digitalWrite(LED_BUILTIN, HIGH);
  delay(200);
  digitalWrite(LED_BUILTIN, LOW);
  delay(200);
}
// Ritual d'upload Caterina :
// 1) L'IDE ouvre le port a 1200 bauds (upload.use_1200bps_touch) : le
//    bootloader reste actif ~8 s puis redemarre sur l'application.
// 2) Si l'ouverture 1200 ne declenche rien : appuyer sur RESET juste
//    apres l'affichage du message de televersement, dans la fenetre de 8 s.
// 3) En secours absolu : graver bootloaders/caterina/Caterina-Micro.hex
//    via ICSP (arduino-cli ou IDE > Graver le bootloader).

Expected verification

After double-pressing reset (or setting 1200 baud), the USB port disappears and then reappears with the bootloader PID (0x8037 for 0x2341); the upload succeeds and the minimal sketch makes LED 13 blink rapidly. In case of ICSP reprogramming, the fuse and bootloader are restored and uploads return to normal.

Common errors

Other tutorials for this board

Code examples for this board

← Back to the board 🛠 All tutorials