Microchip / Arduino (AVR & ARM)

# Arduino Mega 2560 (ATmega2560)

256 KB ATmega2560 target consolidating both stock Mega 2560 and Mega 2560 R3 CH340 clone evidence records (including L3 silicon capture).

twin: provisional AVR 8-bit RISC (22-bit PC) family: mchp-avr-classic

Passing / Total 2 / 8 6 failing (4 not built, 0 inconclusive)

Evidence Standing provisional 0 verified, 4 provisional, 4 unsupported

Silicon Match 1/2 Matched vs compared features

Levels (L0-L3) 5/1/0/2 Rows at L0 / L1 / L2 / L3

## Hardware specification

| MCU             | ATmega2560                                                                                                                                        | Core        | AVR 8-bit RISC (22-bit PC) |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | -------------------------- |
| Max clock       | 16 MHz                                                                                                                                            | Flash / RAM | 256 KB / 8 KB SRAM         |
| Primary buses   | TWI (I2C), SPI, 4x USART, 16-ch ADC                                                                                                               |             |                            |
| Dashboard ID(s) | arduino-mega2560 (source [board-dashboard.json](https://circuittwin.ai/evidence/board-dashboard/board-dashboard.json), 2026-11-22, rev 377f67ee2) |             |                            |

## Published L0-L3 suite status

Every row comes verbatim from [board-dashboard.json](https://circuittwin.ai/docs/board-dashboard). Inconclusive runs (touching an unmodelled register) and unbuilt Zephyr targets count as failing rather than silent passes.

| Suite                                       | Level | Result    | Status      | Silicon | Unmodelled Regs | Timing Band | Artifact SHA-256 |
| ------------------------------------------- | ----- | --------- | ----------- | ------- | --------------- | ----------- | ---------------- |
| completion:buses                            | L1    | Fail      | provisional | N/A     | Not measured    | N/A         | 2ecf78236b5a     |
| completion:fidelity                         | L0    | Fail      | provisional | N/A     | Not measured    | N/A         | 2ecf78236b5a     |
| completion:silicon                          | L3    | Pass      | provisional | N/A     | Not measured    | N/A         | 2ecf78236b5a     |
| l1-boot:blinky                              | L0    | Not built | unsupported | N/A     | Not measured    | N/A         | 968509f35fa1     |
| l1-boot:hello\_world                        | L0    | Not built | unsupported | N/A     | Not measured    | N/A         | 968509f35fa1     |
| l1-boot:philosophers                        | L0    | Not built | unsupported | N/A     | Not measured    | N/A         | 968509f35fa1     |
| l1-boot:shell                               | L0    | Not built | unsupported | N/A     | Not measured    | N/A         | 968509f35fa1     |
| silicon:silicon-arduino-mega2560-2026-11-19 | L3    | Pass      | provisional | 1/2     | Not measured    | N/A         | 5b8cd1eaba61     |

## Run locally with ct CLI

Shell

```
# Run your compiled ELF on Arduino Mega 2560 with structured JSON output
ct run --json --board arduino-mega2560 build/app.elf

# Start a GDB server with reverse execution attached to the twin
ct debug --board arduino-mega2560 --gdb-port 3333 build/app.elf
```

## GitHub Actions CI workflow

.github/workflows/firmware-ci.yml

```
name: Firmware Twin CI (ATmega2560)
on: [push, pull_request]
jobs:
  simulate:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Run firmware on Arduino Mega 2560 twin
        uses: circuittwin/action@v1
        with:
          board: arduino-mega2560
          firmware: build/app.elf
          suite: tests/suite.yaml
          junit-out: results/arduino-mega2560.xml
```

## Other boards in Microchip / Arduino (AVR & ARM)

[Adafruit Feather M4 Express (ATSAMD51J19A)](https://circuittwin.ai/boards/feather-m4-express) [Arduino GIGA R1 WiFi (7/8)](https://circuittwin.ai/boards/arduino-giga-r1) [Arduino Leonardo (ATmega32U4)](https://circuittwin.ai/boards/arduino-leonardo) [Arduino MKR WiFi 1010 (ATSAMD21G18A)](https://circuittwin.ai/boards/arduino-mkr-wifi-1010) [Arduino Nano (0/4)](https://circuittwin.ai/boards/arduino-nano) [Arduino Nano Every (ATmega4809)](https://circuittwin.ai/boards/arduino-nano-every)

## Related guides and twins

[Board dashboard methodology](https://circuittwin.ai/docs/board-dashboard) [Twin: MAX31855](https://circuittwin.ai/twins/max31855) [Twin: DS3231](https://circuittwin.ai/twins/ds3231) [Twin: HT16K33](https://circuittwin.ai/twins/ht16k33) [Guide: avr atmega firmware ci](https://circuittwin.ai/guides/avr-atmega-firmware-ci) [Guide: marlin firmware testing ci](https://circuittwin.ai/guides/marlin-firmware-testing-ci) [Guide: uart baud mismatch debugging](https://circuittwin.ai/guides/uart-baud-mismatch-debugging)

> ## Test your ATmega2560 ELF on CircuitTwin
>
> Run Arduino Mega 2560 firmware locally or in CI with deterministic peripheral faults and exit code 4 diagnostics on unmodelled registers.
>
> [Start now](https://app.circuittwin.ai/try) [ct CLI reference](https://circuittwin.ai/docs/cli) [Connect a coding agent](https://circuittwin.ai/docs/agents)
