Developer Builds Tiny Interpreter to Run Programs from ATtiny85 EEPROM
A developer has created a proof-of-concept interpreter for the ATtiny85 microcontroller that executes instructions stored in EEPROM rather than the usual FLASH memory. The project is not intended to replace standard firmware but to explore compact instruction encoding and runtime programmability on constrained hardware. Each instruction occupies exactly two bytes — one for a command ID and one for packed arguments — supporting operations such as GPIO control, non-blocking delays, and ADC-to-PWM mapping. A special 0xFF marker signals the end of the program, after which the interpreter loops continuously. The dense, easily parsed instruction stream resembles a minimal bytecode format and requires only standard AVR toolchain utilities to build and deploy.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in