machine-check-avr

Crates.iomachine-check-avr
lib.rsmachine-check-avr
version0.3.1
sourcesrc
created_at2024-03-09 17:20:50.995841
updated_at2024-10-09 18:23:42.972579
descriptionCrate for the formal verification of AVR microcontrollers by machine-check
homepage
repository
max_upload_size
id1168008
size165,920
(onderjan)

documentation

README

AVR microcontroller machine-code verification using machine-check

The executable in this crate allows formal verification of machine-code programs for the AVR ATmega328P microcontroller via machine-check.

In addition to common machine-check executable arguments, the executable takes a pair of arguments specifying path to Intel HEX file containing the ATmega328P program code: --hex-file abc.hex.

See machine-check for details on verifying specifications.

Note that both machine-check and this crate are currently experimental and awaiting further improvement and stabilization.

Known system problems

  • Some lesser-used instructions are unimplemented.
  • Only general-purpose I/O peripherals are supported.
  • The program counter is not always checked for overflow.

Inherent panics

  • Jumps and calls outside program memory.
  • Execution of reserved or illegal opcodes.
  • Illegal or discouraged reads and writes.
  • Push, pop, call, return with values read or written outside data memory.
  • Unimplemented instructions, reads and writes.

Used resources

The system is written using the official AVR instruction set manual and non-automotive ATmega328P datasheet.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt