Skip to content

Imported ATmega32 onboarding smoke

This profile measures AVR8 execution, GPIOA and polled USART TX against the imported 32 KiB flash / 2 KiB SRAM geometry (SRAM from 0x0060). ATmega32 shares the ATmega16 classic 64-byte I/O file: the chip maps only porta (PINA/DDRA/PORTA at 0x39..0x3B) and the CPU's USART host window, onto which the core translates UBRRL/UCSRB/UCSRA/UDR at 0x29..0x2C. The fixture is tests/fixtures/avr/atmega16-io-smoke.c built with -mmcu=atmega32 -DPART_TAG='"32"'. It runs seven checks: UBRRL and UCSRB readback, UDRE set, SBI on PORTA keeps PA7 and PINA0 follows the latch, CBI clears PA7 only, a PINA write does not toggle (PINx is read-only on this part), and a 160-byte SRAM block at 0x82..0x121 reads back. It stores the check bits at 0x0122, prints M32 IO bits=7F and toggles PA0 in a loop. The smoke asserts the UART text, the result byte 0x7F, at least two PA0 edges and the bounded max_steps stop after 100,000 instructions.

Negative control: the same firmware and script against the previous CPU-only chip descriptor (peripherals: []) fails 0/4.

Not claimed: ports B-D, UBRRH/UCSRC, timers, ADC, SPI, TWI, interrupts and EEPROM. The run assumes an ideal power rail. Result JSON, JUnit assertions, simulator logs, and the snapshot are under docs/coverage/renode-onboarding/metrics/simavr-atmega32/. This is local CLI smoke evidence against the imported manifest, not full ATmega32 coverage or hardware confirmation.