Forum Discussion

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

File transfer to DE0-Nano running uClinux

Has anyone had experience transferring files via nios2-terminal, or other method, from a computer running Ubuntu to a DE0-Nano dev. kit running uClinux? My dev. kit is out-of-the-box, i.e. no ethernet h/w, I'm connected to the kit via JTAG over USB.

My current plan is to use the "Compile Hello" example from altera wiki in order to get custom files on the h/w but if there is an easier/better way, I would like to know.

3 Replies

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

    You can use the host file system, so that the software on the Nios is able to open files on the PC. But for that to work you need to be able to run the software through the debugger.

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

    Thanks!

    I've added detail to the uClinux dist instead, in order to get my apps on the hardware. No problems getting "hello-world" running but the wheels are coming off now that I'm trying to use the peripherals. I've added the Altera pio character driver but I get errors when I make the distribution. For some reason the link btw the SOPC info and the custom uClinux distribution is not being made.

    Any further help you can provide would be greatly appreciated.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    AH sorry, for that part I have no idea. I hope someone else will.

    Posting here the exact error that you get will probably help.