Forum Discussion

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

FileI/O in NIOSII IDE

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.
No RepliesBe the first to reply