hi
i've have to use the psplink in order to debug my elf
i've exactly followed this guide
http://forums.qj.net/f-psp-development- ... 49335.html
i've compiled and copied the psplink files on the psp/game ms directory
i've compiled the usbhostfs_pc.exe tool
everything seems to be ok
when i launch usbhostfs_pc.exe , i've the following message "found 4 busses"
when i launch pcterm this message appears "Accepting async connection (0) from 127.0.0.1"
and when i launch psplink from the psp osd this final message appears : "Connected to device"
and the psp displays "PSPLINK user module v2.0 Final"
and after that ?
in the tutorial they explain how to list files from the memory stick using theses commands:
"cd ms0:/psp/game
ls"
but this doesn't work for me :
"cd ms0:/psp/game
chdir: No such file or directory"
when i tape pwd it seems i'm in the cygwin home directory
any ideas ???
what is the next steps to debug my elf ?
first if i could have a tty output it will be great !
thanks in advance for any help !
PSPLINK ! please help me ! ;)
i have to add than theses messages "found 4 busses" "Accepting async connection (0) from 127.0.0.1" "Connected to device" appear in the usbhostfs_pc.exe window
for this message "Accepting..." in fact i don't launch pcterm but telnet localhost 10000
this is the psplink ini file i'm using:
# Example psplink configuration file.
# usbmass=[0 1] Enable USB mass storage. Set to 1 to enable automatically
usbmass=1
# usbhost=[0 1] Enable USB host file system. Set to 1 to enable automatically
usbhost=1
# pluser=[0 1] Enable the PSPLink user module
pluser=1
# resetonexit=[0 1] Specify wheher to reset psplink when sceKernelExitGame
# is called
resetonexit=1
# sioshell=[0 1] Specify whether to start up the sio shell
sioshell=0
# kprintf=[0 1] Specify that SIO should be used for kprintf only, setting sioshell
# to 1 overrides this setting.
kprintf=1
# wifi=[0..N] Specify wifi should be enabled, the number is the
# configuration to use if > 0
wifi=0
# wifishell=[0 1] Specify whether to start up the wifi shell
wifishell=0
# usbshell=[0 1] Specify whether to start up the usb shell
usbshell=1
# usbgdb=[0 1] Specify whether to use USB gdb or wifi gdb
usbgdb=1
# conshell=[0 1] Specify whether to start up the console shell
conshell=0
# consinterfere[0 1] Specifiy whether the consoleshell may interfere with
# programs in execution
consinterfere=0
# the commands that is run when buttons are pressed in the console shell
conscrosscmd=ld ms0:/sprite.elf
conssquarecmd=thlist
constrianglecmd=modlist
conscirclecmd=
consselectcmd=meminfo
consstartcmd=ls
consdowncmd=scrshot ms0:/scshot.bmp
consleftcmd=usbmoff
consrightcmd=usbmon
consupcmd=cop0
# prompt=... Set the psplink shell prompt
# There are some escape characters, mainly %d to print the current dir
prompt="%d> "
# path=... Set the psplink shell path
# Each path is separated by a semi-colon, you can specify up to around 128 characters
# path=ms0:/apps;ms0:/
# pcterm=[0 1] Indicates whether we are using pcterm as a client or normal
# tools
pcterm=0
# baud=[4800..115200] Set the SIO baud rate (should only use as a last resort)
# baud=115200
# modload=path Load a module on start up, repeat as necessary for more modules
# Example: load the modules for networking
# modload=flash0:/kd/ifhandle.prx
# modload=flash0:/kd/pspnet.prx
# modload=flash0:/kd/pspnet_inet.prx
# modload=flash0:/kd/pspnet_apctl.prx
# modload=flash0:/kd/pspnet_resolver.prx
for this message "Accepting..." in fact i don't launch pcterm but telnet localhost 10000
this is the psplink ini file i'm using:
# Example psplink configuration file.
# usbmass=[0 1] Enable USB mass storage. Set to 1 to enable automatically
usbmass=1
# usbhost=[0 1] Enable USB host file system. Set to 1 to enable automatically
usbhost=1
# pluser=[0 1] Enable the PSPLink user module
pluser=1
# resetonexit=[0 1] Specify wheher to reset psplink when sceKernelExitGame
# is called
resetonexit=1
# sioshell=[0 1] Specify whether to start up the sio shell
sioshell=0
# kprintf=[0 1] Specify that SIO should be used for kprintf only, setting sioshell
# to 1 overrides this setting.
kprintf=1
# wifi=[0..N] Specify wifi should be enabled, the number is the
# configuration to use if > 0
wifi=0
# wifishell=[0 1] Specify whether to start up the wifi shell
wifishell=0
# usbshell=[0 1] Specify whether to start up the usb shell
usbshell=1
# usbgdb=[0 1] Specify whether to use USB gdb or wifi gdb
usbgdb=1
# conshell=[0 1] Specify whether to start up the console shell
conshell=0
# consinterfere[0 1] Specifiy whether the consoleshell may interfere with
# programs in execution
consinterfere=0
# the commands that is run when buttons are pressed in the console shell
conscrosscmd=ld ms0:/sprite.elf
conssquarecmd=thlist
constrianglecmd=modlist
conscirclecmd=
consselectcmd=meminfo
consstartcmd=ls
consdowncmd=scrshot ms0:/scshot.bmp
consleftcmd=usbmoff
consrightcmd=usbmon
consupcmd=cop0
# prompt=... Set the psplink shell prompt
# There are some escape characters, mainly %d to print the current dir
prompt="%d> "
# path=... Set the psplink shell path
# Each path is separated by a semi-colon, you can specify up to around 128 characters
# path=ms0:/apps;ms0:/
# pcterm=[0 1] Indicates whether we are using pcterm as a client or normal
# tools
pcterm=0
# baud=[4800..115200] Set the SIO baud rate (should only use as a last resort)
# baud=115200
# modload=path Load a module on start up, repeat as necessary for more modules
# Example: load the modules for networking
# modload=flash0:/kd/ifhandle.prx
# modload=flash0:/kd/pspnet.prx
# modload=flash0:/kd/pspnet_inet.prx
# modload=flash0:/kd/pspnet_apctl.prx
# modload=flash0:/kd/pspnet_resolver.prx