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 ---
--- Quote End ---