Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to reproduce tests/atmega88_example.axf results #486

Open
jimustafa opened this issue Apr 14, 2022 · 3 comments
Open

Unable to reproduce tests/atmega88_example.axf results #486

jimustafa opened this issue Apr 14, 2022 · 3 comments

Comments

@jimustafa
Copy link

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.

@gatk555
Copy link
Collaborator

gatk555 commented Apr 20, 2022

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.

@gatk555
Copy link
Collaborator

gatk555 commented Apr 20, 2022

It has been logged before: #168 and #445. The main part of #168 (empty VCD file) is fixed, probably by #440.

@jimustafa
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants