| View previous topic :: View next topic |
| Author |
Message |
Kreationz
Joined: 18 May 2008 Posts: 53
|
Posted: Thu Oct 30, 2008 2:11 pm Post subject: PSPlink problems (80020148 Error) |
|
|
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!!! |
|
| Back to top |
|
 |
CrazySam
Joined: 18 Nov 2008 Posts: 3
|
Posted: Tue Nov 18, 2008 10:21 am Post subject: 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. |
|
| Back to top |
|
 |
CrazySam
Joined: 18 Nov 2008 Posts: 3
|
Posted: Tue Nov 18, 2008 10:45 am Post subject: Help |
|
|
| Somebody please help me out, Kreationz what did you do to fix it? |
|
| Back to top |
|
 |
CrazySam
Joined: 18 Nov 2008 Posts: 3
|
Posted: Wed Nov 19, 2008 9:42 am Post subject: 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. |
|
| Back to top |
|
 |
Kreationz
Joined: 18 May 2008 Posts: 53
|
Posted: Wed Nov 19, 2008 11:27 am Post subject: |
|
|
| Glad you figured it out. |
|
| Back to top |
|
 |
|