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.

FileI/O in NIOSII IDE

Altera_Forum
Honored Contributor II
1,026 Views

I've got a question about FileI/O in NIOSII IDE. 

I'm working on open source JPEG running on NiosII processor. 

 

Mostly, I'm working on NiosII IDE. I'm using Advanced project in NiosII IDE which I required to create/ manage 'makefile' to compile the project. 

 

After successful compilation, NiosII IDE generated excuteable. 

And I need to run it with parameters. For example, 

'jpeg' is the excutable name. And it requires two parameters. 

 

=> jpeg [input file] [output file] 

jpeg testorig.jpg myoutput.jpg 

 

But when I clicked "run", it run "jpeg" only. How can I do this task? 

input file is existing file and output file is non existing file/expected to be generated when it run successfully. 

 

Could you give me guidance how to deal with this task, please? 

Or is there any document/tutorial which related to file I/O in NiosII IDE? 

 

 

Thanks in advance, 

Yong.
0 Kudos
0 Replies
Reply