Results 1 to 5 of 5

Thread: Eclipse example program problems: run & debug

  1. #1
    Join Date
    Feb 2010
    Posts
    62
    Rep Power
    1

    Default Eclipse example program problems: run & debug

    Hi I have been programming Altera fpgas as hardware devices for many years. I have recently successfully created and run a fairly large c program in a NiosII processor using the Altera Monitor program. Now I want to use makefiles etc., as I am used to doing by scripting, but I am not used to IDEs.
    I have tried two of the simple example Hello World programs in the Eclipse IDE that comes with Quartus II 11.1sp2.
    The examples appear to build and compile OK, but if run I see no output in the console window, if I try debug I get an error message. I am running as administrator. In more detail :
    I have tried :
    Creating a simple application - this is Hello_World
    Creating a Makefile project - this is HelloWorld :
    img1.bmp

    When I try "run configurations" I see :
    img2.bmp

    If I then click on [run], in the console window I see a brief message from make (nothing to do), but no "hello world" message :
    img3.bmp

    If I try "debug configurations I see :
    img4.bmp
    and if I click on [debug] I see the message from make in the console window :
    **** Build of configuration Default for project HelloWorld ****

    make all
    make: Nothing to be done for `all'.
    and an error message pops up :
    img6.bmp

    I have checked for the debugger - exists in both the cygwin and mingw32 bin directories :
    D:\altera\11.1sp2\quartus\bin\cygwin\bin
    D:\altera\11.1sp2\nios2eds\bin\gnu\H-i686-mingw32\bin

    Does anyone have any ideas ?
    cheers, Beau Webber

  2. #2
    Join Date
    Feb 2010
    Posts
    62
    Rep Power
    1

    Default Re: Eclipse example program problems: run & debug

    I have just tried the Cygwin scripting approach :
    Both the executables created by the Eclipse IDE tool run fine,
    so still no idea as to what the problems in the IDE are .....

  3. #3
    Join Date
    Feb 2010
    Posts
    62
    Rep Power
    1

    Default Re: Eclipse example program problems: run & debug

    I am not doing well today - I have tried building a NiosII hello world example - build seemed to go OK.
    I used a DE1 board and DE1 Media NiosII processor that I had just used successfully with the monitor progam. .sof seemed to upload fine :
    img7.bmp

    But when I tried to upload and run the nios hello world program, it said :
    [Target Connection]: No Nios II target connection paths were located. Check connections and that a Nios II .sof is downloaded.
    img8.bmp

  4. #4
    Join Date
    Feb 2010
    Posts
    62
    Rep Power
    1

    Default Re: Eclipse example program problems: run & debug

    I have found a number of suggested fixes on the Eclipse site, but none yet have helped.
    However I have also found links that suggest that the problem is the fact that I am working on a Windows 7 64 bit system.
    A fix is suggested at :
    https: //bugs.eclipse.org/bugs/show_bug.cgi?id=236330

    Can anyone tell me how I install the patch or upgrade ?

    The Quartus II kit installs :
    Eclipse IDE for C/C++ Developers
    Version: Helios Service Release 2
    Build id: 20110301-1815

  5. #5
    Join Date
    Feb 2010
    Posts
    62
    Rep Power
    1

    Default Re: Eclipse example program problems: run & debug

    Regarding the problem I appear to be having with the various parts of the Altera Eclipse installation not talking to each other.
    I appear to have exhausted the help available on the Eclipse site.
    The consensus seems to be that the Eclipse version that Altera use (Helios) does not and is unlikely to ever work on my Windows 7 64 bit computer.
    Does anyone know if Altera are likely to upgrade their Eclipse package to a newer version of Eclipse ?

Similar Threads

  1. Quartus 10.1sp1 and upgraded Eclipse wont debug
    By jetro57070 in forum Quartus II and EDA Tools Discussion
    Replies: 1
    Last Post: May 13th, 2012, 04:14 PM
  2. BeMicroSDK debug core dump in Nios2 Software Build Tool for Eclipse
    By microhk in forum Development Kit Related
    Replies: 0
    Last Post: April 27th, 2011, 09:38 AM
  3. Error in downloading program using SBT for Eclipse
    By markjco in forum General Software Forum
    Replies: 0
    Last Post: November 15th, 2010, 05:54 AM
  4. eclipse debug fails
    By imported_jan in forum Linux Forum
    Replies: 4
    Last Post: March 21st, 2005, 07:29 AM
  5. Debug program on flash?
    By kwokwong in forum General Discussion Forum
    Replies: 0
    Last Post: December 30th, 2004, 07:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •