| View previous topic :: View next topic |
| Author |
Message |
darkness
Joined: 15 Jun 2008 Posts: 121
|
Posted: Thu Jun 19, 2008 9:58 pm Post subject: Flash 2 & 3... how to access? |
|
|
Hi,
I've try to access to the flash 2 & 3 in my hb, but the flash2 will be opened in readonly mode and if I try to open flash3 I've a error!
Here is the code:
| Code: |
sceIoUnassign("flash2");
sceIoAssign("flash2", "lflash2:0,0", "flashfat2:", IOASSIGN_RDWR, NULL, 0);
cd("flash2:/");
|
And for flash3:
| Code: |
sceIoUnassign("flash3");
sceIoAssign("flash3", "lflash3:0,0", "flashfat3:", IOASSIGN_RDWR, NULL,0);
cd("flash3:/");
|
I think the problem was the name!
I've searched but I've found nothing!
I've try to search in the string reference in the DAX recovery.prx, but I've found only the assign of the flash 1 and of the flash0! |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Thu Jun 19, 2008 10:01 pm Post subject: |
|
|
this should work for assigning.
| Code: | sceIoAssign("flash2:", "lflash0:0,2", "flashfat2:", IOASSIGN_RDWR, NULL, 0);
sceIoAssign("flash3:", "lflash0:0,3", "flashfat3:", IOASSIGN_RDWR, NULL, 0); |
_________________
Upgrade your PSP |
|
| Back to top |
|
 |
darkness
Joined: 15 Jun 2008 Posts: 121
|
Posted: Thu Jun 19, 2008 10:03 pm Post subject: |
|
|
| Thanks a lot Pirata Nervo and excuse me for the many post! |
|
| Back to top |
|
 |
darkness
Joined: 15 Jun 2008 Posts: 121
|
Posted: Thu Jun 19, 2008 10:12 pm Post subject: |
|
|
There is a error!
When I try to load flash3 nothing is changed!
And flash2 is in read only mode! |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Thu Jun 19, 2008 10:30 pm Post subject: |
|
|
well assign and unassign is not for usb ok? _________________
Upgrade your PSP |
|
| Back to top |
|
 |
darkness
Joined: 15 Jun 2008 Posts: 121
|
Posted: Thu Jun 19, 2008 10:48 pm Post subject: |
|
|
For the usb there is the DAX library ( pspusbdevice.h) and a assign it not useful for it!
I want open the flash 2 & 3 in my hb, for browse the file!
However, it not very important! |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Thu Jun 19, 2008 10:51 pm Post subject: |
|
|
Yes I was saying that this is not needed for USB.
I don't really know what to do for flash3 and I don't even know if the firmware allows you to assign and unassign it from user mode.
have you tried from kernel mode? _________________
Upgrade your PSP |
|
| Back to top |
|
 |
darkness
Joined: 15 Jun 2008 Posts: 121
|
Posted: Thu Jun 19, 2008 11:33 pm Post subject: |
|
|
No, I'haven't try, but is not important, I will not include this funct in my programm!
However thanks very much! |
|
| Back to top |
|
 |
|