I'm working on a project based on Rocket-Chip tools. I made a simple baremetal program that works well on Spike (even with multiple cores ...etc).
The problem is that when I run it in the C++ Emulator, the latter stops in the first printf call.
My question is: Is it possible to call syscalls (like printf, putchar ..) from the C Emulator? Or is there any way to print the results of a program out of the simulation like fetching the data memory or something? (I struggled with that and I didn't find where it saves the data variables).
PS: The program is based on riscv-tests/benchmarks the syscalls are already defined there.