DMA deals with which address (physical/virtual addresses) ?
Answers were Sorted based on User's Feedback
Answer / embeddedmatters
DMA deals with Physical addresses.
Only when CPU accesses addresses it refers to MMU(Memory
Management Unit) and MMU converts the Physical address to
Virtual address.
But, DMA controller is a device which directly drives the
data and address bus during data transfer. So, it is purely
Physical address. (It never needs to go through MMU &
Virtual addresses).
That is why when writing the device drivers, the physical
address of the data buffer has to be assigned to the DMA.
Is This Answer Correct ? | 26 Yes | 3 No |
Answer / gladiator
Slight correction
MMU converts virtual addresses to physical addresses using
help from TLB
Is This Answer Correct ? | 10 Yes | 1 No |
Tell me what is a watchdog timer?
What are little endian and big endian types of storage? How can you identify which type of allocation a system follows?
What is your experience with technical documentation?
Are you still writing code? Do you love it?
Please write a program to show the functionality of power-save super loop?
List out some of the commonly found errors in Embedded Systems?
What is refactoring? Name three common refactorings.
Tell me what is the need for having multibyte data input and output buffers in case of device ports?
You have two computers, and you want to get data from one to the other. How could you do it?
How can you ensure that debugging a program while it's being used will not affect its functionality?
Tell me when one must use recursion function? Mention what happens when recursion functions are declared inline?
Can you have constant volatile variables?