How to Use AVR8-Burn-O-Mat — Step-by-Step Tutorial
What you need
- AVR8-Burn-O-Mat hardware unit
- USB cable (to computer)
- Target AVR microcontroller or development board with ISP header
- 6–10 pin ISP cable (matching your target)
- Power supply for target (if not powered by AVR8-Burn-O-Mat)
- Computer with supported OS and AVR tools (AVRDUDE or vendor software)
- HEX or BIN firmware file to flash
Step 1 — Install drivers and tools
- Install any USB drivers required by AVR8-Burn-O-Mat (or ensure it enumerates as a serial/USB device).
- Install AVRDUDE (or the recommended flashing utility) and verify it runs from a terminal/command prompt.
Step 2 — Connect hardware
- Power off the target board.
- Connect the AVR8-Burn-O-Mat to your computer via USB.
- Plug the ISP cable between AVR8-Burn-O-Mat and the target’s ISP header, matching MISO/MOSI/SCK/RESET/VCC/GND orientation.
- If the target requires external power, connect/disconnect power per the device’s requirements (do not power both from conflicting supplies).
Step 3 — Configure device and target settings
- Select the correct target voltage if the programmer has a voltage selection or jumper.
- In your flashing utility (e.g., AVRDUDE), choose the programmer type that corresponds to AVR8-Burn-O-Mat (use the vendor-specified programmer id).
- Specify the target MCU model (e.g., atmega328p) and communication port if needed.
Step 4 — Verify connection
- Use a command to detect the target signature (AVRDUDE example):
avrdude -c -p -P -b -v
- Confirm AVRDUDE reports the correct device signature and voltage.
Step 5 — Flash firmware
- Backup existing flash and fuse bytes if needed:
avrdude -c -p -U flash:r:backup.hex:iavrdude -c -p -U lfuse:r:-:i -U hfuse:r:-:i -U efuse:r:-:i
- Write the new firmware:
avrdude -c -p -U flash:w:your_firmware.hex:i
- If required, set fuses:
avrdude -c -p -U lfuse:w::m -U hfuse:w::m -U efuse:w::m
Step 6 — Verify and test
- Verify flash with:
avrdude -c -p -U flash:v:your_firmware.hex:i
- Power-cycle the target and run functional tests.
Troubleshooting (short)
- No device signature: check wiring, power, and correct ISP orientation.
- Permission errors on USB port: run with appropriate privileges or add udev rules on Linux.
- Failed fuse write: ensure correct voltage and that RESET line is functional.
Safety & best practices
- Always back up flash and fuses before writing.
- Avoid connecting/disconnecting ISP while power is applied unless hot-plugging is supported.
- Use correct voltage levels to prevent MCU damage.
If you want, I can produce AVRDUDE command examples filled in for a specific MCU and OS.