Results 1 to 4 of 4

Thread: tutorial on uClinux hardware peripheral access ?

  1. #1
    Join Date
    Apr 2012
    Posts
    14
    Rep Power
    1

    Default tutorial on uClinux hardware peripheral access ?

    Hello I would like to make a simple program to use LEDs, 7seg... running under uClinux on my 3c120 devboard. But i don't know how to do that , i have already realized some Nios II programs with eclipse for NiosII dowload .elf ...used HAL drivers to control my PIO. But it's not the same under uClinux.
    Does somebody know how to do that or know where I can found a tutorial.
    Thanks.

  2. #2
    Join Date
    Nov 2009
    Location
    uk
    Posts
    1,520
    Rep Power
    1

    Default Re: tutorial on uClinux hardware peripheral access ?

    You'll need to write a Linux device driver, userspace won't be allowed to access IO locations.
    Any book on Linux device drivers should do :-)

  3. #3
    Join Date
    Apr 2012
    Posts
    14
    Rep Power
    1

    Default Re: tutorial on uClinux hardware peripheral access ?

    Thanks i will try.

    No exemple on altera wiki?

  4. #4
    Join Date
    Jun 2009
    Location
    Germany
    Posts
    465
    Rep Power
    1

    Default Re: tutorial on uClinux hardware peripheral access ?

    Ooops ?!?!?

    The NIOS Linux distribution comes with lots of device drivers in source code.

    Moreover: search the Wikis for tricks and tips.

    -Michael

Similar Threads

  1. Trouble with NIOSII hardware development tutorial
    By argenteuilrocks in forum General Discussion Forum
    Replies: 1
    Last Post: January 15th, 2012, 10:12 AM
  2. C2H hardware acceleration tutorial problem
    By SyilliS in forum Nios II C-to-Hardware Acceleration
    Replies: 2
    Last Post: February 20th, 2011, 04:16 AM
  3. Reset Signal in Hardware Tutorial
    By caridee in forum General Discussion Forum
    Replies: 0
    Last Post: May 30th, 2010, 06:37 PM
  4. Help. Hardware tutorial does not run on Cyclone II Starter Dev Kit
    By eliehrman in forum Development Kit Related
    Replies: 7
    Last Post: January 22nd, 2010, 12:00 PM
  5. On-Chip MEM contents (in user peripheral) access??
    By legendbb in forum General Discussion Forum
    Replies: 6
    Last Post: January 6th, 2006, 05:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •