Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by a_fischetti@Jun 9 2006, 06:43 AM hi,
i also need to test ecos on nios and have no hardware. so i need to run it as simulation.
find below what i did so far.
i followed the tutorial which comes with ecos installation and
step 1
======
i created the ecos library and then i built it successfully
step 2
======
i built the application from sdk shell with
make install_dir=/cygdrive/e/altera/ecos/test00_install
it produces some warning related to some command line options valid for c++ only, not for c.
anyway it seems to work.
step 3
======
run ide
file-> new->project
select: alera niosii->advanced c/c++ project, => next
name= ecos_hello
unselect 'usedefaultlocation' checkbox
location= e:\altera\ecos => next
select 'make builder' tab
unselect 'use default',
build command= make install_dir=/cygdrive/e/altera/ecos/test00_install
=> finish
i select 'ecos_hello' project
project->build project
console msg:
"make install_dir=/cygdrive/e/altera/ecos/prova00_install all
make: *** no rule to make target `all'. stop."
http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/mad.gif
or should i skip the build process?
thanx.
--- quote start ---
originally posted by frd66@jun 6 2006, 10:28 pm
I investigate if eCos on Nios could answer my needs. However, I do my tests at home, where I haven't any hardware. Is it possible to make a small application and to run it on the Instruction Set Simulator ? When I try "Run as...", I get : | An internal error occurred during: "Launching". | java.lang.NullPointerException | ... | org.eclipse.core.internal.jobs.Worker.run(Worker.java:66) Thanks, -- Fred <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15976) --- Quote End --- [/b] --- Quote End --- <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16060)</div> [/b] --- Quote End --- I'm afraid you're skiing off piste, the eCos port was only ever run and tested on real hardware. I'm afraid you're the first to try it in the simulator, so I won't at all be surprised if you run into problems. I suspect by far the path of least resistance would be to get a board.