Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

file transfer over JTAG UART

Altera_Forum
Honored Contributor II
1,215 Views

Hi all, 

 

I need to transfer a file from the PC to the Nios II on a custom board over the JTAG UART. Is there any way to have the IDE (5.1, but could use 6.0 if needed) open the file on the PC, then write it out to the SDRAM on the custom board using the JTAG UART? 

 

So far, the only way I've seen to load a file on the Nios is through the flash programmer. Is this true? There is no network connection/ethernet/etc on our board. Does anyone have knowledge in setting up a board description file? I think this is currently preventing us from accessing our flash - but so far I am putting that problem off for another day. 

 

Thanks! 

Dave
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
529 Views

Will the host based file system help you out? 

 

This is a faclity that allows file access by coding file open/close/read/write instructions in to your Nios code that access the file system on the PC via the JTAG connection. 

 

Graham
0 Kudos
Altera_Forum
Honored Contributor II
529 Views

Agreed. The host filing system is a great way to go for running experiments. There's a software example found in the Nios II kit, as well... 

 

In the Nios II IDE, select New Project and then the "host filing system". Follow the directions in the source file, and you should be good to go. 

 

 

 

 

--- Quote Start ---  

originally posted by graham@Jun 29 2006, 03:05 PM 

will the host based file system help you out? 

 

this is a faclity that allows file access by coding file open/close/read/write instructions in to your nios code that access the file system on the pc via the jtag connection. 

 

graham 

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

--- quote end ---  

 

--- Quote End ---  

0 Kudos
Reply