-
Notifications
You must be signed in to change notification settings - Fork 73
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
Writing to UART using patmos emulator (patemu) does not seem to succeed correctly #82
Comments
The program should also print the character without the infinite loop. Furthermore, patemu does exit although there is an invite loop. |
I tryied to reproduce the error (on the virtual machine that I provided for the course) and it works. My guess is that you built a version of the emulator before with some bootable that does ignore the .elf file. Can you please try again from a clean state:
Thanks, |
It does not seem to make any difference to remake the emulator. Making the emulator does, however, induces a lot of warnings, which I don't know whether is expected. I assume that it is correct to do all 4 commands you describe from I have found that removing the infinite loop from the code presented above the emulator does not only not print the character, it also still does not terminate. The simulator prints and terminates immediately, so even though the emulator may run slower, I would not expect the emulator to run for several minutes. Andreas |
We need to look further into this next lab time, as it worked on my VM.
Martin
… On 9 Mar, 2021, at 18:01, andjo16 ***@***.***> wrote:
It does not seem to make any difference to remake the emulator. Making the emulator does, however, induces a lot of warnings, which I don't know whether is expected.
I assume that it is correct to do all 4 commands you describe from /t-crest/patmos/.
I have found that removing the infinite loop from the code presented above the emulator does not only not print the character, it also still does not terminate. The simulator prints and terminates immediately, so even though the emulator may run slower, I would not expect the emulator to run for several minutes.
Andreas
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#82 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAE63GBR6JUA7GYEDOGE4RLTCZH7BANCNFSM4YPILXOA>.
|
The standard output does not seem to reflect the fact that the following program writes to the UART, when run through the Patmos emulator (patemu). It, however, does work fine with the simulator (pasim).
The loop is only there to make sure the program doesn't terminate the UART communication early.
The following two commands was used to run the program
myhello.c
as above in the emulatorThe text was updated successfully, but these errors were encountered: