Hi everyone,
This is my first time to use QEMU. I am emulating the atmel at91sam9261 board. I want to debug the functionalities of the emulated peripherals.
What I am doing now is to printf the reading and writing memory offsets and values for the periperals when running a linux uImage. And according to the emulated periperals' read and write behaviours, I rectify their resigters in terms of their corresponding functions in the board's datasheet.
However, not all the printed offsets are expected. And some offsets that I expected to be written are not be written, so that some functions will never be enabled and some peripherals are never be driven. Any solution for this offset missing?
What is the right way for peripheral debugging? Getting stuck for almost two months, I am really upset now.
Best regards,
Jiahuan