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 

Problem with PSPLink

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



Joined: 23 Dec 2006
Posts: 18

PostPosted: Tue Dec 30, 2008 1:03 am    Post subject: Problem with PSPLink Reply with quote

Hi, I'm trying to develop a GUI for PSPLink 3.0 but by trying i found an error.

if i try the command "bpth" on any thread it crashes.
For example i tried this:

Code:

host0:/> bpth "@SCE_VSH_GRAPHICS"
Exception - Bus error (data)
Thread ID - 0x04605275
Th Name   - PspLink
Module ID - 0x03E9632D
Mod Name  - PSPLINK
EPC       - 0x8822278C
Cause     - 0x1000001C
BadVAddr  - 0x00000000
Status    - 0x00088602
zr:0x00000000 at:0x88020000 v0:0x00000000 v1:0x00000000
a0:0x882EE858 a1:0x88049158 a2:0x00000088 a3:0x882EE7D0
t0:0x882EE858 t1:0x88092280 t2:0x00000000 t3:0x00000000
t4:0x00000000 t5:0x00000000 t6:0x00000000 t7:0x88092000
s0:0x0501A949 s1:0x00000001 s2:0x88224AA8 s3:0xDEADBEEF
s4:0xDEADBEEF s5:0xDEADBEEF s6:0xDEADBEEF s7:0xDEADBEEF
t8:0x00000000 t9:0x00000004 k0:0x00000000 k1:0x00000000
gp:0x88231140 sp:0x882EE7D0 fp:0x882EF8E0 ra:0x88222774


Thats the threadinfo that i get:
Code:

host0:/> thctx "@SCE_VSH_GRAPHICS"
kstack 0x882F0D00 kstacksize 0x00000800
stack  0x09FEEE00 stacksize  0x00010000
context 0x00000000, vfpu 0x88092280
Context EPC 0x00000000, Real EPC 0x00000000
zr:0x00000000 at:0x00000000 v0:0x00000000 v1:0x00000000
a0:0x00000000 a1:0x00000000 a2:0x00000000 a3:0x00000000
t0:0x00000000 t1:0x00000000 t2:0x00000000 t3:0x00000000
t4:0x00000000 t5:0x00000000 t6:0x00000000 t7:0x00000000
s0:0x00000000 s1:0x00000000 s2:0x00000000 s3:0x00000000
s4:0x00000000 s5:0x00000000 s6:0x00000000 s7:0x00000000
t8:0x00000000 t9:0x00000000 k0:0x00000000 k1:0x00000000
gp:0x00000000 sp:0x00000000 fp:0x00000000 ra:0x00000000


Now my question is, if this is supposed to happen or not?
Anybody has experience with PSPLink?


Last edited by CrazyT on Tue Dec 30, 2008 1:32 am; edited 1 time in total
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Tue Dec 30, 2008 1:26 am    Post subject: Reply with quote

link is down...
_________________
Get Xplora!
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Wed Dec 31, 2008 3:00 am    Post subject: Reply with quote

Sony have probably changed the thread context on newer firmwares and psplink is no longer compatible, unless someone can be bothered to figure out the differences it probably will never be fixed now.
Back to top
View user's profile Send private message
CrazyT



Joined: 23 Dec 2006
Posts: 18

PostPosted: Wed Dec 31, 2008 4:14 am    Post subject: Reply with quote

Looks like I compiled it for wrong FW-Version.
Modified Makefiles.psp as followed:
Code:

all:
   $(MAKE) -C libpsplink all PSP_FW_VERSION=500
   $(MAKE) -C libpsplink_driver all PSP_FW_VERSION=500
   $(MAKE) -C libusbhostfs all PSP_FW_VERSION=500
   $(MAKE) -C libusbhostfs_driver all PSP_FW_VERSION=500
   $(MAKE) -C psplink   all PSP_FW_VERSION=500
   $(MAKE) -C psplink_user all PSP_FW_VERSION=500
   $(MAKE) -C usbhostfs all PSP_FW_VERSION=500
   $(MAKE) -C usbgdb    all PSP_FW_VERSION=500
   $(MAKE) -C bootstrap all PSP_FW_VERSION=500
   $(MAKE) -C bootstrap kxploit PSP_FW_VERSION=500


now seems to work:
Code:

host0:/> thctx "@PspLink"
kstack 0x00000000 kstacksize 0x00000000
stack  0x882DF900 stacksize  0x00010000
context 0x8822FF00, vfpu 0x00000000
Context EPC 0x88035364, Real EPC 0x00000000
...

host0:/> bpth "@SCE_VSH_GRAPHICS"
host0:/> 0x08947EEC: 0x0A251FA2 '..%.' - j          0x08947E88
exresume
host0:/>


But thx, problem solved. :)
Back to top
View user's profile Send private message
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