Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

For Data Transfer thr' USB port, 2.6.16 - Nios ??

Hi,

I am currently using " Altera Stratix 1S10 Development Kit".

I am using this uClinux 2.6.11 i.e., the latest version, "v1.4", released on this forum site.

For my application, I need to have the Data Transfer & communication between Host Computer & Nios processor, through USB port. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif

In a thread, I found that it can be done, by enabling the corresponding options by using 2.6.16 version. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/unsure.gif

I was able to find the generic version of uClinux-2.6.16, which is not for Nios.

Where can I find the uClinux-2.6.16, that works for Nios Platform & enables me to use my USB port for data transfer from Host Computer.

Thanks in Advance,

K V Naresh

6 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by k v naresh@May 9 2006, 01:21 PM

    hi,

    i am currently using " altera stratix 1s10 development kit".

    i am using this uclinux 2.6.11 i.e., the latest version, "v1.4", released on this forum site.

    for my application, i need to have the data transfer & communication between host computer & nios processor, through usb port. http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/huh.gif

    in a thread, i found that it can be done, by enabling the corresponding options by using 2.6.16 version. http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/unsure.gif

    i was able to find the generic version of uclinux-2.6.16, which is not for nios.

    where can i find the uclinux-2.6.16, that works for nios platform & enables me to use my usb port for data transfer from host computer.

    thanks in advance,

    k v naresh

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15210)

    --- quote end ---

    --- Quote End ---

    Do you have a USB adaptor board for your dev board?

    The fast and easy way to transfer data between your nios dev board and PC is using Ethernet.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Hippo,

    Thank you for the information.

    I have the plain stratix-1S10 board with me now. I don&#39;t have this USB adapter card.

    You said Ethernet method is the easier & faster mechanism !!!

    Do we need to encapsulate our data into packets & send it or Is there some default built-in mechanism, which takes care of data transmission?

    But my idea is that anyway, I am using USBblaster for programming FPGA etc, Cant I use the Same Means/Method to have the Data Transfer from my Host PC?

    Best Regards,

    K V Naresh
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by k v naresh@May 9 2006, 02:54 PM

    hi hippo,

    thank you for the information.

    i have the plain stratix-1s10 board with me now. i don&#39;t have this usb adapter card.

    you said ethernet method is the easier & faster mechanism !!!

    do we need to encapsulate our data into packets & send it or is there some default built-in mechanism, which takes care of data transmission?

    but my idea is that anyway, i am using usbblaster for programming fpga etc, cant i use the same means/method to have the data transfer from my host pc?

    best regards,

    k v naresh

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15212)

    --- quote end ---

    --- Quote End ---

    Though it is possible, it is diffcult and slow to use the usb blaster for data transfer.

    There are many methods to use Ethernet.

    1. ftp,

    run ftp server on your PC, widnows or linux.

    run ftp client on your nios II.

    then you can get or put file via ftp protocal by nios II .

    2. nfs

    run nfs server on your Linux PC.

    mount nfs on your nios II.

    then you can read or write files on the nfs by nios II .

    If you need more details, let me know.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you Hippo,

    I will try out this "nfs" way of ethernet communication, and I will let you know about the progress.

    Best Regards,

    K V Naresh
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Hippo,

    I want to try this nfs option to have data transaction between Nios & my Host PC.

    Please suggest some literature/Manuals related to NFS - Nios.

    Regards,

    K V Naresh
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by k v naresh@May 27 2006, 05:07 PM

    hi hippo,

    i want to try this nfs option to have data transaction between nios & my host pc.

    please suggest some literature/manuals related to nfs - nios.

    regards,

    k v naresh

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15608)

    --- quote end ---

    --- Quote End ---

    Please check the wiki, it is not complete yet, and let me know if you have questions.

    http://nioswiki.jot.com/wikihome/operating...ux/nfsfilesytem (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/nfsfilesytem)