There are a lot of discussion about this in this group and in Yahoo MSP430 group. Just search in them. We write a little readme file which can, may be, help you:
---------------------------- 1- Install Eclipse - just copy directory into hard disk 2- Install cygwin(click cygwin setup.exe in eclipse folder) from the Internet with gcc(dlevel), gdb(dlevel), openssh(net), openssl(net), cvs(dlevel), tcsh(shell) and xinetd(net). The red hat and calgary servers worked for me. Red hat is faster. 3- Modify environmental variables(control panel, system, advanced): create: CYGWIN ntsec tty JAVA_HOME (Home java directory) add in PATH: C:\cygwin\bin %JAVA_HOME%\bin C:\cygwin\usr\X11R6\bin 4- Run net.sf.mspgcc.zip in Eclipse folder and extract files in Eclipse\plugins 5- Run Cygwin (you should only have to do this once) 6- Reboot the machine 7- Click eclipse.exe and create new project(file, new, project) 8- Select Standard Make C project, next, select a project name, finish 9- Click on the navigator and right-click on the project name(you should see .cdtproject and .project underneath) 10- Select new file if you want to create new c files, or import and then filesystem if you want to copy c source code from an another location, then choose directory where the files are located, select the files and then finish. If the files are spread into different folders, create folders in the project and then import the files in each folders. 11- If the makefile is made correctly with the right compiler after CC you should be able to build the executable. Click on project and unclick build automatically (It's personal. I prefer that). Then click on Ctrl-B to build it. Ifyou did the aforementioned steps, it should work fine. Verify that the executable (.elf file) is present in the folder. Test it on the command line. 12- Now click on Window, open perspective, debug 13- Click Run, Debug... 14- In main, give a new name(it must be the same name as the .elf file) to the configuration, select the right project and select the right .elf file in C/C++ Application 15- In Debugger, browse into your filesystem and find the debugger executable. Select it in GDB debugger. Then, select the .ini file in GDB command file (in our case gdb_load.ini). it should be C:\mspgcc\bin\msp430-gdb.exe if you installed mspgcc in C:\. Select the TCP Connection, choose localhost for the Host name and type 3333 for the port number. If the steps 3, 4 5 and 6 above worked, you should see %CygwinGDBDebugger.name or "mspgcc GDB debugger" in the form Debugger. If not, redo these steps. 16- In source, select the right project name 17- Run the msp430-gdbproxy program to open the connection and leave the window open 18- Click Apply and Debug. 19- You should see a breakpoint at the beginning of the program click resume. You should see the program running! for more details on how to debug please read the documentation but it's not harder than visual studio. Enjoy! ------------------------------------------ --- Jose Maria <jmlmanz...@hotmail.com> wrote: > Hi Frederic, > > I have tried (sorry for my english) to work with > eclipse and mspgcc for a > long time and I have not obtain good results. > Actually I can compile my > msp430 programs, but when I try to debug (simulate > or emulate) nothing > works. And the problem is that I have not found any > information about > eclipse and mspgcc, a good tutorial about it. All I > have is the eclipse > info, but what I need is something like > "eclipse+mspgcc for stupids" (I want > to say for people who has no idea about it). > > Do you know where can I obtain this information? > > For example, what releases of eclipse, cdt and > mspgcc must I install? Must I > launch mspgcc-gdbproxy before start debugging? Whats > the meaning of the > error messages and what can I do to solve it? and > this basic things. You > have said that you have post a tutorial file to the > list ... where can I > find this? (I am new in the forum and I do not know > where I must search this > info) > > Finally I want to say that every time I try to debug > an simply program (and > I have configured as the eclipse help explains) I > usually obtain next error: > > Info threads > Warning: RMT ERROR: failed to get remote thread list > Warning: Remote failure reply: E00. > > > Thanks in advance, > Jose Maria. > > ===== ------------------------------- Frederic Beaulieu, M.Sc. Research and Development NewTrax Technologies Inc. 3674 Saint-Hubert Montreal, Qc, CANADA H2L 4A2 Tel: (514) 288-6398 Fax: (514) 221-3417 Email: fbeaul...@newtraxtech.com http://www.newtraxtech.com/ __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com