Sponsored Links


Results 1 to 1 of 1

Thread: CS609-System Programming Assignment No. 3 december fall 2011

  1. #1
    Administrator Xpert's Avatar
    Join Date
    May 2010
    Location
    Jhelum
    Posts
    6,239

    Icon14 CS609-System Programming Assignment No. 3 december fall 2011

    Sponsored Links1


    Assignment [Total Marks 20]

    Q No. 1

    Write the C Program that can be used to program the master DMA controller, description of your program is as follows.

    We have supposed that an I/O device have acquired the control of channel 1 of the master DMA controller and want to write the data from I/O device to RAM using demand transfer mode of DMA. You are required to program the required DMA internal registers such that I/O device can perform the demand transfer mode with above specifications.
    In your program suppose the following things.


    • Supposed you want to transfer the data from I\O device to Memory and have stored that data in a character array, i.e. global data in your program and name of that character array should be according to your VUID suppose mc060402111.
    • Size of the data that I/O device want to write in the memory using the demand transfer mode of DMA should be calculated as follows. Take the last four digits of your VUID and represent them in a hexadecimal number. For example VUID mc060402111 have the value of last four digits ‘2111’ and these are represented in hexadecimal number as 0x2111 and load these values in the respected count register.


    Sponsored Links
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 01-06-2013, 11:28 PM
  2. Replies: 0
    Last Post: 12-01-2012, 08:50 PM
  3. CS609 System Programming Assignment No. 2 Solution Fall Semester 2012
    By Vuhelper in forum Assignments & Solutions
    Replies: 0
    Last Post: 11-19-2012, 08:30 PM
  4. Replies: 8
    Last Post: 11-12-2011, 03:36 AM
  5. Replies: 7
    Last Post: 11-01-2011, 05:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-: Vuhelp Disclaimer :-
None of the files shown here are hosted or transmitted by this server. The links are provided solely by this site's users. The administrator's or staff of Vuhelp.net cannot be held responsible for what its users post, or any other actions of its users. You may not use this site to distribute or download any material when you do not have the legal rights to do so. It is your own responsibility to adhere to these terms. If you have any doubts about legality of content or you have any suspicions, feel free to contact us.
Online Education | JhelumSoft