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 

PSPlink problems (80020148 Error)

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



Joined: 18 May 2008
Posts: 53

PostPosted: Thu Oct 30, 2008 2:11 pm    Post subject: PSPlink problems (80020148 Error) Reply with quote

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
View user's profile Send private message
CrazySam



Joined: 18 Nov 2008
Posts: 3

PostPosted: Tue Nov 18, 2008 10:21 am    Post subject: Which version were you using? Which one do you use now? Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
CrazySam



Joined: 18 Nov 2008
Posts: 3

PostPosted: Tue Nov 18, 2008 10:45 am    Post subject: Help Reply with quote

Somebody please help me out, Kreationz what did you do to fix it?
Back to top
View user's profile Send private message AIM Address MSN Messenger
CrazySam



Joined: 18 Nov 2008
Posts: 3

PostPosted: Wed Nov 19, 2008 9:42 am    Post subject: Success! Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
Kreationz



Joined: 18 May 2008
Posts: 53

PostPosted: Wed Nov 19, 2008 11:27 am    Post subject: Reply with quote

Glad you figured it out.
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