USB mass support Issue
Posted: Wed Aug 16, 2006 6:32 pm
Hi all,
I just added USB support in my current software and have some problem with it. the PS2 is just blocking when I'm trying to access the device (either read the FAT or open a file).
I use/load the following IRXs :
And doing the following thing to initialize the USB mass support :
THe whole thing is loaded through ps2link (booted from the CC BootManager) and both IRXs report to be loaded/initialized correctly.
All are the last version from the SVN (SDK, ps2link, and including as well last changes made to USBD by Herben, etc...)
Additionaly, as I'm using eXtended modules, I modified the orignial mass_support IRX to use iomanX instead of the defaut ioman.h (changed the references in both the include and import list), and so loaded IOMANX at boot up as well (is it really needed ?).
I also noticed some weird thing if I load SIO2MAN and not XSIO2MAN, the version of usb_mass "becomes" version 0.30 (while the version I compile and see if i'm loading XSIO2MAN is the version 0.40), could it be a version embedded in the BM software ?
last but not least, i also tried to reset the IOP but it makes no differences.
thanks beforehands, I'm on it since 2 days, and it's getting me crazy !
I'm maybe dumb, but I don't see where i'm wrong....
I just added USB support in my current software and have some problem with it. the PS2 is just blocking when I'm trying to access the device (either read the FAT or open a file).
I use/load the following IRXs :
Code: Select all
XSIO2MAN
XPADMAN
IOMANX
USBD (from the PS2SDK)
USB_MASS
Code: Select all
int ret;
SifExecModuleBuffer(UsbdIrx_start, UsbdIrx_size, 0, NULL, &ret);
SifExecModuleBuffer(usb_massIrx_start, usb_massIrx_size, 0, NULL, &ret);
nopdelay();
ret = usb_mass_bindRpc();
if (ret < 0 )
printf("\nSifBindRpc failed: %d !!!!\n", ret);
else
printf("Usb Driver Initialized\n");
All are the last version from the SVN (SDK, ps2link, and including as well last changes made to USBD by Herben, etc...)
Additionaly, as I'm using eXtended modules, I modified the orignial mass_support IRX to use iomanX instead of the defaut ioman.h (changed the references in both the include and import list), and so loaded IOMANX at boot up as well (is it really needed ?).
I also noticed some weird thing if I load SIO2MAN and not XSIO2MAN, the version of usb_mass "becomes" version 0.30 (while the version I compile and see if i'm loading XSIO2MAN is the version 0.40), could it be a version embedded in the BM software ?
last but not least, i also tried to reset the IOP but it makes no differences.
thanks beforehands, I'm on it since 2 days, and it's getting me crazy !
I'm maybe dumb, but I don't see where i'm wrong....