forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Eclips 3.6 (helios) and no debugger type?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
SuperDre



Joined: 31 Dec 2009
Posts: 14
Location: helmond.nl

PostPosted: Wed Aug 04, 2010 5:36 am    Post subject: Eclips 3.6 (helios) and no debugger type? Reply with quote

I'm still trying to get the whole eclipse enviroment working, according to the 'psp development with eclipse' e-book, but I can't get the debugger part working (I'm totally not up to how to use external debuggers, I'm used to integrated debugger that work from scratch).

The problem I guess I have is the fact that with the current Eclipse when you select 'C/C++ Application' under 'Debug configuration', then go to the 'debugger' tab the book shows a 'Debuggertype' option, but there isn't any. Without it I cannot set the needed connection.

The 'C/C++ attach to application' does have the option, but when I use that I just get 'warning: unrecognized item "timeout" in "qSupported" response'..

I have no idea what I do wrong.. I do the following from page 15 of the book:
1. changed the makefile, added the -g to 'cflags' and added a line 'build_prx=1'.
2. project clean: seems to recompile the stuff correctly.
3. start psplink (v3.0) on my psp (psp3004)
4. start usbhostfs_pc
Code:
bind: Address already in use
Connected to device
USBHostFS (c) TyRaNiD 2k6
Built Mar 26 2009 16:26:00 - $Revision: 2368 $
sh> Connected to device

5. start pspsh and type in the console: debug cube.prx<enter>
6. start eclipse debugger:
Code:
Ignoring packet error, continuing...
warning: unrecognized item "timeout" in "qSupported" response
Back to top
View user's profile Send private message Visit poster's website
SuperDre



Joined: 31 Dec 2009
Posts: 14
Location: helmond.nl

PostPosted: Thu Aug 05, 2010 5:20 am    Post subject: Reply with quote

Just tried it with the eclipse version as specified in the document.

but after starting the debugger it gives me the same errors, but now it give me a window with some extra messages:

Code:

Target selection failed.
Target is not responding (timed out)
  Target is not responding (timed out)
  Target is not responding (timed out)


I'm really at a loss here.. I'm using the latest 0.9.6 SDK, so maybe that is also something that might make the tutorial fubar..
Back to top
View user's profile Send private message Visit poster's website
SuperDre



Joined: 31 Dec 2009
Posts: 14
Location: helmond.nl

PostPosted: Thu Aug 05, 2010 6:17 am    Post subject: Reply with quote

The bind: Address already in use problem is solved, as the TCP port address was being used by another program.
Now I also get a host0:/> prompt when I run pspsh.
But even with that running it still doesn't work, i Still get the messages from previous posts.

I'm using a PSP slim 3000 (3004), which is using ChickHen R2 to get homebrew running.. I'm using the PSPLink from the oe folder, and when I start it, the PSP loads it and then it only shows: PSPLink Bootstrap TyRaNiD (c) 2k7 Version v3.0 and it stays on that blackscreen.
PSP is connected through USB cable and a powercable is also connected.

when I start usbhostfs_pc from via 'windows'-'start' and then pspsh the same way, it also seem to work, when I stop pspsh, psplink also jumps back to the XMB. (but this behaviour doesn't work from eclipse/console)
Back to top
View user's profile Send private message Visit poster's website
SuperDre



Joined: 31 Dec 2009
Posts: 14
Location: helmond.nl

PostPosted: Fri Aug 06, 2010 6:08 am    Post subject: Reply with quote

did another test today, just using the usbhostfs_pc and pspsh from the commandline itself, with the by eclipse compiled cube.prx, and it works.. So I guess I'm really doing something wrong in eclipse.

propably the part when it comes to running pspsh in the eclipse console, because when I get the prompt host0:/> in the eclipse console whatever command I type (even help) the typed characters are green but nothing happens. unlike when I do the same when started from the commandline....

anyone any ideas?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group