qemu-arm.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-arm] How to debug peripheral device
@ 2017-01-04  7:05 Jiahuan Zhang
  0 siblings, 0 replies; only message in thread
From: Jiahuan Zhang @ 2017-01-04  7:05 UTC (permalink / raw)
  To: qemu-arm

[-- Attachment #1: Type: text/plain, Size: 836 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1075 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-04  7:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04  7:05 [Qemu-arm] How to debug peripheral device Jiahuan Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).