qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-arm] How to debug peripheral device


From: Jiahuan Zhang
Subject: [Qemu-arm] How to debug peripheral device
Date: Wed, 4 Jan 2017 08:05:49 +0100

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]