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 

Studying sio port

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



Joined: 01 Jun 2008
Posts: 55
Location: Mid Italy

PostPosted: Tue Mar 31, 2009 2:49 am    Post subject: Studying sio port Reply with quote

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 device receive ONLY that, or also cmd etc? And about the device....what cmd to send?

My projects: use a pic to control one or more device by the psp, maybe with a background prx
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Tue Mar 31, 2009 7:13 am    Post subject: Reply with quote

You can find examples of using the serial in things like the pikey library. There's no software for the serial - you have to use a kernel mode prx that bangs on the serial hardware directly.
Back to top
View user's profile Send private message AIM Address
pegasus2000



Joined: 12 Jul 2006
Posts: 160

PostPosted: Wed Apr 01, 2009 4:35 am    Post subject: Reply with quote

Nanodesktop SDK has native support for Serial I/O port.
Back to top
View user's profile Send private message
roby65



Joined: 01 Jun 2008
Posts: 55
Location: Mid Italy

PostPosted: Wed Apr 01, 2009 6:29 am    Post subject: Reply with quote

i'm trying to see if the sio example in the pspsdk works with the remote control of the psp, but....why i must use a prx?
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Wed Apr 01, 2009 8:04 am    Post subject: Reply with quote

roby65 wrote:
i'm trying to see if the sio example in the pspsdk works with the remote control of the psp, but....why i must use a prx?


If you use old kernel mode 1.50 CFW homebrew, you don't. If you use the new compatible-with-anything user mode homebrew, you need to use a kernel mode prx. So it depends on who you're targeting - if you want this to run on Slims as well as Phats, you need to make the kernel mode prx for use with the user mode app.
Back to top
View user's profile Send private message AIM Address
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