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 

Corrupted Data in XMB

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



Joined: 17 Nov 2007
Posts: 20

PostPosted: Fri Jan 02, 2009 10:47 am    Post subject: Corrupted Data in XMB Reply with quote

Hey guys! I am just going to tell you straight away!

Ok so here is my problem. When I compile my app it gives me no errors or warnings. And I am pretty sure that my code is correct ;-)
Except when I go to run it on my PSP it says "Corrupted Data".
So it should be my Makefile, my PSP or my pspsdk, right?
Well I tried it on two PSPs one has 5.00M33-3 and the other has 4.01M33-2

So here is my Makefile and if you want my main.c I will give it to you.

Code:
TARGET = converter
OBJS = main.o graphics.o framebuffer.o mp3player.o

CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)

LIBDIR =
LIBS = -lpspgu -lpng -lz -lm -lpspgum -lm -lmad -lpspaudiolib -lpspaudio -lpsppower
LDFLAGS =

EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = PSP Unit Converter

PSPSDK=$(shell psp-config --pspsdk-path)
BUILD_PRX = 1
PSP_FW_VERSION = 371
include $(PSPSDK)/lib/build.mak


The main reason I am showing you this is because I am not good with Makefiles. :-P

Yeah... so... Thanks in advanced!
ITDemo
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Fri Jan 02, 2009 11:27 am    Post subject: Reply with quote

You might have an out-of-date sdk.

Change 371 to 500.

And in your code, make sure its like this.
Code:
PSP_MODULE_INFO("name",0,1,1)
for user-mode, and how it should be setup.
Back to top
View user's profile Send private message AIM Address
hibbyware



Joined: 28 Mar 2007
Posts: 78

PostPosted: Fri Jan 02, 2009 11:47 am    Post subject: Reply with quote

When you compile are you typing "make" or "make kxploit"

Just compile by typing "make"

If your already doing that then I'm not sure what the problem is,
Back to top
View user's profile Send private message
ITDemo



Joined: 17 Nov 2007
Posts: 20

PostPosted: Fri Jan 02, 2009 12:39 pm    Post subject: Reply with quote

Thanks for the replys guys!

Ok so to start answering the questions!

Yes i have the lastest sdk.
I changed 371 to 500
And in my code i do have
Code:
PSP_MODULE_INFO("name",0,1,1)


And yes I do type make not make kxploit.

Ahhhh there we go.

Nope it still does not work :(

So should i post my main.c
It is +500 lines...

Thanks!
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Fri Jan 02, 2009 1:10 pm    Post subject: Reply with quote

type "make clean" then type "make".

Make sure you have included pspsdk.h
Back to top
View user's profile Send private message AIM Address
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Fri Jan 02, 2009 1:36 pm    Post subject: Reply with quote

Ok, just to verify, on that eboot in notepad. What are the first 4 letters?
Back to top
View user's profile Send private message AIM Address
ITDemo



Joined: 17 Nov 2007
Posts: 20

PostPosted: Sat Jan 03, 2009 1:40 am    Post subject: Reply with quote

Okay well I did everything everyone said and then i realised that it was acctually my USB ports :-P
So I have it working again and thanks everyone for helping me!
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