| View previous topic :: View next topic |
| Author |
Message |
roby65
Joined: 01 Jun 2008 Posts: 55 Location: Mid Italy
|
Posted: Tue Mar 31, 2009 2:49 am Post subject: 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 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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Tue Mar 31, 2009 7:13 am Post subject: |
|
|
| 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 |
|
 |
pegasus2000
Joined: 12 Jul 2006 Posts: 160
|
Posted: Wed Apr 01, 2009 4:35 am Post subject: |
|
|
| Nanodesktop SDK has native support for Serial I/O port. |
|
| Back to top |
|
 |
roby65
Joined: 01 Jun 2008 Posts: 55 Location: Mid Italy
|
Posted: Wed Apr 01, 2009 6:29 am Post subject: |
|
|
| 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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Wed Apr 01, 2009 8:04 am Post subject: |
|
|
| 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 |
|
 |
|