Sample programs cannot run

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Blue Fish
Posts: 2
Joined: Sun Oct 28, 2007 10:48 am

Sample programs cannot run

Post by Blue Fish »

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.
hrimfaxi
Posts: 20
Joined: Thu Nov 23, 2006 5:40 pm

Post by hrimfaxi »

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: Select all

PSP_MODULE_INFO(My Module, 0, 1, 0);
Blue Fish
Posts: 2
Joined: Sun Oct 28, 2007 10:48 am

Post by Blue Fish »

hi hrimfaxi,

I tried the method, but it doesn't work. I am using FW 1.50.
Jesse
Posts: 9
Joined: Tue Mar 28, 2006 11:12 pm

Post by Jesse »

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.
Post Reply