Where is pcterm?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
macdonag
Posts: 5
Joined: Sun Dec 31, 2006 6:53 pm

Where is pcterm?

Post by macdonag »

Hi all, I'm trying to get psplink working on my mac. I have psplinkusb running on my 310oe psp. I have got usbhostfs_pc connected properly (no disconnects). But I can't find pcterm anywhere! I've searched psplinkusb svn but can't find it - can someone point me in the right direction?

Thanks!
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

It is now called pspsh, you _must_ use that, the old pcterm (or for that matter a telnet client) will not work.
macdonag
Posts: 5
Joined: Sun Dec 31, 2006 6:53 pm

Post by macdonag »

Thanks - found and built that. I then run it, and it seems to connect to usbhostfs_pc. But when I try to run the sprite.elf example, I get an error:

host0:/> debug ./sprite.elf
PSPLink USB GDBServer (c) 2k7 TyRaNiD
host0:/> Could not load module host0:/sprite.elf (0x80020148)
Usage: usbgdb.prx program [args]

Any idea what this could be?

Thanks again!
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

On 3.XOE firmwares you cant load elfs from psplink. You can if you boot into 1.5 compat mode just not the native mode.
macdonag
Posts: 5
Joined: Sun Dec 31, 2006 6:53 pm

Post by macdonag »

Thanks! I've gone a little bit further. I can run the command 'debug ./sprite.elf' now in 1.50 mode.

Unfortunately.... I'm now trying to debug via gdbserver in Eclipse. My connection settings are TCP/localhost/10001 (as specified in a tutorial in this forum). I get an error back saying 'Replay contains invalid hex digit 59', and have the following log (at the end of the msg). I'm on a mac, and haven't specified any command line options to usbhostfs_pc (apart from the exe dir) or pspsh.

Any suggestions?

123-gdb-set confirm off
123^done
(gdb)
124-gdb-set width 0
124^done
(gdb)
125-gdb-set height 0
125^done
(gdb)
126-interpreter-exec console echo
126^done
(gdb)
127-gdb-show prompt
127^done,value="(gdb) "
(gdb)
128-gdb-set auto-solib-add on
128^done
(gdb)
129-gdb-set stop-on-solib-events 0
129^done
(gdb)
130-gdb-set stop-on-solib-events 1
130^done
(gdb)
131-target-select remote localhost:10001
131^error,msg="Reply contains invalid hex digit 59"
(gdb)
132-gdb-exit
132^exit
jsharrad
Posts: 100
Joined: Thu Oct 20, 2005 3:06 am

Post by jsharrad »

TyRaNiD wrote:It is now called pspsh, you _must_ use that, the old pcterm (or for that matter a telnet client) will not work.
Where's this version of psplink at? I've been using the one in the svn, which I just updated, and its still using pcterm
Bytrix
Posts: 72
Joined: Wed Sep 14, 2005 7:26 pm
Location: England

Post by Bytrix »

torakak
Posts: 4
Joined: Fri Dec 29, 2006 9:47 pm

Post by torakak »

TyRaNiD wrote:On 3.XOE firmwares you cant load elfs from psplink. You can if you boot into 1.5 compat mode just not the native mode.
sorry for being so lame but, what is 1.5 compat mode? I'm refusing to upgrade to 3.X OE just for psplink because I didn't know there was a way to use it.
Bytrix
Posts: 72
Joined: Wed Sep 14, 2005 7:26 pm
Location: England

Post by Bytrix »

That just means when using psplinkusb from within 3.x OE you must use the 1.5 kernel mode in 3.x OE. (although there is now an OE folder when you compile that you can use in 3.x OE). If you are on 1.5 just use the 1.5 version.
Post Reply