I need to debug line to line the prx (psplink doesn't load the elf)jojojoris wrote:You only need the debug symbols in the elf. you use the elf file as input for ie. psp-addr2line.
Or am i wrong?
Search found 52 matches
- Fri Mar 05, 2010 7:21 am
- Forum: PSP Development
- Topic: Cannot create a prx
- Replies: 11
- Views: 11636
- Fri Mar 05, 2010 5:25 am
- Forum: PSP Development
- Topic: Cannot create a prx
- Replies: 11
- Views: 11636
Your ELF must at least export module_start in syslib . SDK will take care of that. I think the error he is getting is missing relocation table. The real strange thing is that it doesn't compile a prx by itself. I tryed compiling it manually: C:\Documents and Settings\roberto\Desktop\platform\o-psp-...
- Thu Mar 04, 2010 10:31 pm
- Forum: PSP Development
- Topic: Cannot create a prx
- Replies: 11
- Views: 11636
Why odes it always create a .elf? Because as I said, PSP uses ELF executables, dude... And PRX are just a custom ELF type. If you're exporting functions, make sure your exports file is set correctly. I don't export anything..... :( I mean, i don't need to export anything, and i don't have an export...
- Thu Mar 04, 2010 8:51 pm
- Forum: PSP Development
- Topic: Cannot create a prx
- Replies: 11
- Views: 11636
Actually the only factor that controls if a prx gets created is the BUILD_PRX=1 line as far as I know. You could manually create it by psp-prxgen input.elf output.prx Already tried. It says something about not finding the export table, or something like that. I checked the prx template, and the onl...
- Thu Mar 04, 2010 5:14 pm
- Forum: PSP Development
- Topic: Cannot create a prx
- Replies: 11
- Views: 11636
- Thu Mar 04, 2010 8:06 am
- Forum: PSP Development
- Topic: Cannot create a prx
- Replies: 11
- Views: 11636
Cannot create a prx
Hi, this is my makefile: TARGET = platform OBJS = intraFont.o libccc.o font.o common.o parser.o dialogs.o graphic.o libmsn/msntest/custompoll.o exceptionHandler\utility\exception.o main.o BUILD_PRX=1 INCDIR = CFLAGS = -O2 -G0 -Wall -g CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti -O2 -g ASFLAGS = $...
- Mon Feb 22, 2010 1:59 am
- Forum: PSP Development
- Topic: OpenSSL and syscall not implemented
- Replies: 0
- Views: 4944
OpenSSL and syscall not implemented
Ok, i already have the porting of openssl for psp, and i'm porting a lib that uses it. The library works pretty well, until it needs to do a SSL connection. Here comes the pain: newWritten = SSL_write(mySocketsSsl[idx].ssl, data, (int) (size - written&...
- Sat Feb 20, 2010 8:48 am
- Forum: PSP Development
- Topic: Select() broken?
- Replies: 2
- Views: 7979
- Sat Feb 13, 2010 1:20 am
- Forum: PSP Development
- Topic: Select() broken?
- Replies: 2
- Views: 7979
Select() broken?
Hi guys, can someone confirm me that select() is broken? I use it for testing if a socket is ready to send and receive, and it always tell me that the socket is ready for reading and writing also if it is not. code: #define POLLIN 1 #define POLLOUT 2 #define POLLERR 4 #define POLLHUP POLLERR #define...
- Fri Feb 12, 2010 7:10 am
- Forum: PSP Development
- Topic: Libmsn porting: bus error exception
- Replies: 2
- Views: 7998
Libmsn porting: bus error exception
Hi guys, i have a problem i can't understand. I ported the libmsn to pspsdk, compiled -> ok. But when i execute it, at a certain points the psp shuts down with this exception: Exception details: Exception - Bus error (data) EPC - 08907450 / tform_test".text + 00007414 Ca...
- Thu Feb 11, 2010 8:22 am
- Forum: PSP Development
- Topic: Socket pools?
- Replies: 2
- Views: 8331
- Thu Feb 11, 2010 1:58 am
- Forum: PSP Development
- Topic: sceIoOpen failed to read my file...
- Replies: 12
- Views: 14574
- Thu Feb 11, 2010 1:41 am
- Forum: PSP Development
- Topic: sceIoOpen failed to read my file...
- Replies: 12
- Views: 14574
- Wed Feb 10, 2010 7:07 pm
- Forum: PSP Development
- Topic: Openssl for psp?
- Replies: 4
- Views: 3471
- Wed Feb 10, 2010 7:30 am
- Forum: PSP Development
- Topic: Socket pools?
- Replies: 2
- Views: 8331
Socket pools?
Hi guys,
i'm porting a msn library but i have a problem:
it uses socket polls (sys/poll.h) that is not in the pspsdk, can someone tell me if the pools work with the psp or if there is a way to get async sockets?
Thank,
Roby
i'm porting a msn library but i have a problem:
it uses socket polls (sys/poll.h) that is not in the pspsdk, can someone tell me if the pools work with the psp or if there is a way to get async sockets?
Thank,
Roby
- Sat Feb 06, 2010 1:57 am
- Forum: PSP Development
- Topic: Strange GU crash
- Replies: 4
- Views: 4389
- Fri Feb 05, 2010 8:51 pm
- Forum: PSP Development
- Topic: Strange GU crash
- Replies: 4
- Views: 4389
Does adding a sleep to the loop help? You'll need to yield to the other threads or the watchdog will reset the psp. Jim It doesn't. It crashes almost istantly, after 3-4 seconds, without showing nothing. A strange thing, is that also the printf doesn't show. (There are some printf in the init of in...
- Fri Feb 05, 2010 7:41 am
- Forum: PSP Development
- Topic: Openssl for psp?
- Replies: 4
- Views: 3471
I am using minimalist pspsdk, can you provide me a precompiled library with the headers?jojojoris wrote:Yes
2 actually
one in svn and one newwer one ported by me.
http://jojosoft.1free.ws
In the libs part.
- Fri Feb 05, 2010 7:39 am
- Forum: PSP Development
- Topic: Strange GU crash
- Replies: 4
- Views: 4389
Strange GU crash
Hi guys, i have a REAL strange thing with GU and intrafont. In practise, if i initialize the GU and render the scene in the main() function, then it's all ok (i can see the text of intrafont). But if i put the render code in another function, for example: while(1) { Platform...
- Fri Feb 05, 2010 6:36 am
- Forum: PSP Development
- Topic: Openssl for psp?
- Replies: 4
- Views: 3471
Openssl for psp?
Hi guys,
i'm porting a c++ lib for msn to psp, but a "little" problem blocks me.
The problem is:
it uses openssl, and AFAIK there isn't a openssl for psp, am i right?
i'm porting a c++ lib for msn to psp, but a "little" problem blocks me.
The problem is:
it uses openssl, and AFAIK there isn't a openssl for psp, am i right?
- Tue Feb 02, 2010 8:17 pm
- Forum: PSP Development
- Topic: Using GU for 2d rendering
- Replies: 2
- Views: 2785
Using GU for 2d rendering
Hey guys, i have a question.
Is there anywhere a sample for using the GU for 2d rendering?
I need to draw some buttons stored in bmp's, but i didn't find a sample on the pspsdk...
Is there anywhere a sample for using the GU for 2d rendering?
I need to draw some buttons stored in bmp's, but i didn't find a sample on the pspsdk...
- Fri Jan 08, 2010 11:05 pm
- Forum: PSP Development
- Topic: Connection to AP, nothing happens
- Replies: 6
- Views: 3780
- Fri Jan 08, 2010 10:35 pm
- Forum: PSP Development
- Topic: Connection to AP, nothing happens
- Replies: 6
- Views: 3780
Hi, quite interesting - what would be the purpose of such code ? However, if this is the case you would not need any callback setup i guess, but you need to call the exit method at the end of your code, which will end your homebrew as needed. Sending an HTML POST to a webpage :) regarding the text ...
- Fri Jan 08, 2010 9:40 pm
- Forum: PSP Development
- Topic: Connection to AP, nothing happens
- Replies: 6
- Views: 3780
- Fri Jan 08, 2010 6:31 pm
- Forum: PSP Development
- Topic: Connection to AP, nothing happens
- Replies: 6
- Views: 3780
Connection to AP, nothing happens
Hi guys, i'm making a little HB to test my lib. I want to: connect to AP->Send a POST to a site->Write answer from site->Quit This is the main (i'm omitting all the pspsdk includes): #include "common.h" PSP_MODULE_INFO("Platform_test", 0, 0, 71); int main(...
- Mon Oct 19, 2009 10:54 pm
- Forum: PSP Development
- Topic: Edit a savegame
- Replies: 2
- Views: 2436
Edit a savegame
How to edit a savegame?
Is it encrypted?
Is it checksummed?
I want to try to edit some game savegames
Thx for the answers =D
Is it encrypted?
Is it checksummed?
I want to try to edit some game savegames
Thx for the answers =D
- Sat Apr 11, 2009 3:50 am
- Forum: PSP Development
- Topic: Problem debugging with psplink and eclipse
- Replies: 1
- Views: 2270
Problem debugging with psplink and eclipse
Hi guys, i have the minimalist pspsdk and i configured eclipse to work with it... I'm trying to debug code, but i can't understand how.... I launch usbhost, psp-sh, then type "debug cube.prx" and press the eclipse debug button, the debu starts fine but i can't stop, pause or other things, ...
- Fri Apr 03, 2009 1:30 am
- Forum: PSP Development
- Topic: Get sio from remote
- Replies: 2
- Views: 2358
Get sio from remote
I cutted the remote controller of the psp to get the cables, i have a problem...i don't know what colours are for vcc, tx etc.
I have the slim connector, can someone help me? :(
edit:i fund ALL except the dground.....it seems not connected to the remote controller! why?
I have the slim connector, can someone help me? :(
edit:i fund ALL except the dground.....it seems not connected to the remote controller! why?
- Wed Apr 01, 2009 6:29 am
- Forum: PSP Development
- Topic: Studying sio port
- Replies: 4
- Views: 2481
- Tue Mar 31, 2009 2:49 am
- Forum: PSP Development
- Topic: Studying sio port
- Replies: 4
- Views: 2481
Studying sio port
Hi guys, i want to make a cool thing....use devices with the sio of the psp. I'm studying how it works, and i'm going to buy a pic to use with serial communication.....but i have a question: how does the port works in a psp program? I know there is a "putchar" function, but...will the devi...