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 

Sample programs cannot run

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



Joined: 28 Oct 2007
Posts: 2

PostPosted: Sun Oct 28, 2007 11:11 am    Post subject: Sample programs cannot run Reply with quote

Hi, I am a new comer here.

I have just installed PSPSDK on my cygwin, but I cannot run the sample programs. The compiles are successful, but when I copied them into PSP, it always gave me an error 800200D2.

I downloaded another sample called 'cubecontrol', there are both source and binary in the downloaded package. The downloaded binary can run on PSP normally, but when I compiled the source myself, the error 800200D2 also occured. I compared the binary code in downloaded package with the binary I compiled myself, I found the size are different.

I have no idea now, how can I solve this problem?

thanks.
Back to top
View user's profile Send private message
hrimfaxi



Joined: 23 Nov 2006
Posts: 22

PostPosted: Sun Oct 28, 2007 1:12 pm    Post subject: Reply with quote

Do you use psp slim or 3.71 fw without 1.50 kernel support? Since slim has dropped 1.5 Kernel support, you should add BUILD_PRX=1 and PSP_FW_VERSION=371 to your makefile.

And remember you should set module attribute to 0x0000 not 0x1000, as:
Code:

PSP_MODULE_INFO(My Module, 0, 1, 0);
Back to top
View user's profile Send private message
Blue Fish



Joined: 28 Oct 2007
Posts: 2

PostPosted: Sun Oct 28, 2007 2:50 pm    Post subject: Reply with quote

hi hrimfaxi,

I tried the method, but it doesn't work. I am using FW 1.50.
Back to top
View user's profile Send private message
Jesse



Joined: 28 Mar 2006
Posts: 9

PostPosted: Sun Oct 28, 2007 10:49 pm    Post subject: Reply with quote

And you use the KXploit tool to get it to work on FW 1.50?
http://www.psp-hacks.com/psp-kxploit-howto.php

Edit: Stupid question perhaps, since you would get a corrupted error-message otherwise.
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