simavr
simavr copied to clipboard
Unable to reproduce tests/atmega88_example.axf results
Running
./simavr/run_avr tests/atmega88_example.axf
yields
Loaded 1722 .text at address 0x0
Loaded 114 .data
Loaded 4 .eeprom
Read from eeprom 0xdeadbeef -- should be 0xdeadbeef..
Read from eeprom 0xcafef00d -- should be 0xcafef00d..
which is inconsistent with the expected output documented in the README.
All the tests are passing...
I am on CentOS 8 and using avr-gcc
installed through arduino-cli
.
The README does not say that the program you build will produce that output, just "A program running with these instructions ... will display". Evidently an older version of run_avr with a higher logging level was used. Indeed, you can get closer by adding several "-v" options to the command.
So there seems to be no real issue here.
It has been logged before: #168 and #445. The main part of #168 (empty VCD file) is fixed, probably by #440.
Thanks for the references; yes, this issue (if even an issue) seems to be a duplicate.
So, this is just a case of the output shown in the README being out of date with the state of the main branch.