Unassign/Assign flash0/1 problem on Slim PSP

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Slash
Posts: 26
Joined: Sun Jan 07, 2007 9:04 pm

Unassign/Assign flash0/1 problem on Slim PSP

Post by Slash »

I've heard problems about reassigning flashes on Slim PSP. Is this true? If so, is there a solution?
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

I have not had any problems in doing so.
You of course need the privileges to do it: vsh mode or kernel mode, user mode can't.
Slash
Posts: 26
Joined: Sun Jan 07, 2007 9:04 pm

Post by Slash »

moonlight wrote:I have not had any problems in doing so.
You of course need the privileges to do it: vsh mode or kernel mode, user mode can't.
I see. I'm trying to reassign flash0 and flash1 on a plugin so sometimes it works and sometimes it does not.
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

Slash wrote:
moonlight wrote:I have not had any problems in doing so.
You of course need the privileges to do it: vsh mode or kernel mode, user mode can't.
I see. I'm trying to reassign flash0 and flash1 on a plugin so sometimes it works and sometimes it does not.
Unassign can't work if a file descriptor of the flash device is opened in the system, even if is read only Maybe that's the problem if you have a plugin in the XMB.
Cpasjuste
Posts: 214
Joined: Sun May 29, 2005 8:28 am

Post by Cpasjuste »

Same here, can't reassign flash0 in write mode on psp slim while the same code is working on 1.50 kernel.

Edit : Was again an error in my code it's working :x
Slash
Posts: 26
Joined: Sun Jan 07, 2007 9:04 pm

Post by Slash »

Cpasjuste wrote:Same here, can't reassign flash0 in write mode on psp slim while the same code is working on 1.50 kernel.

Edit : Was again an error in my code it's working :x
If you're doing a plugin, try putting the flash0/1 assigning to the very top of your code. This works for me.
Cpasjuste
Posts: 214
Joined: Sun May 29, 2005 8:28 am

Post by Cpasjuste »

Thanks Slash. In fact was assigning "flash0" instead of "flash0:" ... :$
Post Reply