Well it's just like it says. I'm using a Slim w/CFW 5.00 and trying to learn to work with PSPlink to help me with debugging, but after I get it installed and try to start it I get the error. I can build the app I'm working with as an .elf or eboot.pbp or a prx.(Which ever is need, but this isn't my current issue).I think I have my psplink.ini setup correctly, but I'm still getting this error. I've seen it asked about in other forums with no response.
Is there a specific ini setting I could have wrong that could be causing this?
NVM... I was using the wrong version... a mod can delete this... DOHHH!!!
PSPlink problems (80020148 Error)
Which version were you using? Which one do you use now?
Hi which version of PSPLink were you using, I'm having the same problem and I use 3.0.
From what I know the version shouldn't really matter to execute elf files, no?
Please help me, I spent all night trying to set the dev environment on Ubuntu and for the first time, it's fricken daunting.
From what I know the version shouldn't really matter to execute elf files, no?
Please help me, I spent all night trying to set the dev environment on Ubuntu and for the first time, it's fricken daunting.
Success!
I finally figured out the problem!
PSPLink 3.0 only runs .prx files. I was trying to run the EBOOT but it does not support it. Also your application must be set up to run as a custom firmware application:
Add this to your makefile (note the ones highlighted):
CFLAGS = -O2 -G0 -Wall -DPSPFW3X
^^^^
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
#---------------------------
BUILD_PRX=1
PSP_FW_VERSION=303
#---------------------------
Also at the top of the main.c add the following:
# ifdef PSPFW3X
PSP_MODULE_INFO("HelloWorld", 0x0, 1, 1);
PSP_HEAP_SIZE_KB(6*1024);
# else
PSP_MODULE_INFO("HelloWorld", 0x1000, 1, 1);
# endif
PSP_MAIN_THREAD_ATTR(0);
PSP_MAIN_THREAD_STACK_SIZE_KB(32);
Finally when you build the application make sure you run the .prx file that is generated in PSPLink.
Keep in mind this is necessary for the Slim PSP and custom firmware 3.0 and over.
PSPLink 3.0 only runs .prx files. I was trying to run the EBOOT but it does not support it. Also your application must be set up to run as a custom firmware application:
Add this to your makefile (note the ones highlighted):
CFLAGS = -O2 -G0 -Wall -DPSPFW3X
^^^^
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
#---------------------------
BUILD_PRX=1
PSP_FW_VERSION=303
#---------------------------
Also at the top of the main.c add the following:
# ifdef PSPFW3X
PSP_MODULE_INFO("HelloWorld", 0x0, 1, 1);
PSP_HEAP_SIZE_KB(6*1024);
# else
PSP_MODULE_INFO("HelloWorld", 0x1000, 1, 1);
# endif
PSP_MAIN_THREAD_ATTR(0);
PSP_MAIN_THREAD_STACK_SIZE_KB(32);
Finally when you build the application make sure you run the .prx file that is generated in PSPLink.
Keep in mind this is necessary for the Slim PSP and custom firmware 3.0 and over.